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.001556/0.001556, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001108/0.001108, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 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.8751/0.8751, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1495/0.1495, allocations: 32.38 MB / 270.4 MB, free: 14.8 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.633e-06/1.633e-06, allocations: 0 / 347.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.903e-05, allocations: 6.25 kB / 347.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.01127/0.0113, allocations: 14.43 MB / 362.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01146/0.02276, allocations: 12.73 MB / 374.8 MB, free: 14.19 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002869/0.02305, allocations: 15.88 kB / 374.9 MB, free: 14.18 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004686/0.02352, allocations: 127.1 kB / 375 MB, free: 14.05 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005174/0.02403, allocations: 294.1 kB / 375.3 MB, free: 13.76 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01906/0.04309, allocations: 5.538 MB / 380.8 MB, free: 8.203 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001165/0.04426, allocations: 0.8615 MB / 381.7 MB, free: 7.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003447/0.04771, allocations: 217 kB / 381.9 MB, free: 7.125 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007148/0.05485, allocations: 2.197 MB / 384.1 MB, free: 4.902 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003242/0.05518, allocations: 219.3 kB / 384.3 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.231e-05/0.05523, allocations: 32 kB / 384.3 MB, free: 4.656 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0225/0.07773, allocations: 5.915 MB / 390.2 MB, free: 14.73 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.07792, allocations: 91.66 kB / 390.3 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002646/0.07818, allocations: 135.8 kB / 390.5 MB, free: 14.51 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007691/0.08587, allocations: 4.541 MB / 395 MB, free: 9.961 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.08588, allocations: 0 / 395 MB, free: 9.961 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.08588, allocations: 0 / 395 MB, free: 9.961 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.08589, allocations: 0 / 395 MB, free: 9.961 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.001625/0.08751, allocations: 1.035 MB / 396 MB, free: 8.887 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.08755, allocations: 12.03 kB / 396 MB, free: 8.875 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009115/0.08846, allocations: 263.8 kB / 396.3 MB, free: 8.617 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.08879, allocations: 299.4 kB / 396.6 MB, free: 8.293 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.08882, allocations: 21.03 kB / 396.6 MB, free: 8.273 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.08885, allocations: 28.38 kB / 396.6 MB, free: 8.246 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000715/0.08957, allocations: 0.6226 MB / 397.3 MB, free: 7.535 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.08958, allocations: 192 / 397.3 MB, free: 7.535 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.0896, allocations: 23.92 kB / 397.3 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.08961, allocations: 8 kB / 397.3 MB, free: 7.504 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004835/0.09009, allocations: 290.6 kB / 397.6 MB, free: 7.223 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.09177, allocations: 2.222 MB / 399.8 MB, free: 4.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005604/0.09233, allocations: 278.7 kB / 400.1 MB, free: 4.625 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.474e-05/0.09241, allocations: 43.67 kB / 400.1 MB, free: 4.578 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01501/0.1074, allocations: 8.492 MB / 408.6 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.1074, allocations: 53.27 kB / 408.7 MB, free: 12.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.833e-06/0.1074, allocations: 0 / 408.7 MB, free: 12.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008429/0.1083, allocations: 411.8 kB / 409.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.1083, allocations: 102.8 kB / 409.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.1085, allocations: 318.2 kB / 409.5 MB, free: 11.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.1086, allocations: 29.7 kB / 409.5 MB, free: 11.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.1087, allocations: 270.5 kB / 409.8 MB, free: 10.85 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.1087, allocations: 47.64 kB / 409.8 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.87e-05/0.1088, allocations: 75.3 kB / 409.9 MB, free: 10.72 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1089, allocations: 0.5078 MB / 410.4 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.066e-05/0.109, allocations: 47.95 kB / 410.4 MB, free: 10.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.1091, allocations: 269.6 kB / 410.7 MB, free: 9.805 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.1093, allocations: 261.7 kB / 411 MB, free: 9.484 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1093, allocations: 0 / 411 MB, free: 9.484 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003019/0.1096, allocations: 276.9 kB / 411.2 MB, free: 9.207 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1097, allocations: 8 kB / 411.2 MB, free: 9.199 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1097, allocations: 4 kB / 411.2 MB, free: 9.195 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1097, allocations: 4 kB / 411.2 MB, free: 9.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.1098, allocations: 64.38 kB / 411.3 MB, free: 9.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.1098, allocations: 19.86 kB / 411.3 MB, free: 9.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.491e-05/0.1099, allocations: 31.77 kB / 411.4 MB, free: 9.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.1099, allocations: 12 kB / 411.4 MB, free: 9.066 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.9e-05/0.11, allocations: 180.4 kB / 411.5 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.036e-05/0.1101, allocations: 35.81 kB / 411.6 MB, free: 8.844 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006179/0.1107, allocations: 0.7501 MB / 412.3 MB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.1107, allocations: 15.97 kB / 412.3 MB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1107, allocations: 0 / 412.3 MB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1107, allocations: 0 / 412.3 MB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003409/0.1111, allocations: 483.5 kB / 412.8 MB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.1111, allocations: 0 / 412.8 MB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.504e-05/0.1111, allocations: 39.91 kB / 412.9 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-06/0.1111, allocations: 0 / 412.9 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.1112, allocations: 7.984 kB / 412.9 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.1112, allocations: 4 kB / 412.9 MB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1112, allocations: 4 kB / 412.9 MB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003812/0.1115, allocations: 0.5083 MB / 413.4 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/0.1116, allocations: 55.52 kB / 413.4 MB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.1116, allocations: 19.84 kB / 413.5 MB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.375e-05/0.1117, allocations: 16 kB / 413.5 MB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/0.1118, allocations: 19.95 kB / 413.5 MB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.1118, allocations: 8 kB / 413.5 MB, free: 6.859 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001927/0.112, allocations: 311 kB / 413.8 MB, free: 6.555 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.112, allocations: 0 / 413.8 MB, free: 6.555 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001593/0.1135, allocations: 0.8655 MB / 414.7 MB, free: 5.688 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.002533/0.1161, allocations: 1.116 MB / 415.8 MB, free: 4.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000269/0.1164, allocations: 196.9 kB / 416 MB, free: 4.375 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1164, allocations: 0 / 416 MB, free: 4.375 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.1165, allocations: 132.8 kB / 416.1 MB, free: 4.246 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004623/0.1169, allocations: 165.5 kB / 416.3 MB, free: 4.086 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.1181, allocations: 0.9274 MB / 417.2 MB, free: 3.117 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.692e-05/0.1182, allocations: 134.7 kB / 417.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001832/0.1184, allocations: 183.4 kB / 417.5 MB, free: 2.789 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.153e-05/0.1184, allocations: 32.5 kB / 417.5 MB, free: 2.758 MB / 346.7 MB Notification: Performance of SimCode: time 8.71e-07/0.1184, allocations: 0 / 417.5 MB, free: 2.758 MB / 346.7 MB Notification: Performance of Templates: time 0.1668/0.2852, allocations: 34.47 MB / 452 MB, free: 65.39 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.571126236114651]