Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001371/0.001371, allocations: 113.1 kB / 21.85 MB, free: 64 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001455/0.001455, allocations: 204.7 kB / 25.13 MB, free: 3.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 230.4 MB / 258.7 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2245/0.2245, allocations: 46.93 MB / 362 MB, free: 4.207 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00237/0.00237, allocations: 83.86 kB / 0.4978 GB, free: 7.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3164, allocations: 66.09 MB / 0.5623 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03849/0.3549, allocations: 30.25 MB / 0.5919 GB, free: 5.891 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02104/0.3759, allocations: 15.54 MB / 0.6071 GB, free: 6.305 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004452/0.3764, allocations: 15.88 kB / 0.6071 GB, free: 6.289 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007517/0.3771, allocations: 218.6 kB / 0.6073 GB, free: 6.074 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007504/0.3779, allocations: 282.4 kB / 0.6075 GB, free: 5.797 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01713/0.395, allocations: 5.663 MB / 0.6131 GB, free: 144 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00135/0.3964, allocations: 0.8304 MB / 0.6139 GB, free: 15.31 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003902/0.3968, allocations: 196.9 kB / 0.6141 GB, free: 15.11 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01337/0.4101, allocations: 5.513 MB / 0.6195 GB, free: 9.516 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005364/0.4107, allocations: 250.9 kB / 0.6197 GB, free: 9.27 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.11e-05/0.4107, allocations: 28 kB / 0.6197 GB, free: 9.242 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01158/0.4223, allocations: 6.072 MB / 0.6257 GB, free: 3.164 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000221/0.4225, allocations: 91.67 kB / 0.6257 GB, free: 3.074 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003416/0.4229, allocations: 195.1 kB / 0.6259 GB, free: 2.883 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008878/0.4318, allocations: 3.671 MB / 0.6295 GB, free: 15.2 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.4318, allocations: 0 / 0.6295 GB, free: 15.2 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4318, allocations: 0 / 0.6295 GB, free: 15.2 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.4318, allocations: 0 / 0.6295 GB, free: 15.2 MB / 478.1 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.002501/0.4343, allocations: 0.9586 MB / 0.6304 GB, free: 14.21 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.4343, allocations: 12.03 kB / 0.6305 GB, free: 14.2 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009579/0.4353, allocations: 120.6 kB / 0.6306 GB, free: 14.08 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005028/0.4358, allocations: 284.9 kB / 0.6308 GB, free: 13.78 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/0.4358, allocations: 20.88 kB / 0.6309 GB, free: 13.76 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.093e-05/0.4359, allocations: 24.38 kB / 0.6309 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.4371, allocations: 0.594 MB / 0.6315 GB, free: 13.06 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.4371, allocations: 0 / 0.6315 GB, free: 13.06 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.079e-05/0.4371, allocations: 12 kB / 0.6315 GB, free: 13.05 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.4371, allocations: 8 kB / 0.6315 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.4382, allocations: 377.2 kB / 0.6318 GB, free: 12.68 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00326/0.4415, allocations: 2.183 MB / 0.634 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.4425, allocations: 274.2 kB / 0.6342 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/0.4428, allocations: 88.8 kB / 0.6343 GB, free: 9.953 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002694/0.443, allocations: 103.9 kB / 0.6344 GB, free: 9.852 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.4431, allocations: 34.56 kB / 0.6345 GB, free: 9.809 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.4431, allocations: 0 / 0.6345 GB, free: 9.809 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001696/0.4448, allocations: 457.2 kB / 0.6349 GB, free: 9.355 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.041e-05/0.4448, allocations: 110.7 kB / 0.635 GB, free: 9.223 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003787/0.4452, allocations: 320.5 kB / 0.6353 GB, free: 8.898 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.4453, allocations: 29.7 kB / 0.6353 GB, free: 8.863 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.4454, allocations: 215.9 kB / 0.6355 GB, free: 8.648 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.4455, allocations: 43.69 kB / 0.6356 GB, free: 8.605 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.277e-05/0.4456, allocations: 57.64 kB / 0.6356 GB, free: 8.543 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.4457, allocations: 338.8 kB / 0.636 GB, free: 8.203 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.446, allocations: 83.94 kB / 0.636 GB, free: 8.121 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004235/0.4464, allocations: 254.8 kB / 0.6363 GB, free: 7.805 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005811/0.447, allocations: 277.4 kB / 0.6365 GB, free: 7.484 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.447, allocations: 4 kB / 0.6366 GB, free: 7.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007417/0.4477, allocations: 321 kB / 0.6369 GB, free: 7.16 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.4477, allocations: 4 kB / 0.6369 GB, free: 7.156 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.4477, allocations: 7.984 kB / 0.6369 GB, free: 7.148 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.4478, allocations: 8.469 kB / 0.6369 GB, free: 7.141 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.448, allocations: 67.91 kB / 0.6369 GB, free: 7.074 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.448, allocations: 15.86 kB / 0.637 GB, free: 7.059 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.4483, allocations: 39.72 kB / 0.637 GB, free: 7.02 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.4483, allocations: 19.94 kB / 0.637 GB, free: 7 MB / 478.1 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.0001741/0.4485, allocations: 157.7 kB / 0.6372 GB, free: 6.836 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.603e-05/0.4486, allocations: 27.81 kB / 0.6372 GB, free: 6.809 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.4498, allocations: 0.7646 MB / 0.6379 GB, free: 6.035 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.4498, allocations: 0 / 0.6379 GB, free: 6.035 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.4498, allocations: 3.938 kB / 0.6379 GB, free: 6.031 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4498, allocations: 7.984 kB / 0.6379 GB, free: 6.023 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006163/0.4504, allocations: 0.5057 MB / 0.6384 GB, free: 5.477 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.4504, allocations: 3.938 kB / 0.6384 GB, free: 5.473 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.4506, allocations: 43.95 kB / 0.6385 GB, free: 5.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.4506, allocations: 7.938 kB / 0.6385 GB, free: 5.422 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.4506, allocations: 0 / 0.6385 GB, free: 5.422 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.4506, allocations: 7.969 kB / 0.6385 GB, free: 5.414 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.4506, allocations: 3.938 kB / 0.6385 GB, free: 5.41 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007551/0.4514, allocations: 475 kB / 0.639 GB, free: 4.93 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.807e-05/0.4515, allocations: 43.64 kB / 0.639 GB, free: 4.887 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.525e-05/0.4515, allocations: 19.8 kB / 0.639 GB, free: 4.867 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.4517, allocations: 23.98 kB / 0.639 GB, free: 4.844 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/0.4518, allocations: 23.83 kB / 0.6391 GB, free: 4.82 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.4518, allocations: 8 kB / 0.6391 GB, free: 4.812 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004304/0.4522, allocations: 342.9 kB / 0.6394 GB, free: 4.477 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4522, allocations: 0 / 0.6394 GB, free: 4.477 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002518/0.4548, allocations: 0.8538 MB / 0.6402 GB, free: 3.621 MB / 478.1 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.003728/0.4585, allocations: 0.9842 MB / 0.6412 GB, free: 2.629 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008719/0.4594, allocations: 280.1 kB / 0.6415 GB, free: 2.355 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.4594, allocations: 0.9375 kB / 0.6415 GB, free: 2.355 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.4597, allocations: 143.9 kB / 0.6416 GB, free: 2.215 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009729/0.4607, allocations: 181.2 kB / 0.6418 GB, free: 2.043 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.4621, allocations: 0.8508 MB / 0.6426 GB, free: 1.16 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005307/0.4627, allocations: 0.8461 MB / 0.6434 GB, free: 292 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003372/0.463, allocations: 138.8 kB / 0.6436 GB, free: 152 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.23e-05/0.4631, allocations: 35.44 kB / 0.6436 GB, free: 116 kB / 478.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4631, allocations: 0 / 0.6436 GB, free: 116 kB / 478.1 MB Notification: Performance of Templates: time 0.04976/0.5129, allocations: 34.14 MB / 0.6769 GB, free: 14 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.109003035817295]