Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001233/0.001233, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001284/0.001284, allocations: 165.7 kB / 24.84 MB, free: 8.711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9912/0.9912, allocations: 158.6 MB / 186.7 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1501/0.1501, allocations: 32.38 MB / 271.5 MB, free: 14.4 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 348.9 MB, free: 9.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.774e-05, allocations: 2.312 kB / 348.9 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.01669/0.01672, allocations: 14.24 MB / 363.2 MB, free: 10.87 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.02929, allocations: 11.48 MB / 374.6 MB, free: 15.35 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003322/0.02962, allocations: 11.88 kB / 374.6 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004287/0.03005, allocations: 127 kB / 374.8 MB, free: 15.21 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006975/0.03075, allocations: 290.1 kB / 375 MB, free: 14.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01306/0.04381, allocations: 5.351 MB / 380.4 MB, free: 9.559 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00104/0.04485, allocations: 0.8381 MB / 381.2 MB, free: 8.719 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004274/0.04528, allocations: 205 kB / 381.4 MB, free: 8.52 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003628/0.0489, allocations: 2.193 MB / 383.6 MB, free: 6.301 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003062/0.04921, allocations: 211.3 kB / 383.8 MB, free: 6.094 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.486e-05/0.04926, allocations: 28 kB / 383.9 MB, free: 6.066 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008555/0.05781, allocations: 5.794 MB / 389.7 MB, free: 272 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.05798, allocations: 99.64 kB / 389.8 MB, free: 172 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002732/0.05825, allocations: 135.7 kB / 389.9 MB, free: 36 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008967/0.06722, allocations: 4.432 MB / 394.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.06723, allocations: 0 / 394.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.06723, allocations: 0 / 394.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.447e-06/0.06724, allocations: 0 / 394.3 MB, free: 11.59 MB / 330.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.002331/0.06957, allocations: 1.015 MB / 395.3 MB, free: 10.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.06961, allocations: 12.03 kB / 395.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000579/0.07019, allocations: 164.1 kB / 395.5 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.07057, allocations: 295.4 kB / 395.8 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.07059, allocations: 24.88 kB / 395.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.07062, allocations: 24.38 kB / 395.8 MB, free: 10 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006986/0.07132, allocations: 0.5784 MB / 396.4 MB, free: 9.336 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.07133, allocations: 192 / 396.4 MB, free: 9.336 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.07136, allocations: 19.88 kB / 396.4 MB, free: 9.316 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.07137, allocations: 8 kB / 396.5 MB, free: 9.309 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003954/0.07176, allocations: 227.1 kB / 396.7 MB, free: 9.082 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002012/0.07377, allocations: 2.135 MB / 398.8 MB, free: 6.863 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005062/0.07428, allocations: 226.8 kB / 399 MB, free: 6.629 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.799e-05/0.07433, allocations: 39.61 kB / 399.1 MB, free: 6.586 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001838/0.07451, allocations: 95.92 kB / 399.2 MB, free: 6.492 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.07454, allocations: 37.39 kB / 399.2 MB, free: 6.445 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 2.425e-06/0.07455, allocations: 0 / 399.2 MB, free: 6.445 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007171/0.07526, allocations: 317.6 kB / 399.5 MB, free: 6.129 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.07532, allocations: 106.8 kB / 399.6 MB, free: 6 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.07553, allocations: 318.1 kB / 399.9 MB, free: 5.672 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.07555, allocations: 25.7 kB / 399.9 MB, free: 5.641 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.0757, allocations: 274.5 kB / 400.2 MB, free: 5.367 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.07572, allocations: 43.69 kB / 400.3 MB, free: 5.324 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.329e-05/0.0758, allocations: 63.28 kB / 400.3 MB, free: 5.254 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.07598, allocations: 0.5117 MB / 400.8 MB, free: 4.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.12e-05/0.07605, allocations: 35.95 kB / 400.9 MB, free: 4.695 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.07624, allocations: 263.8 kB / 401.1 MB, free: 4.352 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.07646, allocations: 246.7 kB / 401.4 MB, free: 4.043 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.07646, allocations: 0 / 401.4 MB, free: 4.043 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002946/0.07676, allocations: 235.1 kB / 401.6 MB, free: 3.809 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.07678, allocations: 4 kB / 401.6 MB, free: 3.805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.07679, allocations: 4 kB / 401.6 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.0768, allocations: 11.98 kB / 401.6 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.07695, allocations: 56.38 kB / 401.7 MB, free: 3.734 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.07697, allocations: 19.92 kB / 401.7 MB, free: 3.715 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.0771, allocations: 31.78 kB / 401.7 MB, free: 3.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.07712, allocations: 8 kB / 401.7 MB, free: 3.676 MB / 330.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.0001211/0.07724, allocations: 184.4 kB / 401.9 MB, free: 3.484 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.07728, allocations: 23.86 kB / 401.9 MB, free: 3.461 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004442/0.07772, allocations: 0.4944 MB / 402.4 MB, free: 2.957 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.07773, allocations: 8 kB / 402.4 MB, free: 2.949 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.07774, allocations: 0 / 402.4 MB, free: 2.949 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.07774, allocations: 3.984 kB / 402.4 MB, free: 2.945 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003182/0.07806, allocations: 326.6 kB / 402.8 MB, free: 2.598 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.07806, allocations: 0 / 402.8 MB, free: 2.598 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.509e-05/0.07815, allocations: 35.91 kB / 402.8 MB, free: 2.562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.07815, allocations: 0 / 402.8 MB, free: 2.562 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.07816, allocations: 8 kB / 402.8 MB, free: 2.555 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.07816, allocations: 4 kB / 402.8 MB, free: 2.551 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.07816, allocations: 0 / 402.8 MB, free: 2.551 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.07849, allocations: 391.4 kB / 403.2 MB, free: 2.148 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.07853, allocations: 39.62 kB / 403.2 MB, free: 2.109 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.07856, allocations: 19.84 kB / 403.2 MB, free: 2.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.997e-05/0.07864, allocations: 8 kB / 403.3 MB, free: 2.082 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/0.0787, allocations: 23.95 kB / 403.3 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.07871, allocations: 0 / 403.3 MB, free: 2.059 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001658/0.07887, allocations: 291 kB / 403.6 MB, free: 1.773 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07887, allocations: 4 kB / 403.6 MB, free: 1.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002722/0.08159, allocations: 0.8538 MB / 404.4 MB, free: 0.9141 MB / 330.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.00505/0.08664, allocations: 1.141 MB / 405.6 MB, free: 15.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003558/0.087, allocations: 139.4 kB / 405.7 MB, free: 15.63 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.087, allocations: 0 / 405.7 MB, free: 15.63 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.012e-05/0.08708, allocations: 72.56 kB / 405.8 MB, free: 15.56 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005414/0.08762, allocations: 161 kB / 405.9 MB, free: 15.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.08887, allocations: 0.7582 MB / 406.7 MB, free: 14.61 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.718e-05/0.08894, allocations: 117.1 kB / 406.8 MB, free: 14.48 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002156/0.08916, allocations: 139.7 kB / 406.9 MB, free: 14.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/0.08942, allocations: 198.1 kB / 407.1 MB, free: 14.15 MB / 346.7 MB Notification: Performance of SimCode: time 3.156e-06/0.08942, allocations: 0 / 407.1 MB, free: 14.15 MB / 346.7 MB Notification: Performance of Templates: time 0.1855/0.2749, allocations: 38.24 MB / 445.4 MB, free: 69.61 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 5.452081323135644]