Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001291/0.001291, allocations: 80.05 kB / 20.72 MB, free: 3.77 MB / 18.57 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.001378/0.001378, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8321/0.8321, allocations: 158.6 MB / 186 MB, free: 2.75 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1199/0.1199, allocations: 32.38 MB / 270.7 MB, free: 14.59 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 4 kB / 299.1 MB, free: 2.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587e-05/1.804e-05, allocations: 2.312 kB / 299.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.1293/0.1293, allocations: 14.43 MB / 313.5 MB, free: 12.26 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009161/0.1385, allocations: 12.7 MB / 326.2 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.1387, allocations: 13.69 kB / 326.3 MB, free: 2.738 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003632/0.139, allocations: 135.8 kB / 326.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003802/0.1394, allocations: 280.3 kB / 326.7 MB, free: 2.395 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009585/0.149, allocations: 5.059 MB / 331.7 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006871/0.1497, allocations: 0.8576 MB / 332.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002793/0.15, allocations: 216.8 kB / 332.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002481/0.1524, allocations: 2.204 MB / 335 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.1527, allocations: 204.3 kB / 335.2 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.502e-05/0.1527, allocations: 28 kB / 335.2 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007654/0.1603, allocations: 6.325 MB / 341.5 MB, free: 3.711 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.584e-05/0.1604, allocations: 99.59 kB / 341.6 MB, free: 3.613 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.696e-05/0.1605, allocations: 135.7 kB / 341.8 MB, free: 3.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003936/0.1645, allocations: 4.545 MB / 346.3 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1645, allocations: 0 / 346.3 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1645, allocations: 0 / 346.3 MB, free: 14.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1645, allocations: 0 / 346.3 MB, free: 14.92 MB / 314.7 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.0009768/0.1654, allocations: 0.9063 MB / 347.2 MB, free: 13.99 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.764e-05/0.1655, allocations: 8.031 kB / 347.2 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008531/0.1663, allocations: 291.9 kB / 347.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.1666, allocations: 260.6 kB / 347.8 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.1666, allocations: 25.03 kB / 347.8 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.1666, allocations: 31.69 kB / 347.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005867/0.1672, allocations: 0.5911 MB / 348.4 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1672, allocations: 12.02 kB / 348.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.1673, allocations: 15.94 kB / 348.4 MB, free: 12.67 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1673, allocations: 4 kB / 348.4 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003865/0.1676, allocations: 260.8 kB / 348.7 MB, free: 12.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.1688, allocations: 1.538 MB / 350.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004818/0.1693, allocations: 250.3 kB / 350.5 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.314e-05/0.1694, allocations: 45.03 kB / 350.5 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1095/0.2788, allocations: 67.97 MB / 418.5 MB, free: 6.453 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.2789, allocations: 34.5 kB / 418.5 MB, free: 6.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 2.504e-06/0.2789, allocations: 0 / 418.5 MB, free: 6.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009099/0.2798, allocations: 367.4 kB / 418.9 MB, free: 6.047 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.2798, allocations: 106.8 kB / 419 MB, free: 5.918 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.28, allocations: 258.8 kB / 419.3 MB, free: 5.648 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.28, allocations: 33.7 kB / 419.3 MB, free: 5.609 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.566e-05/0.2801, allocations: 188.4 kB / 419.5 MB, free: 5.422 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.2801, allocations: 59.52 kB / 419.5 MB, free: 5.363 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-05/0.2802, allocations: 57.62 kB / 419.6 MB, free: 5.301 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.692e-05/0.2802, allocations: 342.8 kB / 419.9 MB, free: 4.957 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.774e-05/0.2803, allocations: 47.89 kB / 420 MB, free: 4.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.2804, allocations: 203.5 kB / 420.2 MB, free: 4.645 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.2805, allocations: 214.6 kB / 420.4 MB, free: 4.387 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2805, allocations: 3.938 kB / 420.4 MB, free: 4.383 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001872/0.2807, allocations: 211.3 kB / 420.6 MB, free: 4.172 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.2807, allocations: 4 kB / 420.6 MB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2808, allocations: 4.688 kB / 420.6 MB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.2808, allocations: 4 kB / 420.6 MB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.2809, allocations: 71.89 kB / 420.7 MB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2809, allocations: 4 kB / 420.7 MB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.837e-05/0.281, allocations: 36.17 kB / 420.7 MB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.281, allocations: 12 kB / 420.7 MB, free: 4.039 MB / 378.7 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 8.135e-05/0.2811, allocations: 134.3 kB / 420.9 MB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.2811, allocations: 34.95 kB / 420.9 MB, free: 3.867 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000469/0.2816, allocations: 0.6861 MB / 421.6 MB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.2816, allocations: 15.97 kB / 421.6 MB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.2816, allocations: 7.938 kB / 421.6 MB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2816, allocations: 4 kB / 421.6 MB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.2819, allocations: 377.9 kB / 422 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2819, allocations: 3.438 kB / 422 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.888e-05/0.282, allocations: 35.97 kB / 422 MB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.282, allocations: 7.938 kB / 422 MB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.282, allocations: 11.92 kB / 422 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.282, allocations: 0 / 422 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.282, allocations: 0 / 422 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.2822, allocations: 432.6 kB / 422.4 MB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.98e-05/0.2823, allocations: 51.53 kB / 422.5 MB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.2823, allocations: 19.78 kB / 422.5 MB, free: 2.199 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.61e-05/0.2824, allocations: 12 kB / 422.5 MB, free: 2.188 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.2824, allocations: 23.95 kB / 422.6 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.2824, allocations: 0 / 422.6 MB, free: 2.164 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.759e-05/0.2825, allocations: 160.7 kB / 422.7 MB, free: 2.008 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2825, allocations: 4 kB / 422.7 MB, free: 2.004 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001318/0.2838, allocations: 0.8577 MB / 423.6 MB, free: 1.145 MB / 378.7 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.002099/0.2859, allocations: 1.181 MB / 424.8 MB, free: 15.97 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001926/0.2861, allocations: 165.2 kB / 424.9 MB, free: 15.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.2861, allocations: 4 kB / 424.9 MB, free: 15.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.436e-05/0.2862, allocations: 106.9 kB / 425 MB, free: 15.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.2866, allocations: 163.7 kB / 425.2 MB, free: 15.55 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.2877, allocations: 0.9234 MB / 426.1 MB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.706e-05/0.2878, allocations: 134.7 kB / 426.2 MB, free: 14.43 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001737/0.288, allocations: 184.5 kB / 426.4 MB, free: 14.26 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.2882, allocations: 165.2 kB / 426.6 MB, free: 14.09 MB / 394.7 MB Notification: Performance of SimCode: time 6.52e-07/0.2882, allocations: 0 / 426.6 MB, free: 14.09 MB / 394.7 MB Notification: Performance of Templates: time 0.1494/0.4376, allocations: 38.27 MB / 464.9 MB, free: 120.5 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.5333598321303725]