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.0007724/0.0007724, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009757/0.001748, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006766/0.0006766, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008225/0.001499, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9681/0.9681, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1031/1.071, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.2632/0.2632, allocations: 34.25 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02254/0.2857, allocations: 13.1 MB / 291.3 MB, free: 7.363 MB / 282.7 MB " [Timeout remaining time 180] 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 2.064e-06/2.064e-06, allocations: 0 / 292.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.962e-05, allocations: 8.734 kB / 292.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.01454/0.01457, allocations: 14.61 MB / 307.2 MB, free: 7.637 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.02478, allocations: 12.8 MB / 320 MB, free: 10.79 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002226/0.025, allocations: 19.81 kB / 320.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.02531, allocations: 131.1 kB / 320.2 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004079/0.02572, allocations: 298 kB / 320.5 MB, free: 10.35 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008907/0.03463, allocations: 5.058 MB / 325.5 MB, free: 5.27 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006948/0.03532, allocations: 0.8692 MB / 326.4 MB, free: 4.398 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002582/0.03558, allocations: 213.2 kB / 326.6 MB, free: 4.188 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002711/0.03829, allocations: 1.886 MB / 328.5 MB, free: 2.289 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.03849, allocations: 207.4 kB / 328.7 MB, free: 2.086 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.504e-05/0.03852, allocations: 28 kB / 328.7 MB, free: 2.059 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007087/0.04561, allocations: 6.352 MB / 335.1 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.299e-05/0.04569, allocations: 75.78 kB / 335.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.04579, allocations: 115.8 kB / 335.3 MB, free: 11.51 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003568/0.04936, allocations: 3.458 MB / 338.7 MB, free: 8.047 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.171e-05/0.04937, allocations: 0 / 338.7 MB, free: 8.047 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.04938, allocations: 0 / 338.7 MB, free: 8.047 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.04939, allocations: 0 / 338.7 MB, free: 8.047 MB / 330.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.001336/0.05072, allocations: 1.199 MB / 339.9 MB, free: 6.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.05076, allocations: 8.625 kB / 339.9 MB, free: 6.812 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009/0.05166, allocations: 377.1 kB / 340.3 MB, free: 6.426 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.05197, allocations: 276.5 kB / 340.6 MB, free: 6.125 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.05199, allocations: 21.03 kB / 340.6 MB, free: 6.105 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.05202, allocations: 24.38 kB / 340.6 MB, free: 6.082 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006121/0.05263, allocations: 0.597 MB / 341.2 MB, free: 5.406 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.05264, allocations: 192 / 341.2 MB, free: 5.406 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.05266, allocations: 15.94 kB / 341.2 MB, free: 5.391 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.05267, allocations: 11.98 kB / 341.2 MB, free: 5.379 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003814/0.05305, allocations: 260.7 kB / 341.5 MB, free: 5.125 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.05432, allocations: 1.534 MB / 343 MB, free: 3.527 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004843/0.05481, allocations: 256.4 kB / 343.3 MB, free: 3.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.237e-05/0.05485, allocations: 36.83 kB / 343.3 MB, free: 3.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1082/0.1631, allocations: 68.06 MB / 411.4 MB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.1631, allocations: 42.56 kB / 411.4 MB, free: 15.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.744e-06/0.1631, allocations: 0 / 411.4 MB, free: 15.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.000857/0.164, allocations: 354.3 kB / 411.8 MB, free: 14.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.164, allocations: 63.28 kB / 411.8 MB, free: 14.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.1642, allocations: 266.8 kB / 412.1 MB, free: 14.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.1642, allocations: 29.7 kB / 412.1 MB, free: 14.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.1643, allocations: 200.4 kB / 412.3 MB, free: 14.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.1644, allocations: 51.58 kB / 412.4 MB, free: 14.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.696e-05/0.1644, allocations: 57.69 kB / 412.4 MB, free: 13.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1645, allocations: 338.8 kB / 412.7 MB, free: 13.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.208e-05/0.1646, allocations: 41.95 kB / 412.8 MB, free: 13.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.1647, allocations: 214.1 kB / 413 MB, free: 13.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.1649, allocations: 206.5 kB / 413.2 MB, free: 13.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.1649, allocations: 7.938 kB / 413.2 MB, free: 13.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002186/0.1651, allocations: 205.2 kB / 413.4 MB, free: 12.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.1651, allocations: 8 kB / 413.4 MB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.1652, allocations: 4 kB / 413.4 MB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1652, allocations: 4 kB / 413.4 MB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.1653, allocations: 72.36 kB / 413.5 MB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1653, allocations: 15.92 kB / 413.5 MB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.1655, allocations: 31.78 kB / 413.5 MB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.1655, allocations: 12 kB / 413.5 MB, free: 12.73 MB / 410.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 0.0001096/0.1656, allocations: 136.5 kB / 413.7 MB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/0.1656, allocations: 15.98 kB / 413.7 MB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006025/0.1662, allocations: 0.7083 MB / 414.4 MB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.1662, allocations: 19.97 kB / 414.4 MB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1662, allocations: 0 / 414.4 MB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.1662, allocations: 3.984 kB / 414.4 MB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003703/0.1666, allocations: 377.9 kB / 414.8 MB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.1666, allocations: 0 / 414.8 MB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.941e-05/0.1667, allocations: 47.91 kB / 414.8 MB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.177e-05/0.1668, allocations: 55.42 kB / 414.9 MB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1668, allocations: 0 / 414.9 MB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.1668, allocations: 0 / 414.9 MB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1668, allocations: 8 kB / 414.9 MB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1668, allocations: 0 / 414.9 MB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.1671, allocations: 428.6 kB / 415.3 MB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.414e-05/0.1671, allocations: 27.83 kB / 415.4 MB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.563e-05/0.1672, allocations: 11.94 kB / 415.4 MB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.1672, allocations: 19.95 kB / 415.4 MB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.1672, allocations: 8 kB / 415.4 MB, free: 10.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001141/0.1674, allocations: 164.7 kB / 415.6 MB, free: 10.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1674, allocations: 0 / 415.6 MB, free: 10.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001986/0.1693, allocations: 0.8616 MB / 416.4 MB, free: 9.801 MB / 410.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.002318/0.1717, allocations: 1.16 MB / 417.6 MB, free: 8.629 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002339/0.1719, allocations: 181 kB / 417.7 MB, free: 8.449 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.336e-05/0.1719, allocations: 8.938 kB / 417.8 MB, free: 8.441 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.515e-05/0.172, allocations: 97.11 kB / 417.9 MB, free: 8.348 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.1725, allocations: 216.9 kB / 418.1 MB, free: 8.148 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003997/0.1765, allocations: 0.9471 MB / 419 MB, free: 7.164 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.678e-05/0.1765, allocations: 138.6 kB / 419.1 MB, free: 7.008 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001948/0.1767, allocations: 171.4 kB / 419.3 MB, free: 6.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.177, allocations: 165.2 kB / 419.5 MB, free: 6.676 MB / 410.7 MB Notification: Performance of SimCode: time 1.402e-06/0.177, allocations: 0 / 419.5 MB, free: 6.676 MB / 410.7 MB Notification: Performance of Templates: time 0.1684/0.3453, allocations: 38.62 MB / 458.1 MB, free: 109.7 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 240] 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","",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.3215173641219735]