Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00194/0.00194, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002047/0.002047, allocations: 210.7 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.613/1.613, allocations: 230.6 MB / 257.5 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3038/0.3038, allocations: 46.95 MB / 360.9 MB, free: 4.32 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 71.89 kB / 0.4966 GB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.39, allocations: 66.03 MB / 0.5611 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.04898/0.439, allocations: 30.66 MB / 0.5911 GB, free: 5.641 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03198/0.4709, allocations: 17.78 MB / 0.6084 GB, free: 3.801 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006374/0.4716, allocations: 11.88 kB / 0.6084 GB, free: 3.789 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009701/0.4725, allocations: 218.6 kB / 0.6087 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009379/0.4735, allocations: 290.3 kB / 0.6089 GB, free: 3.289 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01805/0.4915, allocations: 6.065 MB / 0.6149 GB, free: 13.22 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00157/0.4931, allocations: 0.8537 MB / 0.6157 GB, free: 12.37 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004123/0.4935, allocations: 204.9 kB / 0.6159 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01212/0.5056, allocations: 5.497 MB / 0.6212 GB, free: 6.586 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005365/0.5062, allocations: 255 kB / 0.6215 GB, free: 6.336 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.369e-05/0.5062, allocations: 32 kB / 0.6215 GB, free: 6.305 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01302/0.5192, allocations: 6.357 MB / 0.6277 GB, free: 15.94 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002221/0.5195, allocations: 91.67 kB / 0.6278 GB, free: 15.85 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003552/0.5198, allocations: 191.1 kB / 0.628 GB, free: 15.66 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01018/0.53, allocations: 3.862 MB / 0.6318 GB, free: 11.79 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/0.53, allocations: 4 kB / 0.6318 GB, free: 11.79 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.53, allocations: 3.938 kB / 0.6318 GB, free: 11.79 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.906e-05/0.53, allocations: 3.938 kB / 0.6318 GB, free: 11.78 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.002755/0.5328, allocations: 1.005 MB / 0.6328 GB, free: 10.74 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.5328, allocations: 12.03 kB / 0.6328 GB, free: 10.73 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001664/0.5345, allocations: 200.5 kB / 0.633 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000639/0.5351, allocations: 288.9 kB / 0.6332 GB, free: 10.23 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.911e-05/0.5352, allocations: 21.03 kB / 0.6333 GB, free: 10.2 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/0.5352, allocations: 28.31 kB / 0.6333 GB, free: 10.18 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.5365, allocations: 496 kB / 0.6338 GB, free: 9.652 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.5365, allocations: 0 / 0.6338 GB, free: 9.652 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/0.5366, allocations: 12 kB / 0.6338 GB, free: 9.641 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/0.5366, allocations: 11.98 kB / 0.6338 GB, free: 9.629 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.5378, allocations: 413.2 kB / 0.6342 GB, free: 9.227 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003469/0.5413, allocations: 2.241 MB / 0.6364 GB, free: 6.816 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.5425, allocations: 314.3 kB / 0.6367 GB, free: 6.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003021/0.5428, allocations: 104.8 kB / 0.6368 GB, free: 6.395 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03309/0.5759, allocations: 8.831 MB / 0.6454 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/0.576, allocations: 38.5 kB / 0.6454 GB, free: 13.51 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 2.976e-06/0.576, allocations: 0 / 0.6454 GB, free: 13.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.00228/0.5782, allocations: 0.5272 MB / 0.6459 GB, free: 12.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.624e-05/0.5783, allocations: 102.8 kB / 0.646 GB, free: 12.85 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004855/0.5788, allocations: 328.4 kB / 0.6464 GB, free: 12.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.5789, allocations: 29.7 kB / 0.6464 GB, free: 12.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.579, allocations: 208.1 kB / 0.6466 GB, free: 12.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.72e-05/0.5791, allocations: 55.58 kB / 0.6466 GB, free: 12.22 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.5792, allocations: 73.64 kB / 0.6467 GB, free: 12.14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.5794, allocations: 334.8 kB / 0.647 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.5797, allocations: 99.86 kB / 0.6471 GB, free: 11.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/0.5801, allocations: 203.4 kB / 0.6473 GB, free: 11.45 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007052/0.5808, allocations: 301.4 kB / 0.6476 GB, free: 11.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.5808, allocations: 3.938 kB / 0.6476 GB, free: 11.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009165/0.5817, allocations: 336 kB / 0.6479 GB, free: 10.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.5818, allocations: 8 kB / 0.6479 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.5818, allocations: 4 kB / 0.6479 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.5818, allocations: 7.938 kB / 0.6479 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.5821, allocations: 71.89 kB / 0.648 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.5821, allocations: 4.469 kB / 0.648 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.5824, allocations: 51.75 kB / 0.6481 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.5825, allocations: 11.94 kB / 0.6481 GB, free: 10.62 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_2.medium.phase,boundary_prescriberho_1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 0.0002119/0.5827, allocations: 161.6 kB / 0.6482 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.98e-05/0.5828, allocations: 35.77 kB / 0.6483 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/0.5845, allocations: 1.141 MB / 0.6494 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.173e-05/0.5845, allocations: 15.97 kB / 0.6494 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5845, allocations: 3.938 kB / 0.6494 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.5845, allocations: 4 kB / 0.6494 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000927/0.5854, allocations: 0.6514 MB / 0.65 GB, free: 8.547 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.5855, allocations: 0 / 0.65 GB, free: 8.547 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/0.5857, allocations: 51.89 kB / 0.6501 GB, free: 8.496 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.5857, allocations: 4 kB / 0.6501 GB, free: 8.492 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.5857, allocations: 11.92 kB / 0.6501 GB, free: 8.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.5857, allocations: 4 kB / 0.6501 GB, free: 8.477 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.5857, allocations: 0 / 0.6501 GB, free: 8.477 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.5868, allocations: 0.6391 MB / 0.6507 GB, free: 7.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.5869, allocations: 59.47 kB / 0.6508 GB, free: 7.762 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.758e-05/0.587, allocations: 27.78 kB / 0.6508 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.5873, allocations: 11.98 kB / 0.6508 GB, free: 7.723 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.494e-05/0.5874, allocations: 23.95 kB / 0.6508 GB, free: 7.699 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.5874, allocations: 16 kB / 0.6509 GB, free: 7.684 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004499/0.5878, allocations: 342.8 kB / 0.6512 GB, free: 7.348 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5878, allocations: 0 / 0.6512 GB, free: 7.348 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002809/0.5906, allocations: 0.8538 MB / 0.652 GB, free: 6.492 MB / 494.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: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.004504/0.5951, allocations: 1.001 MB / 0.653 GB, free: 5.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009534/0.5961, allocations: 349.2 kB / 0.6533 GB, free: 5.141 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5961, allocations: 4 kB / 0.6533 GB, free: 5.137 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000428/0.5965, allocations: 212.5 kB / 0.6535 GB, free: 4.926 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.5977, allocations: 196.2 kB / 0.6537 GB, free: 4.742 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.5996, allocations: 1.048 MB / 0.6548 GB, free: 3.668 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005871/0.6001, allocations: 0.8798 MB / 0.6556 GB, free: 2.762 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004282/0.6006, allocations: 185.7 kB / 0.6558 GB, free: 2.582 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.221e-05/0.6007, allocations: 35.42 kB / 0.6558 GB, free: 2.547 MB / 494.1 MB Notification: Performance of SimCode: time 9.12e-07/0.6007, allocations: 0 / 0.6558 GB, free: 2.547 MB / 494.1 MB Notification: Performance of Templates: time 0.05861/0.6593, allocations: 35.05 MB / 0.6901 GB, free: 15.54 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.187319196062163]