Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001221/0.001221, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001219/0.00122, allocations: 199.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 247 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2107/0.2107, allocations: 46.11 MB / 344.3 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 88.02 kB / 480.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3346, allocations: 62.44 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002943/0.3376, allocations: 1.663 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.3393, allocations: 1.17 MB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.255e-05/0.3393, allocations: 1.094 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001859/0.3395, allocations: 24.41 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.3398, allocations: 89.45 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.3401, allocations: 129.5 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.3403, allocations: 80.62 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.435e-05/0.3404, allocations: 16.23 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.34e-05/0.3405, allocations: 30.86 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.3406, allocations: 42.77 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.3406, allocations: 5.5 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.3408, allocations: 96.19 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.017e-05/0.3409, allocations: 17.42 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.116e-05/0.3409, allocations: 33.34 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.3412, allocations: 144.8 kB / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3412, allocations: 0 / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3412, allocations: 1.375 kB / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.3412, allocations: 0 / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005535/0.3418, allocations: 434.2 kB / 0.5345 GB, free: 10.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3418, allocations: 9.625 kB / 0.5345 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.833e-05/0.3419, allocations: 36.12 kB / 0.5345 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/0.3419, allocations: 9.016 kB / 0.5346 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.3421, allocations: 197.8 kB / 0.5347 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.3421, allocations: 1.75 kB / 0.5347 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.3421, allocations: 11.08 kB / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.3423, allocations: 81.19 kB / 0.5348 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3423, allocations: 0 / 0.5348 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.3424, allocations: 0 / 0.5348 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3424, allocations: 1.375 kB / 0.5348 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.3425, allocations: 32.59 kB / 0.5349 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003723/0.3429, allocations: 297.2 kB / 0.5352 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.343, allocations: 50.88 kB / 0.5352 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.097e-05/0.3431, allocations: 20.12 kB / 0.5352 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.3431, allocations: 13.2 kB / 0.5352 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.3432, allocations: 31.72 kB / 0.5353 GB, free: 9.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3432, allocations: 0 / 0.5353 GB, free: 9.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007882/0.344, allocations: 215.3 kB / 0.5355 GB, free: 9.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.344, allocations: 78.42 kB / 0.5355 GB, free: 9.246 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.3442, allocations: 156.4 kB / 0.5357 GB, free: 9.113 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.3442, allocations: 25.7 kB / 0.5357 GB, free: 9.082 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.958e-05/0.3443, allocations: 99.53 kB / 0.5358 GB, free: 8.984 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.3443, allocations: 39.27 kB / 0.5358 GB, free: 8.949 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.3444, allocations: 19.25 kB / 0.5359 GB, free: 8.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3445, allocations: 325 kB / 0.5362 GB, free: 8.605 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.3446, allocations: 31.19 kB / 0.5362 GB, free: 8.594 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.3448, allocations: 46.41 kB / 0.5363 GB, free: 8.562 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.345, allocations: 76.17 kB / 0.5363 GB, free: 8.523 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.345, allocations: 1.344 kB / 0.5363 GB, free: 8.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00028/0.3453, allocations: 114 kB / 0.5364 GB, free: 8.453 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3453, allocations: 4.938 kB / 0.5364 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3453, allocations: 0.9375 kB / 0.5364 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3453, allocations: 4.969 kB / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.3455, allocations: 26.91 kB / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3455, allocations: 0 / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.334e-05/0.3455, allocations: 22.83 kB / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.3456, allocations: 2.438 kB / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.116e-05/0.3457, allocations: 113.8 kB / 0.5366 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.3457, allocations: 8.703 kB / 0.5366 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003287/0.346, allocations: 127.2 kB / 0.5367 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.346, allocations: 1.25 kB / 0.5367 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3461, allocations: 3.938 kB / 0.5367 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3461, allocations: 5.281 kB / 0.5367 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005431/0.3466, allocations: 396.4 kB / 0.5371 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3466, allocations: 0 / 0.5371 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.377e-05/0.3467, allocations: 19.17 kB / 0.5371 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3467, allocations: 1.406 kB / 0.5371 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.3467, allocations: 7.938 kB / 0.5371 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.3468, allocations: 1.281 kB / 0.5371 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3468, allocations: 3.938 kB / 0.5372 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.3471, allocations: 210.6 kB / 0.5374 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-05/0.3472, allocations: 83.75 kB / 0.5374 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.3472, allocations: 9.422 kB / 0.5374 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.624e-05/0.3473, allocations: 9.969 kB / 0.5375 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.3473, allocations: 6.922 kB / 0.5375 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.3473, allocations: 1.375 kB / 0.5375 GB, free: 7.527 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.3475, allocations: 126.3 kB / 0.5376 GB, free: 7.426 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3475, allocations: 4.969 kB / 0.5376 GB, free: 7.422 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003008/0.3478, allocations: 46.02 kB / 0.5376 GB, free: 7.402 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002152/0.3499, allocations: 1.122 MB / 0.5387 GB, free: 6.543 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003027/0.3502, allocations: 82.86 kB / 0.5388 GB, free: 6.508 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3502, allocations: 4.75 kB / 0.5388 GB, free: 6.504 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.3504, allocations: 45.47 kB / 0.5389 GB, free: 6.484 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.3507, allocations: 18.97 kB / 0.5389 GB, free: 6.477 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.3529, allocations: 1.588 MB / 0.5404 GB, free: 5.074 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.3532, allocations: 0.6962 MB / 0.5411 GB, free: 4.367 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.095e-05/0.3533, allocations: 26.52 kB / 0.5411 GB, free: 4.352 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.44e-05/0.3533, allocations: 31.33 kB / 0.5412 GB, free: 4.328 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3533, allocations: 0 / 0.5412 GB, free: 4.328 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02579/0.3791, allocations: 3.499 MB / 0.5446 GB, free: 2.348 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.796/8.175, allocations: 15.7 kB / 0.5446 GB, free: 2.34 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches