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.0009543/0.0009543, allocations: 79.92 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.001036/0.001036, allocations: 169 kB / 24.14 MB, free: 360 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.8299/0.8299, allocations: 158.6 MB / 186 MB, free: 2.77 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.1221/0.1221, allocations: 32.38 MB / 270.7 MB, free: 14.61 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 1.353e-06/1.353e-06, allocations: 0 / 299.1 MB, free: 2.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119e-05/1.254e-05, allocations: 2.312 kB / 299.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.1336/0.1336, allocations: 14.38 MB / 313.4 MB, free: 12.35 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009866/0.1435, allocations: 12.71 MB / 326.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002026/0.1437, allocations: 12.91 kB / 326.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003826/0.1441, allocations: 126.4 kB / 326.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004249/0.1445, allocations: 292.9 kB / 326.6 MB, free: 2.469 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01138/0.1559, allocations: 5.561 MB / 332.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000788/0.1567, allocations: 0.8692 MB / 333 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002834/0.157, allocations: 216.8 kB / 333.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002884/0.1599, allocations: 2.212 MB / 335.4 MB, free: 9.836 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.1601, allocations: 203.3 kB / 335.6 MB, free: 9.637 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.1601, allocations: 32 kB / 335.7 MB, free: 9.605 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007585/0.1677, allocations: 5.907 MB / 341.6 MB, free: 3.691 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.1678, allocations: 99.66 kB / 341.7 MB, free: 3.594 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.168, allocations: 135.7 kB / 341.8 MB, free: 3.461 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00609/0.1741, allocations: 4.537 MB / 346.3 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1741, allocations: 0 / 346.3 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1741, allocations: 3.984 kB / 346.3 MB, free: 14.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1741, allocations: 4 kB / 346.3 MB, free: 14.9 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.001554/0.1756, allocations: 0.9025 MB / 347.2 MB, free: 13.97 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.1757, allocations: 11.97 kB / 347.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008397/0.1765, allocations: 289.2 kB / 347.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.1768, allocations: 264.6 kB / 347.8 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.1768, allocations: 25.03 kB / 347.8 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.1768, allocations: 28.38 kB / 347.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006479/0.1775, allocations: 0.5917 MB / 348.4 MB, free: 12.67 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1775, allocations: 192 / 348.4 MB, free: 12.67 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.1775, allocations: 23.92 kB / 348.5 MB, free: 12.65 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.1775, allocations: 8 kB / 348.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003975/0.1779, allocations: 256.7 kB / 348.7 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.1792, allocations: 1.54 MB / 350.3 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004881/0.1797, allocations: 254.2 kB / 350.5 MB, free: 10.53 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.726e-05/0.1798, allocations: 35.23 kB / 350.5 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1245/0.3042, allocations: 67.98 MB / 418.5 MB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.3043, allocations: 34.55 kB / 418.6 MB, free: 6.395 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 2.104e-06/0.3043, allocations: 0 / 418.6 MB, free: 6.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.000821/0.3051, allocations: 361.7 kB / 418.9 MB, free: 6.035 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.3051, allocations: 106.8 kB / 419 MB, free: 5.906 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.3053, allocations: 266.8 kB / 419.3 MB, free: 5.629 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.3053, allocations: 29.7 kB / 419.3 MB, free: 5.594 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.11e-05/0.3054, allocations: 196.4 kB / 419.5 MB, free: 5.398 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.3054, allocations: 55.52 kB / 419.6 MB, free: 5.344 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.018e-05/0.3055, allocations: 53.64 kB / 419.6 MB, free: 5.285 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.719e-05/0.3056, allocations: 342.8 kB / 419.9 MB, free: 4.941 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.102e-05/0.3056, allocations: 39.95 kB / 420 MB, free: 4.902 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.3058, allocations: 213.5 kB / 420.2 MB, free: 4.625 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.3059, allocations: 214.4 kB / 420.4 MB, free: 4.367 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.3059, allocations: 3.938 kB / 420.4 MB, free: 4.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000197/0.3061, allocations: 202.7 kB / 420.6 MB, free: 4.164 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3062, allocations: 12.09 kB / 420.6 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.3062, allocations: 4 kB / 420.6 MB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3062, allocations: 4 kB / 420.6 MB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.3063, allocations: 63.89 kB / 420.7 MB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.3063, allocations: 11.94 kB / 420.7 MB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.3064, allocations: 35.77 kB / 420.7 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.3064, allocations: 12 kB / 420.7 MB, free: 4.023 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 9.186e-05/0.3065, allocations: 132.5 kB / 420.9 MB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.3066, allocations: 27.22 kB / 420.9 MB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005031/0.3071, allocations: 0.6979 MB / 421.6 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.3071, allocations: 19.91 kB / 421.6 MB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.3071, allocations: 3.188 kB / 421.6 MB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3071, allocations: 0 / 421.6 MB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002996/0.3074, allocations: 369.9 kB / 422 MB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.3074, allocations: 0 / 422 MB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.735e-05/0.3075, allocations: 43.97 kB / 422 MB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3075, allocations: 3.938 kB / 422 MB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.3075, allocations: 4 kB / 422 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3075, allocations: 0 / 422 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3075, allocations: 3.984 kB / 422 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.3078, allocations: 428.6 kB / 422.5 MB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.609e-05/0.3078, allocations: 59.41 kB / 422.5 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.3078, allocations: 19.84 kB / 422.5 MB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.594e-05/0.3079, allocations: 16 kB / 422.5 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.308, allocations: 15.95 kB / 422.6 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.308, allocations: 8 kB / 422.6 MB, free: 2.152 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001023/0.3081, allocations: 164.7 kB / 422.7 MB, free: 1.992 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3081, allocations: 0 / 422.7 MB, free: 1.992 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001561/0.3096, allocations: 0.8616 MB / 423.6 MB, free: 1.129 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.002184/0.3118, allocations: 1.169 MB / 424.8 MB, free: 15.97 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.312, allocations: 173.2 kB / 424.9 MB, free: 15.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/0.312, allocations: 4 kB / 424.9 MB, free: 15.79 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.796e-05/0.3121, allocations: 106 kB / 425 MB, free: 15.69 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.3125, allocations: 162.5 kB / 425.2 MB, free: 15.54 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.3139, allocations: 0.9311 MB / 426.1 MB, free: 14.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.184e-05/0.314, allocations: 134.7 kB / 426.3 MB, free: 14.42 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001937/0.3142, allocations: 183.3 kB / 426.4 MB, free: 14.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.3144, allocations: 161.2 kB / 426.6 MB, free: 14.09 MB / 394.7 MB Notification: Performance of SimCode: time 8.12e-07/0.3144, allocations: 0 / 426.6 MB, free: 14.09 MB / 394.7 MB Notification: Performance of Templates: time 0.1641/0.4785, 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 -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.598717772401869]