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.001011/0.001011, allocations: 80.98 kB / 20.65 MB, free: 3.844 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.001193/0.001193, allocations: 177 kB / 24.06 MB, free: 452 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 1.044/1.044, allocations: 158.6 MB / 186 MB, free: 2.785 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.1538/0.1538, allocations: 32.37 MB / 270.7 MB, free: 14.53 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.184e-06/2.184e-06, allocations: 0 / 348.1 MB, free: 9.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.97e-05/3.188e-05, allocations: 8.281 kB / 348.1 MB, free: 9.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.01611/0.01614, allocations: 14.28 MB / 362.4 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01126/0.0274, allocations: 12.51 MB / 374.9 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003887/0.02779, allocations: 19.81 kB / 374.9 MB, free: 14.27 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000504/0.02829, allocations: 123.1 kB / 375.1 MB, free: 14.15 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006437/0.02894, allocations: 286.2 kB / 375.3 MB, free: 13.87 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01516/0.04409, allocations: 5.552 MB / 380.9 MB, free: 8.297 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009547/0.04505, allocations: 0.8614 MB / 381.7 MB, free: 7.434 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003215/0.04537, allocations: 213.1 kB / 382 MB, free: 7.223 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003028/0.0484, allocations: 2.201 MB / 384.2 MB, free: 4.996 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002704/0.04867, allocations: 219.3 kB / 384.4 MB, free: 4.781 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.335e-05/0.04871, allocations: 32 kB / 384.4 MB, free: 4.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00835/0.05706, allocations: 5.915 MB / 390.3 MB, free: 14.83 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.05723, allocations: 99.66 kB / 390.4 MB, free: 14.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.05744, allocations: 127.8 kB / 390.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009164/0.06661, allocations: 4.549 MB / 395.1 MB, free: 10.05 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.06661, allocations: 4 kB / 395.1 MB, free: 10.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.06661, allocations: 0 / 395.1 MB, free: 10.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.06662, allocations: 0 / 395.1 MB, free: 10.04 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.001963/0.06858, allocations: 1.039 MB / 396.1 MB, free: 8.965 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.06862, allocations: 8.031 kB / 396.1 MB, free: 8.957 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008416/0.06946, allocations: 259.9 kB / 396.4 MB, free: 8.703 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.0698, allocations: 295.4 kB / 396.7 MB, free: 8.383 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.06982, allocations: 28.97 kB / 396.7 MB, free: 8.355 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.06985, allocations: 24.38 kB / 396.7 MB, free: 8.332 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006898/0.07054, allocations: 0.6148 MB / 397.3 MB, free: 7.629 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.07055, allocations: 192 / 397.3 MB, free: 7.629 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.07057, allocations: 15.94 kB / 397.4 MB, free: 7.613 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.07058, allocations: 8 kB / 397.4 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004144/0.07099, allocations: 271 kB / 397.6 MB, free: 7.344 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.07253, allocations: 2.155 MB / 399.8 MB, free: 5.098 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005215/0.07306, allocations: 266.8 kB / 400.1 MB, free: 4.824 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.667e-05/0.0731, allocations: 35.95 kB / 400.1 MB, free: 4.785 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01282/0.08592, allocations: 7.45 MB / 407.5 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.08595, allocations: 37.39 kB / 407.6 MB, free: 13.28 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.144e-06/0.08596, allocations: 0 / 407.6 MB, free: 13.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008554/0.08681, allocations: 407.4 kB / 408 MB, free: 12.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.08686, allocations: 102.8 kB / 408.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.08705, allocations: 318.1 kB / 408.4 MB, free: 12.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.08707, allocations: 29.69 kB / 408.4 MB, free: 12.39 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.08718, allocations: 262.6 kB / 408.7 MB, free: 12.13 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.08721, allocations: 55.56 kB / 408.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.56e-05/0.08728, allocations: 67.28 kB / 408.8 MB, free: 12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.0874, allocations: 0.5155 MB / 409.3 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.582e-05/0.08745, allocations: 35.95 kB / 409.3 MB, free: 11.44 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.0876, allocations: 273.5 kB / 409.6 MB, free: 11.08 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.08778, allocations: 253.6 kB / 409.9 MB, free: 10.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.08778, allocations: 0 / 409.9 MB, free: 10.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002381/0.08802, allocations: 257.3 kB / 410.1 MB, free: 10.51 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.08803, allocations: 8 kB / 410.1 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.08804, allocations: 4 kB / 410.1 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.08805, allocations: 4 kB / 410.1 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.08817, allocations: 71.84 kB / 410.2 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.08818, allocations: 4 kB / 410.2 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.08828, allocations: 31.81 kB / 410.2 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.08829, allocations: 8 kB / 410.2 MB, free: 10.38 MB / 346.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.954e-05/0.08839, allocations: 184.6 kB / 410.4 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.971e-05/0.08843, allocations: 35.81 kB / 410.4 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000524/0.08896, allocations: 0.6913 MB / 411.1 MB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.08897, allocations: 19.95 kB / 411.2 MB, free: 9.434 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.08897, allocations: 4 kB / 411.2 MB, free: 9.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.08898, allocations: 0 / 411.2 MB, free: 9.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003093/0.08929, allocations: 420 kB / 411.6 MB, free: 8.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.08929, allocations: 4 kB / 411.6 MB, free: 8.988 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.815e-05/0.08937, allocations: 35.97 kB / 411.6 MB, free: 8.953 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.08937, allocations: 4 kB / 411.6 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.08938, allocations: 0 / 411.6 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.08938, allocations: 0 / 411.6 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.08938, allocations: 0 / 411.6 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.08972, allocations: 0.4926 MB / 412.1 MB, free: 8.438 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/0.08976, allocations: 51.59 kB / 412.2 MB, free: 8.387 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.08978, allocations: 23.78 kB / 412.2 MB, free: 8.363 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.902e-05/0.08986, allocations: 11.98 kB / 412.2 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.08991, allocations: 23.91 kB / 412.2 MB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.08992, allocations: 7.984 kB / 412.2 MB, free: 8.32 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001466/0.09007, allocations: 291 kB / 412.5 MB, free: 8.035 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09007, allocations: 0 / 412.5 MB, free: 8.035 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001979/0.09205, allocations: 0.8577 MB / 413.4 MB, free: 7.176 MB / 346.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.002362/0.09441, allocations: 1.135 MB / 414.5 MB, free: 6.039 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000242/0.09465, allocations: 183 kB / 414.7 MB, free: 5.859 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.09465, allocations: 4 kB / 414.7 MB, free: 5.855 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.595e-05/0.09475, allocations: 105.5 kB / 414.8 MB, free: 5.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004635/0.09521, allocations: 171.5 kB / 415 MB, free: 5.586 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.09637, allocations: 0.9195 MB / 415.9 MB, free: 4.625 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.156e-05/0.09645, allocations: 134.7 kB / 416 MB, free: 4.477 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001954/0.09665, allocations: 182.3 kB / 416.2 MB, free: 4.301 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000244/0.09689, allocations: 210 kB / 416.4 MB, free: 4.094 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.09689, allocations: 0 / 416.4 MB, free: 4.094 MB / 346.7 MB Notification: Performance of Templates: time 0.1685/0.2654, allocations: 39.07 MB / 455.5 MB, free: 64.25 MB / 362.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.802471681963652]