Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001012/0.001012, 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.0009638/0.0009638, 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 1.013/1.013, allocations: 158.6 MB / 185.7 MB, free: 2.926 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.1364/0.1364, allocations: 32.37 MB / 270.4 MB, free: 14.81 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.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.527e-06/3.527e-06, allocations: 3.984 kB / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.369e-05/3.722e-05, allocations: 4.281 kB / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.01408/0.01412, allocations: 14.41 MB / 362.1 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01209/0.02621, allocations: 11.66 MB / 373.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003282/0.02654, allocations: 11.88 kB / 373.7 MB, free: 15.28 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005643/0.0271, allocations: 138.9 kB / 373.9 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006931/0.02779, allocations: 290.2 kB / 374.2 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01425/0.04204, allocations: 5.35 MB / 379.5 MB, free: 9.492 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00132/0.04336, allocations: 0.8381 MB / 380.4 MB, free: 8.652 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005093/0.04387, allocations: 201 kB / 380.5 MB, free: 8.457 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004145/0.04802, allocations: 2.205 MB / 382.8 MB, free: 6.227 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003813/0.0484, allocations: 207.4 kB / 383 MB, free: 6.023 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.691e-05/0.04845, allocations: 28 kB / 383 MB, free: 5.996 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009616/0.05807, allocations: 5.798 MB / 388.8 MB, free: 196 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.05828, allocations: 95.66 kB / 388.9 MB, free: 100 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002886/0.05857, allocations: 131.7 kB / 389 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01022/0.06879, allocations: 4.436 MB / 393.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.0688, allocations: 0 / 393.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.0688, allocations: 0 / 393.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.06881, allocations: 0 / 393.4 MB, free: 11.52 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002506/0.07132, allocations: 1.008 MB / 394.4 MB, free: 10.47 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.07137, allocations: 8.031 kB / 394.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006019/0.07197, allocations: 172.1 kB / 394.6 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/0.07236, allocations: 295.4 kB / 394.9 MB, free: 9.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.07239, allocations: 24.88 kB / 394.9 MB, free: 9.957 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.07243, allocations: 32.31 kB / 395 MB, free: 9.926 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007641/0.07319, allocations: 0.5867 MB / 395.6 MB, free: 9.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.0732, allocations: 192 / 395.6 MB, free: 9.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.07323, allocations: 15.94 kB / 395.6 MB, free: 9.234 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.07324, allocations: 8 kB / 395.6 MB, free: 9.227 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000439/0.07368, allocations: 254.5 kB / 395.8 MB, free: 8.973 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002344/0.07602, allocations: 2.194 MB / 398 MB, free: 6.695 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005165/0.07654, allocations: 242.8 kB / 398.3 MB, free: 6.445 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.567e-05/0.07661, allocations: 35.67 kB / 398.3 MB, free: 6.406 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001873/0.07679, allocations: 99.91 kB / 398.4 MB, free: 6.309 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.07682, allocations: 33.39 kB / 398.4 MB, free: 6.266 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.07682, allocations: 0 / 398.4 MB, free: 6.266 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007311/0.07755, allocations: 341.2 kB / 398.8 MB, free: 5.926 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/0.07762, allocations: 102.8 kB / 398.9 MB, free: 5.801 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.07785, allocations: 318.2 kB / 399.2 MB, free: 5.473 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.07787, allocations: 29.69 kB / 399.2 MB, free: 5.438 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.07802, allocations: 266.6 kB / 399.5 MB, free: 5.172 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.07805, allocations: 39.69 kB / 399.5 MB, free: 5.133 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.481e-05/0.07812, allocations: 67.3 kB / 399.6 MB, free: 5.059 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.07829, allocations: 0.5078 MB / 400.1 MB, free: 4.539 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.365e-05/0.07837, allocations: 47.89 kB / 400.1 MB, free: 4.492 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.07855, allocations: 262.2 kB / 400.4 MB, free: 4.152 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.07879, allocations: 255.1 kB / 400.6 MB, free: 3.836 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.07879, allocations: 4 kB / 400.6 MB, free: 3.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003298/0.07912, allocations: 253.4 kB / 400.9 MB, free: 3.578 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.07915, allocations: 8 kB / 400.9 MB, free: 3.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.07916, allocations: 0 / 400.9 MB, free: 3.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.07918, allocations: 8 kB / 400.9 MB, free: 3.562 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.07931, allocations: 51.91 kB / 400.9 MB, free: 3.512 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.07932, allocations: 8 kB / 400.9 MB, free: 3.504 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.07943, allocations: 31.83 kB / 401 MB, free: 3.473 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.07944, allocations: 12 kB / 401 MB, free: 3.461 MB / 330.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 0.0001219/0.07956, allocations: 180.4 kB / 401.2 MB, free: 3.273 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/0.07961, allocations: 31.89 kB / 401.2 MB, free: 3.242 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005241/0.08013, allocations: 0.5217 MB / 401.7 MB, free: 2.711 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.08014, allocations: 11.98 kB / 401.7 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.08015, allocations: 0 / 401.7 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.08015, allocations: 0 / 401.7 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003549/0.08051, allocations: 402 kB / 402.1 MB, free: 2.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.08051, allocations: 0 / 402.1 MB, free: 2.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.422e-05/0.08059, allocations: 35.98 kB / 402.2 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.08059, allocations: 3.984 kB / 402.2 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.0806, allocations: 7.984 kB / 402.2 MB, free: 2.223 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.08061, allocations: 0 / 402.2 MB, free: 2.223 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.08061, allocations: 0 / 402.2 MB, free: 2.223 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/0.08094, allocations: 407.3 kB / 402.6 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.331e-05/0.08097, allocations: 39.64 kB / 402.6 MB, free: 1.766 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.081, allocations: 23.84 kB / 402.6 MB, free: 1.742 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.944e-05/0.08108, allocations: 15.98 kB / 402.6 MB, free: 1.727 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.865e-05/0.08114, allocations: 15.97 kB / 402.7 MB, free: 1.711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.08115, allocations: 8 kB / 402.7 MB, free: 1.703 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002201/0.08137, allocations: 307 kB / 403 MB, free: 1.402 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08137, allocations: 0 / 403 MB, free: 1.402 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002387/0.08376, allocations: 0.8538 MB / 403.8 MB, free: 0.5469 MB / 330.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.003492/0.08725, allocations: 1.096 MB / 404.9 MB, free: 15.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003783/0.08763, allocations: 166.1 kB / 405.1 MB, free: 15.29 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.08764, allocations: 0 / 405.1 MB, free: 15.29 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.08776, allocations: 79.59 kB / 405.2 MB, free: 15.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005936/0.08835, allocations: 166.7 kB / 405.3 MB, free: 15.04 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.08981, allocations: 0.7738 MB / 406.1 MB, free: 14.23 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.633e-05/0.08989, allocations: 121.1 kB / 406.2 MB, free: 14.09 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000216/0.09011, allocations: 130.8 kB / 406.3 MB, free: 13.97 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.835e-05/0.09018, allocations: 28.5 kB / 406.4 MB, free: 13.94 MB / 346.7 MB Notification: Performance of SimCode: time 1.923e-06/0.09018, allocations: 4 kB / 406.4 MB, free: 13.94 MB / 346.7 MB Notification: Performance of Templates: time 0.1945/0.2847, allocations: 39.05 MB / 445.4 MB, free: 69.28 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 5.31502859480679]