Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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.001386/0.001386, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001499/0.001499, allocations: 170.4 kB / 24.91 MB, free: 9.199 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.9473/0.9473, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2549/0.2549, allocations: 32.81 MB / 294.6 MB, free: 1.262 MB / 266.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.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 323.3 MB, free: 9.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.266e-05, allocations: 4.984 kB / 323.3 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.0134/0.01343, allocations: 14.52 MB / 337.8 MB, free: 11.1 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01039/0.02381, allocations: 11.67 MB / 349.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002498/0.02406, allocations: 19.88 kB / 349.5 MB, free: 15.37 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004096/0.02447, allocations: 135 kB / 349.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000464/0.02494, allocations: 286.2 kB / 349.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009542/0.03448, allocations: 4.879 MB / 354.8 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008426/0.03532, allocations: 0.8536 MB / 355.6 MB, free: 9.199 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002892/0.03561, allocations: 201.2 kB / 355.8 MB, free: 9 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002734/0.03835, allocations: 2.212 MB / 358 MB, free: 6.762 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.03858, allocations: 199.3 kB / 358.2 MB, free: 6.566 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.956e-05/0.03862, allocations: 32 kB / 358.3 MB, free: 6.535 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008348/0.04697, allocations: 6.208 MB / 364.5 MB, free: 328 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.0471, allocations: 95.66 kB / 364.6 MB, free: 232 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.04726, allocations: 135.7 kB / 364.7 MB, free: 96 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006983/0.05424, allocations: 4.463 MB / 369.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.05424, allocations: 0 / 369.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.05425, allocations: 0 / 369.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.932e-06/0.05425, allocations: 0 / 369.1 MB, free: 11.62 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001622/0.05587, allocations: 0.8946 MB / 370 MB, free: 10.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.05591, allocations: 12.03 kB / 370.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006146/0.05653, allocations: 180.2 kB / 370.2 MB, free: 10.51 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.05683, allocations: 260.7 kB / 370.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.05686, allocations: 24.88 kB / 370.5 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.05689, allocations: 32.3 kB / 370.5 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006158/0.0575, allocations: 0.5575 MB / 371.1 MB, free: 9.539 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.05751, allocations: 4.188 kB / 371.1 MB, free: 9.535 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.05753, allocations: 15.94 kB / 371.1 MB, free: 9.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.05754, allocations: 4 kB / 371.1 MB, free: 9.516 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003789/0.05792, allocations: 228.7 kB / 371.3 MB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.05924, allocations: 1.515 MB / 372.9 MB, free: 7.707 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004787/0.05972, allocations: 209.5 kB / 373.1 MB, free: 7.496 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.151e-05/0.05976, allocations: 32.83 kB / 373.1 MB, free: 7.461 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06749/0.1272, allocations: 38.89 MB / 412 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.1273, allocations: 34.56 kB / 412 MB, free: 500 kB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.944e-06/0.1273, allocations: 4 kB / 412 MB, free: 496 kB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007529/0.128, allocations: 289.1 kB / 412.3 MB, free: 200 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.1281, allocations: 110.8 kB / 412.4 MB, free: 64 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.1283, allocations: 258.8 kB / 412.7 MB, free: 15.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.1283, allocations: 25.7 kB / 412.7 MB, free: 15.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.581e-05/0.1284, allocations: 204.4 kB / 412.9 MB, free: 15.56 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.1284, allocations: 47.55 kB / 412.9 MB, free: 15.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/0.1285, allocations: 61.62 kB / 413 MB, free: 15.45 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.1285, allocations: 338.8 kB / 413.3 MB, free: 15.11 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.379e-05/0.1286, allocations: 34.34 kB / 413.4 MB, free: 15.08 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.1287, allocations: 214.7 kB / 413.6 MB, free: 14.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.1289, allocations: 194.6 kB / 413.8 MB, free: 14.56 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1289, allocations: 0 / 413.8 MB, free: 14.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001988/0.1291, allocations: 193.2 kB / 414 MB, free: 14.37 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1291, allocations: 8 kB / 414 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.1291, allocations: 4 kB / 414 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1291, allocations: 7.938 kB / 414 MB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.1292, allocations: 67.83 kB / 414 MB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.1292, allocations: 7.938 kB / 414 MB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.1293, allocations: 32.34 kB / 414.1 MB, free: 14.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.1294, allocations: 12 kB / 414.1 MB, free: 14.23 MB / 394.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 (27): * Single equations (assignments): 27 * 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 8.932e-05/0.1294, allocations: 128.5 kB / 414.2 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-05/0.1295, allocations: 23.97 kB / 414.2 MB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004073/0.1299, allocations: 0.5145 MB / 414.8 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.1299, allocations: 15.91 kB / 414.8 MB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.1299, allocations: 4 kB / 414.8 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1299, allocations: 0 / 414.8 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.1302, allocations: 286.6 kB / 415.1 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1302, allocations: 0 / 415.1 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.705e-05/0.1302, allocations: 35.97 kB / 415.1 MB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1302, allocations: 4 kB / 415.1 MB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.1302, allocations: 0 / 415.1 MB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1302, allocations: 0 / 415.1 MB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1302, allocations: 0 / 415.1 MB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.1305, allocations: 346 kB / 415.4 MB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.1305, allocations: 35.69 kB / 415.5 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.1306, allocations: 31.72 kB / 415.5 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.248e-05/0.1306, allocations: 4 kB / 415.5 MB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.1307, allocations: 27.89 kB / 415.5 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.1307, allocations: 4 kB / 415.5 MB, free: 12.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001249/0.1308, allocations: 168.7 kB / 415.7 MB, free: 12.56 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1308, allocations: 0 / 415.7 MB, free: 12.56 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001973/0.1328, allocations: 0.8538 MB / 416.5 MB, free: 11.71 MB / 394.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: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002627/0.1354, allocations: 1.148 MB / 417.7 MB, free: 10.55 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002264/0.1356, allocations: 145.6 kB / 417.8 MB, free: 10.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/0.1356, allocations: 4 kB / 417.8 MB, free: 10.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.876e-05/0.1357, allocations: 63.77 kB / 417.9 MB, free: 10.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.1361, allocations: 163.2 kB / 418.1 MB, free: 10.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.1372, allocations: 0.782 MB / 418.8 MB, free: 9.379 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.951e-05/0.1372, allocations: 117 kB / 419 MB, free: 9.246 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001682/0.1374, allocations: 134.7 kB / 419.1 MB, free: 9.117 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/0.1376, allocations: 161.2 kB / 419.3 MB, free: 8.957 MB / 394.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1376, allocations: 0 / 419.3 MB, free: 8.957 MB / 394.7 MB Notification: Performance of Templates: time 0.1673/0.3049, allocations: 37.48 MB / 456.7 MB, free: 101.5 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.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.378838979173452]