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.001426/0.001426, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001412/0.001412, allocations: 168.4 kB / 25.61 MB, free: 8.902 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.9776/0.9776, allocations: 177.1 MB / 206.1 MB, free: 4.492 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.1342/0.1342, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.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 9.11e-07/9.11e-07, allocations: 0 / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036e-05/1.127e-05, allocations: 5.688 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.009836/0.009848, allocations: 14.34 MB / 391.6 MB, free: 11.2 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008646/0.01849, allocations: 11.5 MB / 403.1 MB, free: 15.65 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002406/0.01873, allocations: 19.81 kB / 403.1 MB, free: 15.63 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003835/0.01912, allocations: 123.1 kB / 403.2 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005243/0.01964, allocations: 298 kB / 403.5 MB, free: 15.22 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01124/0.03088, allocations: 5.371 MB / 408.9 MB, free: 9.824 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001113/0.032, allocations: 0.8498 MB / 409.8 MB, free: 8.973 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003659/0.03236, allocations: 201.3 kB / 410 MB, free: 8.773 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003578/0.03594, allocations: 2.212 MB / 412.2 MB, free: 6.535 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003072/0.03625, allocations: 203.3 kB / 412.4 MB, free: 6.336 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.696e-05/0.03629, allocations: 36 kB / 412.4 MB, free: 6.301 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009376/0.04567, allocations: 5.81 MB / 418.2 MB, free: 496 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001762/0.04585, allocations: 91.66 kB / 418.3 MB, free: 404 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002506/0.0461, allocations: 135.7 kB / 418.4 MB, free: 268 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008849/0.05495, allocations: 4.459 MB / 422.9 MB, free: 11.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.05495, allocations: 0 / 422.9 MB, free: 11.79 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.05495, allocations: 0 / 422.9 MB, free: 11.79 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.05496, allocations: 4 kB / 422.9 MB, free: 11.79 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.002292/0.05725, allocations: 1.027 MB / 423.9 MB, free: 10.72 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.0573, allocations: 11.98 kB / 423.9 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006023/0.0579, allocations: 168.1 kB / 424.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.05825, allocations: 295.4 kB / 424.4 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.05828, allocations: 28.88 kB / 424.4 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.05831, allocations: 24.38 kB / 424.4 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000647/0.05895, allocations: 0.5787 MB / 425 MB, free: 9.512 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.05897, allocations: 8.125 kB / 425 MB, free: 9.504 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.05899, allocations: 15.94 kB / 425 MB, free: 9.488 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.059, allocations: 8 kB / 425 MB, free: 9.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003853/0.05939, allocations: 227.1 kB / 425.3 MB, free: 9.254 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/0.06101, allocations: 2.135 MB / 427.4 MB, free: 7.035 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004737/0.06149, allocations: 226.8 kB / 427.6 MB, free: 6.801 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.252e-05/0.06153, allocations: 31.67 kB / 427.7 MB, free: 6.766 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004374/0.06197, allocations: 103.9 kB / 427.8 MB, free: 6.664 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.06199, allocations: 33.39 kB / 427.8 MB, free: 6.621 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.004e-06/0.06199, allocations: 0 / 427.8 MB, free: 6.621 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006426/0.06263, allocations: 323.6 kB / 428.1 MB, free: 6.301 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.06268, allocations: 110.8 kB / 428.2 MB, free: 6.168 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.06286, allocations: 314.1 kB / 428.5 MB, free: 5.844 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.06288, allocations: 29.7 kB / 428.6 MB, free: 5.809 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.063, allocations: 274.5 kB / 428.8 MB, free: 5.535 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.06302, allocations: 39.67 kB / 428.9 MB, free: 5.496 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.007e-05/0.06309, allocations: 67.28 kB / 428.9 MB, free: 5.422 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.06322, allocations: 0.5155 MB / 429.4 MB, free: 4.895 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.189e-05/0.06327, allocations: 39.95 kB / 429.5 MB, free: 4.855 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.06342, allocations: 264 kB / 429.7 MB, free: 4.512 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.06359, allocations: 238 kB / 430 MB, free: 4.215 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.06359, allocations: 4 kB / 430 MB, free: 4.211 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002514/0.06385, allocations: 225.2 kB / 430.2 MB, free: 3.984 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.06386, allocations: 11.98 kB / 430.2 MB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.06387, allocations: 4 kB / 430.2 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.06388, allocations: 7.938 kB / 430.2 MB, free: 3.961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.06401, allocations: 59.91 kB / 430.3 MB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.06402, allocations: 11.94 kB / 430.3 MB, free: 3.891 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.06412, allocations: 32.14 kB / 430.3 MB, free: 3.859 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.06414, allocations: 20 kB / 430.3 MB, free: 3.84 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 (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.0001008/0.06424, allocations: 172.4 kB / 430.5 MB, free: 3.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.509e-05/0.06428, allocations: 35.81 kB / 430.5 MB, free: 3.625 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004273/0.06471, allocations: 494.3 kB / 431 MB, free: 3.133 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.06472, allocations: 11.98 kB / 431 MB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.06472, allocations: 0 / 431 MB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.06473, allocations: 4 kB / 431 MB, free: 3.117 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002807/0.06501, allocations: 334.6 kB / 431.4 MB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.06501, allocations: 0 / 431.4 MB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.534e-05/0.0651, allocations: 39.91 kB / 431.4 MB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.0651, allocations: 0 / 431.4 MB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.06511, allocations: 0 / 431.4 MB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.06511, allocations: 4 kB / 431.4 MB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.06511, allocations: 0 / 431.4 MB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.06541, allocations: 383.4 kB / 431.8 MB, free: 2.324 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/0.06544, allocations: 35.69 kB / 431.8 MB, free: 2.289 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/0.06548, allocations: 27.73 kB / 431.8 MB, free: 2.262 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.564e-05/0.06556, allocations: 11.98 kB / 431.9 MB, free: 2.25 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.06561, allocations: 15.97 kB / 431.9 MB, free: 2.234 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.649e-06/0.06562, allocations: 4 kB / 431.9 MB, free: 2.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001651/0.06579, allocations: 295 kB / 432.2 MB, free: 1.941 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06579, allocations: 0 / 432.2 MB, free: 1.941 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002127/0.06791, allocations: 0.8538 MB / 433 MB, free: 1.086 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: 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.002979/0.07089, allocations: 1.122 MB / 434.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000273/0.07116, allocations: 150.8 kB / 434.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.07117, allocations: 4 kB / 434.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.716e-05/0.07124, allocations: 71.58 kB / 434.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004965/0.07174, allocations: 171.5 kB / 434.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.0731, allocations: 0.7626 MB / 435.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.763e-05/0.07317, allocations: 121.1 kB / 435.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001794/0.07335, allocations: 130.7 kB / 435.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.07358, allocations: 198.1 kB / 435.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.07358, allocations: 0 / 435.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of Templates: time 0.04138/0.115, allocations: 38.36 MB / 474.1 MB, free: 8.066 MB / 394.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 -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.913083219900727]