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.001025/0.001025, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.0009781/0.0009781, allocations: 169 kB / 24.14 MB, free: 356 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 0.9239/0.9239, allocations: 158.6 MB / 186 MB, free: 2.754 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.1247/0.1247, allocations: 32.38 MB / 270.7 MB, free: 14.61 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 1.243e-06/1.243e-06, allocations: 0 / 299.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.412e-05/1.536e-05, allocations: 2.312 kB / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.1353/0.1353, allocations: 14.39 MB / 313.5 MB, free: 12.29 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009625/0.1449, allocations: 11.64 MB / 325.1 MB, free: 3.586 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002242/0.1452, allocations: 13.72 kB / 325.2 MB, free: 3.578 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004288/0.1456, allocations: 127.5 kB / 325.3 MB, free: 3.473 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005266/0.1461, allocations: 292.1 kB / 325.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01028/0.1564, allocations: 4.869 MB / 330.4 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007994/0.1572, allocations: 0.8303 MB / 331.3 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000323/0.1575, allocations: 222.6 kB / 331.5 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002848/0.1604, allocations: 2.196 MB / 333.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.1606, allocations: 195.4 kB / 333.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.598e-05/0.1606, allocations: 28 kB / 333.9 MB, free: 11.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008124/0.1688, allocations: 6.204 MB / 340.1 MB, free: 5.156 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.1689, allocations: 91.66 kB / 340.2 MB, free: 5.066 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.169, allocations: 127.8 kB / 340.3 MB, free: 4.941 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005369/0.1743, allocations: 4.443 MB / 344.8 MB, free: 496 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1744, allocations: 0 / 344.8 MB, free: 496 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1744, allocations: 0 / 344.8 MB, free: 496 kB / 298.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1744, allocations: 0 / 344.8 MB, free: 496 kB / 298.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.00151/0.1759, allocations: 0.8868 MB / 345.6 MB, free: 15.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1759, allocations: 8.031 kB / 345.7 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005479/0.1764, allocations: 180.2 kB / 345.8 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.1767, allocations: 256.7 kB / 346.1 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.1768, allocations: 20.88 kB / 346.1 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.1768, allocations: 28.38 kB / 346.1 MB, free: 15.06 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005831/0.1774, allocations: 0.5546 MB / 346.7 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.1774, allocations: 7.5 kB / 346.7 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.1774, allocations: 15.94 kB / 346.7 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.1774, allocations: 4 kB / 346.7 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003503/0.1777, allocations: 232.7 kB / 346.9 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.179, allocations: 1.518 MB / 348.5 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004332/0.1794, allocations: 209.1 kB / 348.7 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.924e-05/0.1795, allocations: 32.83 kB / 348.7 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06369/0.2431, allocations: 38.85 MB / 387.5 MB, free: 5.457 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.2432, allocations: 30.56 kB / 387.6 MB, free: 5.418 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.174e-06/0.2432, allocations: 4 kB / 387.6 MB, free: 5.414 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007274/0.2439, allocations: 293.1 kB / 387.9 MB, free: 5.121 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.2439, allocations: 102.8 kB / 388 MB, free: 4.996 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.2441, allocations: 258.8 kB / 388.2 MB, free: 4.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.2441, allocations: 25.7 kB / 388.2 MB, free: 4.699 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.393e-05/0.2442, allocations: 196.4 kB / 388.4 MB, free: 4.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.2442, allocations: 59.5 kB / 388.5 MB, free: 4.441 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-05/0.2443, allocations: 49.69 kB / 388.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.631e-05/0.2444, allocations: 338.8 kB / 388.9 MB, free: 4.047 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.705e-05/0.2444, allocations: 35.95 kB / 388.9 MB, free: 4.012 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.2445, allocations: 215.5 kB / 389.1 MB, free: 3.738 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.2447, allocations: 200.3 kB / 389.3 MB, free: 3.492 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2447, allocations: 0 / 389.3 MB, free: 3.492 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001924/0.2449, allocations: 196.2 kB / 389.5 MB, free: 3.297 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.2449, allocations: 8 kB / 389.5 MB, free: 3.289 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2449, allocations: 4 kB / 389.5 MB, free: 3.285 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.2449, allocations: 7.938 kB / 389.5 MB, free: 3.277 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.245, allocations: 64.36 kB / 389.6 MB, free: 3.215 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.245, allocations: 11.94 kB / 389.6 MB, free: 3.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.981e-05/0.2451, allocations: 36.95 kB / 389.6 MB, free: 3.168 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.2452, allocations: 12 kB / 389.6 MB, free: 3.156 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 8.459e-05/0.2452, allocations: 129.2 kB / 389.8 MB, free: 3.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.2453, allocations: 19.98 kB / 389.8 MB, free: 3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004464/0.2457, allocations: 0.5072 MB / 390.3 MB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.2457, allocations: 11.94 kB / 390.3 MB, free: 2.469 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.2457, allocations: 0 / 390.3 MB, free: 2.469 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2457, allocations: 3.984 kB / 390.3 MB, free: 2.465 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.246, allocations: 294.1 kB / 390.6 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.246, allocations: 0 / 390.6 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.253e-05/0.246, allocations: 35.91 kB / 390.6 MB, free: 2.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.2461, allocations: 4 kB / 390.6 MB, free: 2.125 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.2461, allocations: 4 kB / 390.6 MB, free: 2.121 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2461, allocations: 4 kB / 390.6 MB, free: 2.117 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2461, allocations: 0 / 390.6 MB, free: 2.117 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.2463, allocations: 339 kB / 391 MB, free: 1.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.511e-05/0.2463, allocations: 31.7 kB / 391 MB, free: 1.738 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.2463, allocations: 27.77 kB / 391 MB, free: 1.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.292e-05/0.2464, allocations: 8 kB / 391 MB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.2464, allocations: 23.84 kB / 391.1 MB, free: 1.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/0.2464, allocations: 7.984 kB / 391.1 MB, free: 1.672 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001047/0.2466, allocations: 160.7 kB / 391.2 MB, free: 1.512 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2466, allocations: 4 kB / 391.2 MB, free: 1.508 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001336/0.2479, allocations: 0.8577 MB / 392.1 MB, free: 0.6484 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.002183/0.2501, allocations: 1.17 MB / 393.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.2503, allocations: 128.6 kB / 393.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.2503, allocations: 4.938 kB / 393.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.277e-05/0.2503, allocations: 61.64 kB / 393.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.2507, allocations: 159.2 kB / 393.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009666/0.2517, allocations: 0.7737 MB / 394.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.411e-05/0.2517, allocations: 117.1 kB / 394.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001578/0.2519, allocations: 134.7 kB / 394.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/0.2521, allocations: 161.2 kB / 394.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.2521, allocations: 0 / 394.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of Templates: time 0.03244/0.2845, allocations: 37.37 MB / 432.2 MB, free: 8.574 MB / 394.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 -s gbode -gbm=radauIIA3 -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: 4.227312580216676]