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.001439/0.001439, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001597/0.001597, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 18.57 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.9666/0.9666, allocations: 177.2 MB / 205 MB, free: 5.277 MB / 186.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.2782/0.2782, allocations: 34.26 MB / 295.7 MB, free: 0.7148 MB / 266.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 1.523e-06/1.523e-06, allocations: 0 / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.552e-05/2.704e-05, allocations: 2.312 kB / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.01389/0.01391, allocations: 14.56 MB / 392.6 MB, free: 4.047 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01146/0.02538, allocations: 12.75 MB / 405.3 MB, free: 7.254 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002593/0.02564, allocations: 19.81 kB / 405.4 MB, free: 7.234 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005009/0.02614, allocations: 131 kB / 405.5 MB, free: 7.105 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006002/0.02674, allocations: 294 kB / 405.8 MB, free: 6.816 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01181/0.03855, allocations: 5.558 MB / 411.3 MB, free: 1.238 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001026/0.03957, allocations: 0.8731 MB / 412.2 MB, free: 368 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004565/0.04003, allocations: 216.5 kB / 412.4 MB, free: 152 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003332/0.04336, allocations: 2.216 MB / 414.6 MB, free: 13.91 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.04365, allocations: 219.4 kB / 414.8 MB, free: 13.69 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.02e-05/0.04369, allocations: 28 kB / 414.9 MB, free: 13.66 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00844/0.05213, allocations: 5.931 MB / 420.8 MB, free: 7.727 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.05224, allocations: 95.66 kB / 420.9 MB, free: 7.633 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.05238, allocations: 139.7 kB / 421 MB, free: 7.496 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00659/0.05897, allocations: 4.56 MB / 425.6 MB, free: 2.926 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.05897, allocations: 0 / 425.6 MB, free: 2.926 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.05898, allocations: 4 kB / 425.6 MB, free: 2.922 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.05898, allocations: 0 / 425.6 MB, free: 2.922 MB / 394.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.002013/0.061, allocations: 1.043 MB / 426.6 MB, free: 1.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.06104, allocations: 12.03 kB / 426.6 MB, free: 1.828 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009275/0.06197, allocations: 271.8 kB / 426.9 MB, free: 1.562 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.06232, allocations: 303.3 kB / 427.2 MB, free: 1.238 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.06235, allocations: 29.02 kB / 427.2 MB, free: 1.211 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.06238, allocations: 28.38 kB / 427.3 MB, free: 1.184 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007217/0.0631, allocations: 0.616 MB / 427.9 MB, free: 488 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.06311, allocations: 4.125 kB / 427.9 MB, free: 484 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.06314, allocations: 15.94 kB / 427.9 MB, free: 468 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.06315, allocations: 8 kB / 427.9 MB, free: 460 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004834/0.06364, allocations: 290.6 kB / 428.2 MB, free: 168 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/0.06547, allocations: 2.218 MB / 430.4 MB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005614/0.06603, allocations: 282.7 kB / 430.7 MB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.974e-05/0.0661, allocations: 43.67 kB / 430.7 MB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01482/0.08092, allocations: 8.863 MB / 439.6 MB, free: 4.648 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.08096, allocations: 41.39 kB / 439.6 MB, free: 4.598 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.08096, allocations: 3.938 kB / 439.6 MB, free: 4.594 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008194/0.08178, allocations: 412.3 kB / 440 MB, free: 4.188 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.08183, allocations: 102.8 kB / 440.1 MB, free: 4.062 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.08203, allocations: 318.2 kB / 440.5 MB, free: 3.738 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.08205, allocations: 29.7 kB / 440.5 MB, free: 3.703 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.08218, allocations: 274.6 kB / 440.7 MB, free: 3.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.08221, allocations: 55.53 kB / 440.8 MB, free: 3.375 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-05/0.08228, allocations: 67.34 kB / 440.9 MB, free: 3.301 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.0824, allocations: 0.5117 MB / 441.4 MB, free: 2.777 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.095e-05/0.08247, allocations: 47.89 kB / 441.4 MB, free: 2.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.08263, allocations: 270.2 kB / 441.7 MB, free: 2.379 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.08285, allocations: 266.6 kB / 442 MB, free: 2.051 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.08285, allocations: 0 / 442 MB, free: 2.051 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002927/0.08314, allocations: 268 kB / 442.2 MB, free: 1.785 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.08316, allocations: 8 kB / 442.2 MB, free: 1.777 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.08317, allocations: 4 kB / 442.2 MB, free: 1.773 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.08318, allocations: 4 kB / 442.2 MB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.08332, allocations: 64.38 kB / 442.3 MB, free: 1.707 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.08333, allocations: 11.98 kB / 442.3 MB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.08343, allocations: 39.72 kB / 442.3 MB, free: 1.656 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.08344, allocations: 8 kB / 442.4 MB, free: 1.648 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.0001038/0.08355, allocations: 180.4 kB / 442.5 MB, free: 1.461 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/0.08359, allocations: 31.86 kB / 442.6 MB, free: 1.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006186/0.08421, allocations: 0.754 MB / 443.3 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.08422, allocations: 15.97 kB / 443.3 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.08422, allocations: 0 / 443.3 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.08423, allocations: 0 / 443.3 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003563/0.08458, allocations: 487.5 kB / 443.8 MB, free: 140 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.08459, allocations: 0 / 443.8 MB, free: 140 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.57e-05/0.08467, allocations: 43.91 kB / 443.8 MB, free: 96 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.08468, allocations: 4 kB / 443.9 MB, free: 92 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.08469, allocations: 0 / 443.9 MB, free: 92 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.08469, allocations: 4 kB / 443.9 MB, free: 88 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.08469, allocations: 0 / 443.9 MB, free: 88 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1553/0.24, allocations: 0.5173 MB / 444.4 MB, free: 75.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/0.24, allocations: 50.95 kB / 444.4 MB, free: 75.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.2401, allocations: 23.84 kB / 444.4 MB, free: 75.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.61e-05/0.2402, allocations: 11.22 kB / 444.5 MB, free: 75.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/0.2402, allocations: 21.34 kB / 444.5 MB, free: 75.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.2402, allocations: 12.36 kB / 444.5 MB, free: 75.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001675/0.2404, allocations: 305.4 kB / 444.8 MB, free: 75.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2404, allocations: 0.625 kB / 444.8 MB, free: 75.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001572/0.242, allocations: 0.8624 MB / 445.6 MB, free: 75.5 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.002187/0.2442, allocations: 1.098 MB / 446.7 MB, free: 75.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002795/0.2444, allocations: 205.2 kB / 446.9 MB, free: 75.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2444, allocations: 0 / 446.9 MB, free: 75.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.2446, allocations: 126.9 kB / 447.1 MB, free: 75.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.245, allocations: 163.3 kB / 447.2 MB, free: 75.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.2461, allocations: 0.9393 MB / 448.2 MB, free: 74.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.881e-05/0.2461, allocations: 137.9 kB / 448.3 MB, free: 74.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000183/0.2463, allocations: 176.9 kB / 448.5 MB, free: 74.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/0.2464, allocations: 37.2 kB / 448.5 MB, free: 74.87 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.2464, allocations: 1.781 kB / 448.5 MB, free: 74.87 MB / 410.7 MB Notification: Performance of Templates: time 0.03604/0.2824, allocations: 40.13 MB / 488.6 MB, free: 66.2 MB / 410.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 -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: 5.459467405918986]