Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001409/0.001409, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001742/0.001742, allocations: 165.3 kB / 25.61 MB, free: 8.578 MB / 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.9693/0.9693, allocations: 177.1 MB / 206 MB, free: 4.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1404/0.1404, allocations: 32.8 MB / 295.4 MB, free: 15.36 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153e-05/1.309e-05, allocations: 2.312 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.01/0.01002, allocations: 14.39 MB / 391.6 MB, free: 11.15 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008715/0.01873, allocations: 12.55 MB / 404.2 MB, free: 14.55 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002359/0.01897, allocations: 11.88 kB / 404.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004074/0.01937, allocations: 131 kB / 404.3 MB, free: 14.41 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004541/0.01983, allocations: 294.1 kB / 404.6 MB, free: 14.12 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01015/0.02998, allocations: 5.558 MB / 410.2 MB, free: 8.543 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008361/0.03082, allocations: 0.8731 MB / 411.1 MB, free: 7.668 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002945/0.03111, allocations: 205.3 kB / 411.3 MB, free: 7.465 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002967/0.03408, allocations: 2.216 MB / 413.5 MB, free: 5.223 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000244/0.03432, allocations: 219.3 kB / 413.7 MB, free: 5.008 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.971e-05/0.03436, allocations: 32 kB / 413.7 MB, free: 4.977 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007339/0.0417, allocations: 5.931 MB / 419.6 MB, free: 15.04 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.04181, allocations: 91.66 kB / 419.7 MB, free: 14.95 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.04193, allocations: 143.7 kB / 419.9 MB, free: 14.81 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007858/0.04979, allocations: 4.549 MB / 424.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.04979, allocations: 4 kB / 424.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.04979, allocations: 0 / 424.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.0498, allocations: 0 / 424.4 MB, free: 10.25 MB / 346.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.001976/0.05178, allocations: 1.05 MB / 425.5 MB, free: 9.156 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.05181, allocations: 11.98 kB / 425.5 MB, free: 9.145 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009655/0.05278, allocations: 279.7 kB / 425.8 MB, free: 8.871 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.0531, allocations: 295.4 kB / 426.1 MB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.05313, allocations: 21.03 kB / 426.1 MB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.05316, allocations: 32.38 kB / 426.1 MB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007228/0.05389, allocations: 0.6082 MB / 426.7 MB, free: 7.801 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.0539, allocations: 4.125 kB / 426.7 MB, free: 7.797 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.05392, allocations: 15.94 kB / 426.7 MB, free: 7.781 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.05393, allocations: 12 kB / 426.7 MB, free: 7.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004631/0.0544, allocations: 267 kB / 427 MB, free: 7.512 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.05599, allocations: 2.163 MB / 429.2 MB, free: 5.258 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005077/0.05649, allocations: 266.7 kB / 429.4 MB, free: 4.984 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.925e-05/0.05654, allocations: 39.66 kB / 429.5 MB, free: 4.941 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01346/0.07001, allocations: 7.748 MB / 437.2 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.07003, allocations: 41.39 kB / 437.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.07004, allocations: 3.938 kB / 437.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007714/0.07081, allocations: 396.8 kB / 437.6 MB, free: 12.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.07085, allocations: 106.8 kB / 437.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.07103, allocations: 318.1 kB / 438.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.07105, allocations: 33.69 kB / 438.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.07117, allocations: 262.6 kB / 438.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.0712, allocations: 59.52 kB / 438.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-05/0.07127, allocations: 67.33 kB / 438.5 MB, free: 11.85 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.0714, allocations: 0.5078 MB / 439 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.32e-05/0.07146, allocations: 43.89 kB / 439 MB, free: 11.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.07161, allocations: 270.7 kB / 439.3 MB, free: 10.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.0718, allocations: 259.6 kB / 439.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.0718, allocations: 4 kB / 439.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002515/0.07205, allocations: 245.4 kB / 439.8 MB, free: 10.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.07207, allocations: 12.06 kB / 439.8 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.07208, allocations: 4 kB / 439.8 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.07209, allocations: 4 kB / 439.8 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.07221, allocations: 63.91 kB / 439.9 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.07222, allocations: 7.984 kB / 439.9 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.07232, allocations: 35.78 kB / 439.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.07234, allocations: 12 kB / 439.9 MB, free: 10.23 MB / 362.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.000104/0.07244, allocations: 188.4 kB / 440.1 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/0.07248, allocations: 31.86 kB / 440.1 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005474/0.07303, allocations: 0.6953 MB / 440.8 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.07304, allocations: 15.97 kB / 440.8 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.07304, allocations: 0 / 440.8 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.07304, allocations: 3.938 kB / 440.9 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.07335, allocations: 416.1 kB / 441.3 MB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.07335, allocations: 0 / 441.3 MB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.921e-05/0.07343, allocations: 43.91 kB / 441.3 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.07343, allocations: 0 / 441.3 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.07344, allocations: 8 kB / 441.3 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.07344, allocations: 0 / 441.3 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.07344, allocations: 0 / 441.3 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.07378, allocations: 496.5 kB / 441.8 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.691e-05/0.07382, allocations: 51.58 kB / 441.8 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.07385, allocations: 27.73 kB / 441.9 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.35e-05/0.07393, allocations: 19.98 kB / 441.9 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.07398, allocations: 15.97 kB / 441.9 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.07399, allocations: 7.984 kB / 441.9 MB, free: 8.168 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001487/0.07414, allocations: 287 kB / 442.2 MB, free: 7.887 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07414, allocations: 0 / 442.2 MB, free: 7.887 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001693/0.07583, allocations: 0.8616 MB / 443.1 MB, free: 7.023 MB / 362.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.00219/0.07802, allocations: 1.14 MB / 444.2 MB, free: 5.875 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002267/0.07825, allocations: 178.1 kB / 444.4 MB, free: 5.699 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.07825, allocations: 3.984 kB / 444.4 MB, free: 5.695 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.903e-05/0.07835, allocations: 113.5 kB / 444.5 MB, free: 5.582 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.07882, allocations: 174.6 kB / 444.7 MB, free: 5.426 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.07993, allocations: 0.9109 MB / 445.6 MB, free: 4.473 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.744e-05/0.08, allocations: 134.7 kB / 445.7 MB, free: 4.324 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002064/0.08021, allocations: 178.7 kB / 445.9 MB, free: 4.152 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/0.0805, allocations: 214 kB / 446.1 MB, free: 3.941 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.0805, allocations: 0 / 446.1 MB, free: 3.941 MB / 362.7 MB Notification: Performance of Templates: time 0.03566/0.1162, allocations: 39.31 MB / 485.4 MB, free: 12.75 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.250852394849062]