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.001628/0.001628, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 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.002267/0.002267, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.517/1.517, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.2481/0.2481, allocations: 46.89 MB / 361.1 MB, free: 4.719 MB / 286.1 MB " [Timeout remaining time 179] 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.002409/0.002409, allocations: 71.88 kB / 0.4968 GB, free: 7.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3681, allocations: 65.99 MB / 0.5612 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03772/0.4058, allocations: 30.62 MB / 0.5911 GB, free: 6.285 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02059/0.4264, allocations: 15.67 MB / 0.6064 GB, free: 6.562 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000405/0.4268, allocations: 7.938 kB / 0.6064 GB, free: 6.555 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008408/0.4277, allocations: 218.6 kB / 0.6066 GB, free: 6.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006912/0.4284, allocations: 274.4 kB / 0.6069 GB, free: 6.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01786/0.4462, allocations: 5.656 MB / 0.6124 GB, free: 428 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001378/0.4476, allocations: 0.8226 MB / 0.6132 GB, free: 15.59 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004078/0.448, allocations: 184.8 kB / 0.6134 GB, free: 15.41 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0119/0.4599, allocations: 5.509 MB / 0.6188 GB, free: 9.816 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005679/0.4605, allocations: 250.9 kB / 0.619 GB, free: 9.57 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.64e-05/0.4605, allocations: 28 kB / 0.619 GB, free: 9.543 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01326/0.4738, allocations: 6.092 MB / 0.625 GB, free: 3.445 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001938/0.474, allocations: 99.59 kB / 0.6251 GB, free: 3.348 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003247/0.4743, allocations: 183.2 kB / 0.6252 GB, free: 3.168 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009304/0.4836, allocations: 3.671 MB / 0.6288 GB, free: 15.49 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/0.4836, allocations: 4 kB / 0.6288 GB, free: 15.48 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.558e-06/0.4836, allocations: 3.984 kB / 0.6288 GB, free: 15.48 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.4836, allocations: 0 / 0.6288 GB, free: 15.48 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.003272/0.4869, allocations: 1.022 MB / 0.6298 GB, free: 14.41 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.487, allocations: 16.03 kB / 0.6298 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.488, allocations: 120.6 kB / 0.63 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006558/0.4887, allocations: 350.7 kB / 0.6303 GB, free: 13.89 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.305e-05/0.4887, allocations: 24.94 kB / 0.6303 GB, free: 13.87 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.515e-05/0.4888, allocations: 24.38 kB / 0.6303 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.49, allocations: 450.9 kB / 0.6308 GB, free: 13.36 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.49, allocations: 0 / 0.6308 GB, free: 13.36 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.91e-05/0.4901, allocations: 12 kB / 0.6308 GB, free: 13.35 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.4901, allocations: 8 kB / 0.6308 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.4912, allocations: 369.2 kB / 0.6311 GB, free: 12.98 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003544/0.4948, allocations: 2.384 MB / 0.6335 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.4958, allocations: 266.3 kB / 0.6337 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/0.4961, allocations: 93 kB / 0.6338 GB, free: 10.02 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005205/0.4966, allocations: 493.4 kB / 0.6343 GB, free: 9.449 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.4967, allocations: 34.56 kB / 0.6343 GB, free: 9.406 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.943e-06/0.4967, allocations: 3.938 kB / 0.6343 GB, free: 9.402 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001797/0.4985, allocations: 445.1 kB / 0.6347 GB, free: 8.961 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.364e-05/0.4986, allocations: 110.8 kB / 0.6349 GB, free: 8.828 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004082/0.499, allocations: 316.5 kB / 0.6352 GB, free: 8.508 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.499, allocations: 33.7 kB / 0.6352 GB, free: 8.469 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.4992, allocations: 223.9 kB / 0.6354 GB, free: 8.246 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.734e-05/0.4992, allocations: 39.69 kB / 0.6354 GB, free: 8.207 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.4994, allocations: 57.66 kB / 0.6355 GB, free: 8.145 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.4995, allocations: 346.7 kB / 0.6358 GB, free: 7.797 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.4998, allocations: 79.94 kB / 0.6359 GB, free: 7.719 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003824/0.5002, allocations: 203.4 kB / 0.6361 GB, free: 7.465 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006467/0.5008, allocations: 285.4 kB / 0.6364 GB, free: 7.137 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.5008, allocations: 0 / 0.6364 GB, free: 7.137 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008411/0.5017, allocations: 317 kB / 0.6367 GB, free: 6.82 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.5017, allocations: 8 kB / 0.6367 GB, free: 6.812 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.5017, allocations: 0 / 0.6367 GB, free: 6.812 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.5017, allocations: 8.469 kB / 0.6367 GB, free: 6.805 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.502, allocations: 67.89 kB / 0.6367 GB, free: 6.738 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.502, allocations: 7.938 kB / 0.6368 GB, free: 6.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/0.5023, allocations: 51.7 kB / 0.6368 GB, free: 6.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.5023, allocations: 11.94 kB / 0.6368 GB, free: 6.668 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.0002014/0.5025, allocations: 153.8 kB / 0.637 GB, free: 6.508 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-05/0.5026, allocations: 35.8 kB / 0.637 GB, free: 6.473 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.5039, allocations: 0.7372 MB / 0.6377 GB, free: 5.723 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.5039, allocations: 3.984 kB / 0.6377 GB, free: 5.719 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.504, allocations: 3.938 kB / 0.6377 GB, free: 5.715 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.504, allocations: 4 kB / 0.6377 GB, free: 5.711 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006772/0.5046, allocations: 0.5338 MB / 0.6382 GB, free: 5.129 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.5046, allocations: 0 / 0.6382 GB, free: 5.129 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.5049, allocations: 47.89 kB / 0.6383 GB, free: 5.082 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-06/0.5049, allocations: 7.938 kB / 0.6383 GB, free: 5.074 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.5049, allocations: 4 kB / 0.6383 GB, free: 5.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.5049, allocations: 0 / 0.6383 GB, free: 5.07 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.5049, allocations: 3.938 kB / 0.6383 GB, free: 5.066 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008201/0.5057, allocations: 467 kB / 0.6388 GB, free: 4.594 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.5059, allocations: 116.8 kB / 0.6389 GB, free: 4.461 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-05/0.5059, allocations: 27.73 kB / 0.6389 GB, free: 4.434 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.5062, allocations: 19.98 kB / 0.6389 GB, free: 4.414 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.394e-05/0.5063, allocations: 19.91 kB / 0.6389 GB, free: 4.395 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.5063, allocations: 11.94 kB / 0.6389 GB, free: 4.383 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000418/0.5067, allocations: 342.8 kB / 0.6393 GB, free: 4.047 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5067, allocations: 0 / 0.6393 GB, free: 4.047 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002687/0.5094, allocations: 0.8499 MB / 0.6401 GB, free: 3.195 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.003627/0.513, allocations: 1.009 MB / 0.6411 GB, free: 2.188 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008124/0.5138, allocations: 260.6 kB / 0.6413 GB, free: 1.934 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5138, allocations: 0 / 0.6413 GB, free: 1.934 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.5141, allocations: 139.9 kB / 0.6415 GB, free: 1.797 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009858/0.5151, allocations: 180 kB / 0.6416 GB, free: 1.629 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.5165, allocations: 0.8612 MB / 0.6425 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005009/0.517, allocations: 0.8423 MB / 0.6433 GB, free: 15.87 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003158/0.5174, allocations: 138.7 kB / 0.6434 GB, free: 15.73 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.989e-05/0.5174, allocations: 35.36 kB / 0.6435 GB, free: 15.7 MB / 494.1 MB Notification: Performance of SimCode: time 6.72e-07/0.5174, allocations: 0 / 0.6435 GB, free: 15.7 MB / 494.1 MB Notification: Performance of Templates: time 0.05134/0.5688, allocations: 34 MB / 0.6767 GB, free: 13.72 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 cvode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.6562844440341]