Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001063/0.001063, allocations: 81.97 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.001025/0.001025, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.9394/0.9394, allocations: 177.1 MB / 206.1 MB, free: 4.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1423/0.1423, allocations: 34.26 MB / 296.8 MB, free: 13.92 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.741e-05/2.892e-05, allocations: 6.25 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.01111/0.01114, allocations: 14.35 MB / 393.6 MB, free: 8.996 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008428/0.01957, allocations: 11.5 MB / 405.1 MB, free: 13.46 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003164/0.01988, allocations: 11.88 kB / 405.1 MB, free: 13.45 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004622/0.02035, allocations: 119.1 kB / 405.3 MB, free: 13.33 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005333/0.02088, allocations: 298 kB / 405.6 MB, free: 13.04 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01007/0.03094, allocations: 5.374 MB / 410.9 MB, free: 7.641 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008449/0.03179, allocations: 0.8459 MB / 411.8 MB, free: 6.793 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002902/0.03208, allocations: 205.3 kB / 412 MB, free: 6.59 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003029/0.03511, allocations: 2.209 MB / 414.2 MB, free: 4.355 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.03535, allocations: 211.3 kB / 414.4 MB, free: 4.148 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.878e-05/0.03539, allocations: 28 kB / 414.4 MB, free: 4.121 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007397/0.04279, allocations: 5.81 MB / 420.2 MB, free: 14.3 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.04293, allocations: 107.6 kB / 420.3 MB, free: 14.2 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001869/0.04311, allocations: 135.7 kB / 420.5 MB, free: 14.07 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006596/0.04971, allocations: 4.447 MB / 424.9 MB, free: 9.609 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.04971, allocations: 4 kB / 424.9 MB, free: 9.605 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.04972, allocations: 0 / 424.9 MB, free: 9.605 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.04972, allocations: 0 / 424.9 MB, free: 9.605 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.001514/0.05124, allocations: 1.023 MB / 425.9 MB, free: 8.539 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.05127, allocations: 12.03 kB / 426 MB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005456/0.05181, allocations: 172.1 kB / 426.1 MB, free: 8.359 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.05212, allocations: 303.3 kB / 426.4 MB, free: 8.035 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.05215, allocations: 20.88 kB / 426.4 MB, free: 8.016 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.05217, allocations: 28.38 kB / 426.5 MB, free: 7.988 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006175/0.05279, allocations: 0.5705 MB / 427 MB, free: 7.328 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.0528, allocations: 4.125 kB / 427 MB, free: 7.324 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.05283, allocations: 15.94 kB / 427.1 MB, free: 7.309 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.05283, allocations: 4 kB / 427.1 MB, free: 7.305 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003643/0.0532, allocations: 235.1 kB / 427.3 MB, free: 7.074 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.05467, allocations: 2.139 MB / 429.4 MB, free: 4.852 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004566/0.05512, allocations: 230.8 kB / 429.7 MB, free: 4.613 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.373e-05/0.05517, allocations: 39.67 kB / 429.7 MB, free: 4.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001504/0.05532, allocations: 96.12 kB / 429.8 MB, free: 4.477 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.05534, allocations: 41.33 kB / 429.8 MB, free: 4.426 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.764e-06/0.05534, allocations: 0 / 429.8 MB, free: 4.426 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006045/0.05595, allocations: 313 kB / 430.1 MB, free: 4.113 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.05599, allocations: 102.8 kB / 430.2 MB, free: 3.988 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.05616, allocations: 322.1 kB / 430.5 MB, free: 3.656 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.05617, allocations: 29.7 kB / 430.6 MB, free: 3.621 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.05628, allocations: 274.5 kB / 430.8 MB, free: 3.348 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.05632, allocations: 43.62 kB / 430.9 MB, free: 3.305 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.378e-05/0.05638, allocations: 63.28 kB / 430.9 MB, free: 3.234 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.05651, allocations: 0.5156 MB / 431.5 MB, free: 2.707 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.958e-05/0.05656, allocations: 35.95 kB / 431.5 MB, free: 2.672 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.0567, allocations: 254.1 kB / 431.7 MB, free: 2.336 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.05686, allocations: 250.7 kB / 432 MB, free: 2.023 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.05687, allocations: 4 kB / 432 MB, free: 2.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002393/0.05711, allocations: 240.3 kB / 432.2 MB, free: 1.781 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.05712, allocations: 10.19 kB / 432.2 MB, free: 1.773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.05713, allocations: 4.469 kB / 432.2 MB, free: 1.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.05714, allocations: 4 kB / 432.2 MB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.05726, allocations: 63.91 kB / 432.3 MB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.05727, allocations: 7.938 kB / 432.3 MB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.417e-05/0.05736, allocations: 31.83 kB / 432.3 MB, free: 1.664 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.05737, allocations: 8 kB / 432.4 MB, free: 1.656 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 9.76e-05/0.05747, allocations: 180.4 kB / 432.5 MB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.05751, allocations: 35.8 kB / 432.6 MB, free: 1.434 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004189/0.05793, allocations: 494.4 kB / 433.1 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.05794, allocations: 7.984 kB / 433.1 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.05794, allocations: 0 / 433.1 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.05795, allocations: 7.984 kB / 433.1 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.05819, allocations: 330.6 kB / 433.4 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.0582, allocations: 3.938 kB / 433.4 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.376e-05/0.05827, allocations: 31.97 kB / 433.4 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.05827, allocations: 4 kB / 433.4 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.05828, allocations: 4 kB / 433.4 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.05828, allocations: 0 / 433.4 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.05828, allocations: 0 / 433.4 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.05855, allocations: 388.1 kB / 433.8 MB, free: 136 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-05/0.05858, allocations: 35.67 kB / 433.8 MB, free: 100 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/0.05862, allocations: 27.73 kB / 433.9 MB, free: 72 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.392e-05/0.0587, allocations: 11.94 kB / 433.9 MB, free: 60 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.05874, allocations: 23.95 kB / 433.9 MB, free: 36 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.05875, allocations: 8 kB / 433.9 MB, free: 28 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001664/0.05892, allocations: 295 kB / 434.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05892, allocations: 0 / 434.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00178/0.0607, allocations: 0.8538 MB / 435.1 MB, free: 14.88 MB / 362.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.002902/0.0636, allocations: 1.116 MB / 436.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000261/0.06386, allocations: 139.4 kB / 436.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.06386, allocations: 0 / 436.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.861e-05/0.06394, allocations: 76.52 kB / 436.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/0.06443, allocations: 159.9 kB / 436.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.06556, allocations: 0.7737 MB / 437.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.257e-05/0.06563, allocations: 117.1 kB / 437.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001876/0.06582, allocations: 138.7 kB / 437.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/0.06605, allocations: 198.1 kB / 437.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.06605, allocations: 0 / 437.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of Templates: time 0.03681/0.1029, allocations: 38.35 MB / 476.1 MB, free: 5.871 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.886253211647272]