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.001433/0.001433, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.00165/0.00165, allocations: 161 kB / 24.56 MB, free: 4 kB / 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.9928/0.9928, allocations: 177.1 MB / 205 MB, free: 5.617 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.2683/0.2683, allocations: 34.27 MB / 295.7 MB, free: 0.7539 MB / 266.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 2.074e-06/2.074e-06, allocations: 0 / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.876e-05/3.084e-05, allocations: 2.312 kB / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.02161/0.02164, allocations: 14.52 MB / 392.6 MB, free: 4.066 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01804/0.03968, allocations: 11.69 MB / 404.2 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004181/0.0401, allocations: 11.88 kB / 404.3 MB, free: 8.324 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006367/0.04074, allocations: 131 kB / 404.4 MB, free: 8.195 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005942/0.04133, allocations: 290.2 kB / 404.7 MB, free: 7.91 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01234/0.05367, allocations: 5.378 MB / 410 MB, free: 2.516 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001101/0.05477, allocations: 0.8458 MB / 410.9 MB, free: 1.664 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000489/0.05526, allocations: 205.3 kB / 411.1 MB, free: 1.461 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003483/0.05874, allocations: 2.204 MB / 413.3 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003031/0.05905, allocations: 215.3 kB / 413.5 MB, free: 15.02 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.396e-05/0.05909, allocations: 32 kB / 413.5 MB, free: 14.99 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008459/0.06755, allocations: 5.814 MB / 419.4 MB, free: 9.168 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.0677, allocations: 87.67 kB / 419.4 MB, free: 9.082 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002014/0.0679, allocations: 139.7 kB / 419.6 MB, free: 8.945 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008158/0.07605, allocations: 4.459 MB / 424 MB, free: 4.477 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.07606, allocations: 0 / 424 MB, free: 4.477 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.07606, allocations: 0 / 424 MB, free: 4.477 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.07607, allocations: 4 kB / 424 MB, free: 4.473 MB / 394.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.00203/0.0781, allocations: 1.023 MB / 425.1 MB, free: 3.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.07814, allocations: 8.031 kB / 425.1 MB, free: 3.402 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006095/0.07875, allocations: 172.1 kB / 425.2 MB, free: 3.234 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.07911, allocations: 295.4 kB / 425.5 MB, free: 2.918 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.07914, allocations: 20.88 kB / 425.5 MB, free: 2.898 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.07917, allocations: 24.38 kB / 425.6 MB, free: 2.875 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006981/0.07987, allocations: 0.5938 MB / 426.2 MB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.07988, allocations: 4.188 kB / 426.2 MB, free: 2.188 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.0799, allocations: 15.94 kB / 426.2 MB, free: 2.172 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.07992, allocations: 8 kB / 426.2 MB, free: 2.164 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004212/0.08034, allocations: 254.6 kB / 426.4 MB, free: 1.914 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.0822, allocations: 2.194 MB / 428.6 MB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005062/0.0827, allocations: 238.8 kB / 428.9 MB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.192e-05/0.08277, allocations: 35.67 kB / 428.9 MB, free: 15.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001793/0.08295, allocations: 103.9 kB / 429 MB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.08297, allocations: 37.61 kB / 429 MB, free: 15.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.08297, allocations: 3.938 kB / 429 MB, free: 15.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.000986/0.08396, allocations: 329 kB / 429.4 MB, free: 14.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.08401, allocations: 102.8 kB / 429.5 MB, free: 14.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.08423, allocations: 322.2 kB / 429.8 MB, free: 14.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.08425, allocations: 29.7 kB / 429.8 MB, free: 14.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.08437, allocations: 266.7 kB / 430.1 MB, free: 14.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.0844, allocations: 55.55 kB / 430.1 MB, free: 14.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.711e-05/0.08447, allocations: 63.31 kB / 430.2 MB, free: 13.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.08459, allocations: 0.5078 MB / 430.7 MB, free: 13.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.784e-05/0.08466, allocations: 39.95 kB / 430.7 MB, free: 13.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.08482, allocations: 273.5 kB / 431 MB, free: 13.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.08504, allocations: 254.7 kB / 431.2 MB, free: 12.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-06/0.08504, allocations: 0 / 431.2 MB, free: 12.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003904/0.08543, allocations: 253 kB / 431.5 MB, free: 12.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.08545, allocations: 8 kB / 431.5 MB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.08546, allocations: 4 kB / 431.5 MB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.08549, allocations: 4.469 kB / 431.5 MB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.08567, allocations: 67.89 kB / 431.6 MB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.08568, allocations: 4 kB / 431.6 MB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.08578, allocations: 23.89 kB / 431.6 MB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.0858, allocations: 19.98 kB / 431.6 MB, free: 12.38 MB / 410.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.0001083/0.08591, allocations: 172.4 kB / 431.8 MB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.361e-05/0.08596, allocations: 35.81 kB / 431.8 MB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005701/0.08653, allocations: 0.5258 MB / 432.4 MB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.08654, allocations: 7.984 kB / 432.4 MB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.08654, allocations: 0 / 432.4 MB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.08654, allocations: 0 / 432.4 MB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003415/0.08688, allocations: 402 kB / 432.8 MB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.08689, allocations: 0 / 432.8 MB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.914e-05/0.08698, allocations: 27.97 kB / 432.8 MB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.08698, allocations: 4 kB / 432.8 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.08699, allocations: 8 kB / 432.8 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.087, allocations: 4 kB / 432.8 MB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.087, allocations: 0 / 432.8 MB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.08732, allocations: 408.1 kB / 433.2 MB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.447e-05/0.08735, allocations: 39.69 kB / 433.2 MB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.08738, allocations: 23.78 kB / 433.3 MB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.294e-05/0.08747, allocations: 8 kB / 433.3 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.08752, allocations: 19.95 kB / 433.3 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.08753, allocations: 4 kB / 433.3 MB, free: 10.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002048/0.08773, allocations: 315 kB / 433.6 MB, free: 10.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08773, allocations: 0 / 433.6 MB, free: 10.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001972/0.08971, allocations: 0.8577 MB / 434.5 MB, free: 9.473 MB / 410.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.002795/0.0925, allocations: 1.095 MB / 435.5 MB, free: 8.363 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003023/0.0928, allocations: 155.4 kB / 435.7 MB, free: 8.207 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.09281, allocations: 0 / 435.7 MB, free: 8.207 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.116e-05/0.0929, allocations: 83.59 kB / 435.8 MB, free: 8.121 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005041/0.0934, allocations: 165.8 kB / 435.9 MB, free: 7.965 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.09486, allocations: 0.7819 MB / 436.7 MB, free: 7.148 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.731e-05/0.09492, allocations: 117.1 kB / 436.8 MB, free: 7.016 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001851/0.09511, allocations: 137.3 kB / 437 MB, free: 6.883 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.09516, allocations: 32.48 kB / 437 MB, free: 6.852 MB / 410.7 MB Notification: Performance of SimCode: time 1.523e-06/0.09517, allocations: 0 / 437 MB, free: 6.852 MB / 410.7 MB Notification: Performance of Templates: time 0.173/0.2681, allocations: 33.8 MB / 470.8 MB, free: 74.28 MB / 410.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.586890751030296]