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.001665/0.001665, allocations: 112.5 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001806/0.001806, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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 1.419/1.419, allocations: 230.6 MB / 258.3 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] 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.2263/0.2263, allocations: 46.93 MB / 361.6 MB, free: 4.238 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+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 0.002154/0.002154, allocations: 63.89 kB / 0.4974 GB, free: 7.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3315, allocations: 66.03 MB / 0.5619 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03832/0.3698, allocations: 30.62 MB / 0.5918 GB, free: 5.668 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02187/0.3917, allocations: 15.68 MB / 0.6071 GB, free: 5.941 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004386/0.3922, allocations: 11.88 kB / 0.6071 GB, free: 5.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008444/0.393, allocations: 218.6 kB / 0.6073 GB, free: 5.715 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009412/0.3939, allocations: 274.3 kB / 0.6076 GB, free: 5.445 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01723/0.4112, allocations: 5.668 MB / 0.6131 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001609/0.4128, allocations: 0.8303 MB / 0.6139 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005338/0.4133, allocations: 193 kB / 0.6141 GB, free: 14.76 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01304/0.4263, allocations: 5.52 MB / 0.6195 GB, free: 9.156 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005755/0.4269, allocations: 247 kB / 0.6197 GB, free: 8.914 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.427, allocations: 28 kB / 0.6197 GB, free: 8.887 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0129/0.4399, allocations: 6.111 MB / 0.6257 GB, free: 2.77 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000237/0.4402, allocations: 91.67 kB / 0.6258 GB, free: 2.68 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003645/0.4405, allocations: 183.2 kB / 0.626 GB, free: 2.5 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009501/0.45, allocations: 3.675 MB / 0.6296 GB, free: 14.82 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.45, allocations: 3.938 kB / 0.6296 GB, free: 14.81 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.45, allocations: 0 / 0.6296 GB, free: 14.81 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.907e-05/0.4501, allocations: 0 / 0.6296 GB, free: 14.81 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.00288/0.4529, allocations: 0.9586 MB / 0.6305 GB, free: 13.82 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.453, allocations: 12.03 kB / 0.6305 GB, free: 13.81 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.4541, allocations: 120.6 kB / 0.6306 GB, free: 13.69 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006109/0.4547, allocations: 284.9 kB / 0.6309 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.866e-05/0.4547, allocations: 24.88 kB / 0.6309 GB, free: 13.36 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.943e-05/0.4548, allocations: 24.38 kB / 0.631 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.456, allocations: 454.1 kB / 0.6314 GB, free: 12.86 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.456, allocations: 4 kB / 0.6314 GB, free: 12.85 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.456, allocations: 12 kB / 0.6314 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.456, allocations: 4 kB / 0.6314 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.4572, allocations: 377.2 kB / 0.6318 GB, free: 12.47 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003323/0.4605, allocations: 2.191 MB / 0.6339 GB, free: 10.11 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.4615, allocations: 270.2 kB / 0.6342 GB, free: 9.832 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.4618, allocations: 92.78 kB / 0.6342 GB, free: 9.738 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000275/0.4621, allocations: 95.92 kB / 0.6343 GB, free: 9.645 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.4621, allocations: 38.56 kB / 0.6344 GB, free: 9.598 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.884e-06/0.4621, allocations: 0 / 0.6344 GB, free: 9.598 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001704/0.4638, allocations: 453 kB / 0.6348 GB, free: 9.148 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.506e-05/0.4639, allocations: 114.8 kB / 0.6349 GB, free: 9.012 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/0.4643, allocations: 328.7 kB / 0.6352 GB, free: 8.68 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.4644, allocations: 25.7 kB / 0.6353 GB, free: 8.648 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.4645, allocations: 219.9 kB / 0.6355 GB, free: 8.43 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.4646, allocations: 39.69 kB / 0.6355 GB, free: 8.391 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.325e-05/0.4647, allocations: 57.64 kB / 0.6356 GB, free: 8.328 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.4649, allocations: 338.8 kB / 0.6359 GB, free: 7.988 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/0.4651, allocations: 87.92 kB / 0.636 GB, free: 7.902 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003658/0.4655, allocations: 203.4 kB / 0.6362 GB, free: 7.648 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005932/0.4661, allocations: 277.4 kB / 0.6364 GB, free: 7.328 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.4661, allocations: 0 / 0.6364 GB, free: 7.328 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007762/0.4669, allocations: 325 kB / 0.6367 GB, free: 7.004 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.4669, allocations: 10.97 kB / 0.6367 GB, free: 6.996 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.4669, allocations: 8 kB / 0.6368 GB, free: 6.988 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.4669, allocations: 4 kB / 0.6368 GB, free: 6.984 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.4672, allocations: 59.89 kB / 0.6368 GB, free: 6.926 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.4672, allocations: 15.88 kB / 0.6368 GB, free: 6.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.4674, allocations: 43.72 kB / 0.6369 GB, free: 6.867 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.4675, allocations: 15.98 kB / 0.6369 GB, free: 6.852 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.0001866/0.4677, allocations: 161.7 kB / 0.637 GB, free: 6.684 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.64e-05/0.4677, allocations: 31.81 kB / 0.6371 GB, free: 6.652 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.4689, allocations: 0.7568 MB / 0.6378 GB, free: 5.887 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.469, allocations: 11.98 kB / 0.6378 GB, free: 5.875 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.469, allocations: 3.938 kB / 0.6378 GB, free: 5.871 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.469, allocations: 3.984 kB / 0.6378 GB, free: 5.867 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006284/0.4696, allocations: 0.5056 MB / 0.6383 GB, free: 5.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.4696, allocations: 4 kB / 0.6383 GB, free: 5.316 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.4698, allocations: 43.89 kB / 0.6384 GB, free: 5.273 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.4698, allocations: 0 / 0.6384 GB, free: 5.273 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.4698, allocations: 4 kB / 0.6384 GB, free: 5.27 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.4698, allocations: 4 kB / 0.6384 GB, free: 5.266 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.4698, allocations: 11.94 kB / 0.6384 GB, free: 5.254 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007596/0.4706, allocations: 470.6 kB / 0.6388 GB, free: 4.777 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.452e-05/0.4707, allocations: 43.58 kB / 0.6389 GB, free: 4.734 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.679e-05/0.4708, allocations: 27.8 kB / 0.6389 GB, free: 4.707 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.471, allocations: 15.97 kB / 0.6389 GB, free: 4.691 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.884e-05/0.471, allocations: 27.84 kB / 0.6389 GB, free: 4.664 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.471, allocations: 4 kB / 0.6389 GB, free: 4.66 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003978/0.4714, allocations: 346.8 kB / 0.6393 GB, free: 4.32 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4714, allocations: 0 / 0.6393 GB, free: 4.32 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002486/0.4739, allocations: 0.8499 MB / 0.6401 GB, free: 3.469 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.004006/0.4779, allocations: 0.9815 MB / 0.6411 GB, free: 2.477 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007704/0.4787, allocations: 268.5 kB / 0.6413 GB, free: 2.215 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4787, allocations: 8 kB / 0.6413 GB, free: 2.207 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002985/0.479, allocations: 131.9 kB / 0.6415 GB, free: 2.078 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009593/0.48, allocations: 194.3 kB / 0.6416 GB, free: 1.895 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.4815, allocations: 0.8876 MB / 0.6425 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005168/0.482, allocations: 0.8461 MB / 0.6433 GB, free: 96 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.4821, allocations: 31.44 kB / 0.6434 GB, free: 64 kB / 478.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4821, allocations: 3.938 kB / 0.6434 GB, free: 60 kB / 478.1 MB Notification: Performance of Templates: time 0.03354/0.5157, allocations: 19.93 MB / 0.6628 GB, free: 12.14 MB / 0.4981 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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: 10.121012896997854]