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.00138/0.00138, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001453/0.001453, allocations: 168.6 kB / 24.5 MB, free: 3.453 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.476/1.476, allocations: 177.2 MB / 204.9 MB, free: 9.055 MB / 190.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.2318/0.2318, allocations: 34.27 MB / 295.5 MB, free: 14.6 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+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.00222/0.00222, allocations: 71.88 kB / 443.1 MB, free: 6.723 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3422, allocations: 66 MB / 0.4972 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.02408/0.3662, allocations: 27.7 MB / 0.5243 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0163/0.3825, allocations: 13.83 MB / 0.5378 GB, free: 2.457 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003476/0.3829, allocations: 14.41 kB / 0.5378 GB, free: 2.449 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006903/0.3836, allocations: 199.9 kB / 0.538 GB, free: 2.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006673/0.3842, allocations: 274.5 kB / 0.5382 GB, free: 2.172 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01719/0.4014, allocations: 5.601 MB / 0.5437 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001579/0.403, allocations: 0.8284 MB / 0.5445 GB, free: 15.14 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004161/0.4034, allocations: 200.9 kB / 0.5447 GB, free: 15 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01459/0.418, allocations: 5.507 MB / 0.5501 GB, free: 11.51 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006156/0.4186, allocations: 232.3 kB / 0.5503 GB, free: 11.38 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.381e-05/0.4187, allocations: 28.16 kB / 0.5503 GB, free: 11.38 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0151/0.4338, allocations: 5.843 MB / 0.556 GB, free: 8.457 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001936/0.434, allocations: 91.42 kB / 0.5561 GB, free: 8.387 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003825/0.4344, allocations: 160.4 kB / 0.5563 GB, free: 8.301 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009639/0.444, allocations: 3.674 MB / 0.5599 GB, free: 5.469 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.444, allocations: 3.938 kB / 0.5599 GB, free: 5.465 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.444, allocations: 0 / 0.5599 GB, free: 5.465 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.444, allocations: 0 / 0.5599 GB, free: 5.465 MB / 462.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.002932/0.447, allocations: 0.9469 MB / 0.5608 GB, free: 4.484 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.447, allocations: 12.03 kB / 0.5608 GB, free: 4.473 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.4481, allocations: 124.6 kB / 0.5609 GB, free: 4.352 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000613/0.4487, allocations: 277.3 kB / 0.5612 GB, free: 4.059 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.986e-05/0.4487, allocations: 28.88 kB / 0.5612 GB, free: 4.027 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.865e-05/0.4488, allocations: 24.38 kB / 0.5612 GB, free: 4.004 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.4501, allocations: 0.5902 MB / 0.5618 GB, free: 3.336 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.4501, allocations: 11.92 kB / 0.5618 GB, free: 3.324 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.161e-05/0.4502, allocations: 12 kB / 0.5618 GB, free: 3.312 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.4502, allocations: 4 kB / 0.5618 GB, free: 3.309 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.4514, allocations: 369.5 kB / 0.5622 GB, free: 2.949 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003086/0.4545, allocations: 1.727 MB / 0.5639 GB, free: 1.148 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.4555, allocations: 266.3 kB / 0.5641 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002864/0.4558, allocations: 88.8 kB / 0.5642 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002898/0.4561, allocations: 107.9 kB / 0.5643 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.4561, allocations: 34.56 kB / 0.5644 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.763e-06/0.4561, allocations: 0 / 0.5644 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001803/0.458, allocations: 453.2 kB / 0.5648 GB, free: 196 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.522e-05/0.458, allocations: 106.8 kB / 0.5649 GB, free: 64 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.4584, allocations: 288 kB / 0.5652 GB, free: 15.77 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.4584, allocations: 25.7 kB / 0.5652 GB, free: 15.74 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.4586, allocations: 219.9 kB / 0.5654 GB, free: 15.52 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/0.4586, allocations: 39.67 kB / 0.5654 GB, free: 15.48 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.4587, allocations: 61.66 kB / 0.5655 GB, free: 15.42 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.4589, allocations: 334.8 kB / 0.5658 GB, free: 15.08 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003211/0.4592, allocations: 91.92 kB / 0.5659 GB, free: 14.99 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004618/0.4597, allocations: 261 kB / 0.5662 GB, free: 14.67 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006434/0.4603, allocations: 269.5 kB / 0.5664 GB, free: 14.36 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4603, allocations: 4 kB / 0.5664 GB, free: 14.36 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008046/0.4611, allocations: 317.3 kB / 0.5667 GB, free: 14.04 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.4612, allocations: 11.94 kB / 0.5667 GB, free: 14.03 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.4612, allocations: 4 kB / 0.5667 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.4612, allocations: 4 kB / 0.5667 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.4615, allocations: 67.89 kB / 0.5668 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.4615, allocations: 4 kB / 0.5668 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.4617, allocations: 39.92 kB / 0.5668 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.4617, allocations: 16 kB / 0.5669 GB, free: 13.89 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.000175/0.4619, allocations: 154.4 kB / 0.567 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.254e-05/0.462, allocations: 23.86 kB / 0.567 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.4634, allocations: 0.7911 MB / 0.5678 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.4634, allocations: 8 kB / 0.5678 GB, free: 12.9 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.4634, allocations: 0 / 0.5678 GB, free: 12.9 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.4634, allocations: 7.922 kB / 0.5678 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005925/0.464, allocations: 426.8 kB / 0.5682 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.464, allocations: 3.938 kB / 0.5682 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.4642, allocations: 47.95 kB / 0.5683 GB, free: 12.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4642, allocations: 0 / 0.5683 GB, free: 12.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.4643, allocations: 4 kB / 0.5683 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4643, allocations: 0 / 0.5683 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4643, allocations: 4 kB / 0.5683 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008187/0.4651, allocations: 471.6 kB / 0.5687 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.906e-05/0.4652, allocations: 47.62 kB / 0.5688 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.827e-05/0.4652, allocations: 19.78 kB / 0.5688 GB, free: 11.85 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.4654, allocations: 27.98 kB / 0.5688 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.177e-05/0.4655, allocations: 19.89 kB / 0.5688 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.4655, allocations: 8 kB / 0.5688 GB, free: 11.79 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003609/0.4659, allocations: 307.1 kB / 0.5691 GB, free: 11.49 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4659, allocations: 0 / 0.5691 GB, free: 11.49 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002881/0.4688, allocations: 0.8577 MB / 0.57 GB, free: 10.63 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.00436/0.4731, allocations: 0.9776 MB / 0.5709 GB, free: 9.641 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007953/0.4739, allocations: 275.5 kB / 0.5712 GB, free: 9.371 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.279e-06/0.4739, allocations: 4 kB / 0.5712 GB, free: 9.367 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003209/0.4743, allocations: 140.8 kB / 0.5713 GB, free: 9.23 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008544/0.4751, allocations: 132.9 kB / 0.5715 GB, free: 9.105 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.4765, allocations: 0.8391 MB / 0.5723 GB, free: 8.234 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.4767, allocations: 247.7 kB / 0.5725 GB, free: 7.969 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003036/0.4771, allocations: 139.2 kB / 0.5726 GB, free: 7.84 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.499e-05/0.4771, allocations: 36.42 kB / 0.5727 GB, free: 7.805 MB / 478.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4771, allocations: 0 / 0.5727 GB, free: 7.805 MB / 478.1 MB Notification: Performance of Templates: time 0.05307/0.5302, allocations: 33.07 MB / 0.605 GB, free: 6.824 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 -s ida -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: 7.5425819110823795]