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.0007435/0.0007435, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009679/0.001711, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001085/0.001085, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001338/0.002423, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.012/1.012, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09812/1.11, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.2711/0.2711, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02475/0.2958, allocations: 13.09 MB / 291.3 MB, free: 7.387 MB / 282.7 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 1.292e-06/1.292e-06, allocations: 0 / 292.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.102e-05/1.231e-05, allocations: 5.547 kB / 292.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.0114/0.01141, allocations: 14.57 MB / 307.2 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009984/0.0214, allocations: 11.74 MB / 318.9 MB, free: 11.9 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.02155, allocations: 15.81 kB / 318.9 MB, free: 11.89 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002987/0.02185, allocations: 139 kB / 319.1 MB, free: 11.75 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003744/0.02222, allocations: 282.2 kB / 319.4 MB, free: 11.47 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00848/0.0307, allocations: 4.893 MB / 324.2 MB, free: 6.562 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006982/0.0314, allocations: 0.8459 MB / 325.1 MB, free: 5.715 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002597/0.03166, allocations: 201.2 kB / 325.3 MB, free: 5.516 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002683/0.03434, allocations: 1.874 MB / 327.2 MB, free: 3.629 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.03456, allocations: 199.4 kB / 327.4 MB, free: 3.434 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.679e-05/0.03459, allocations: 28 kB / 327.4 MB, free: 3.406 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007411/0.042, allocations: 6.235 MB / 333.6 MB, free: 13.16 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.158e-05/0.04209, allocations: 71.73 kB / 333.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.0422, allocations: 111.8 kB / 333.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00384/0.04604, allocations: 3.369 MB / 337.2 MB, free: 9.609 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.184e-05/0.04605, allocations: 0 / 337.2 MB, free: 9.609 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.04605, allocations: 8 kB / 337.2 MB, free: 9.602 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.04606, allocations: 0 / 337.2 MB, free: 9.602 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.001353/0.04741, allocations: 1.156 MB / 338.3 MB, free: 8.414 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.04745, allocations: 12.03 kB / 338.3 MB, free: 8.402 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005315/0.04798, allocations: 253.4 kB / 338.6 MB, free: 8.137 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.04825, allocations: 268.6 kB / 338.9 MB, free: 7.848 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.04827, allocations: 16.88 kB / 338.9 MB, free: 7.832 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.0483, allocations: 28.38 kB / 338.9 MB, free: 7.805 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005413/0.04884, allocations: 0.5566 MB / 339.5 MB, free: 7.168 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.04885, allocations: 4.188 kB / 339.5 MB, free: 7.164 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.04887, allocations: 15.94 kB / 339.5 MB, free: 7.148 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.04887, allocations: 4 kB / 339.5 MB, free: 7.145 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003121/0.04919, allocations: 232.7 kB / 339.7 MB, free: 6.914 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.05039, allocations: 1.511 MB / 341.2 MB, free: 5.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003906/0.05078, allocations: 216.3 kB / 341.4 MB, free: 5.121 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.746e-05/0.05082, allocations: 28.86 kB / 341.5 MB, free: 5.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06029/0.1111, allocations: 38.9 MB / 380.4 MB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.1111, allocations: 30.56 kB / 380.4 MB, free: 14.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.964e-06/0.1111, allocations: 0 / 380.4 MB, free: 14.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006498/0.1118, allocations: 304.2 kB / 380.7 MB, free: 13.81 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.1118, allocations: 51.41 kB / 380.7 MB, free: 13.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.112, allocations: 270.8 kB / 381 MB, free: 13.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.112, allocations: 29.7 kB / 381 MB, free: 13.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.296e-05/0.1121, allocations: 196.4 kB / 381.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.1121, allocations: 39.67 kB / 381.3 MB, free: 13.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.777e-05/0.1122, allocations: 57.62 kB / 381.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.554e-05/0.1123, allocations: 338.8 kB / 381.6 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.256e-05/0.1123, allocations: 35.97 kB / 381.7 MB, free: 12.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.1124, allocations: 213.5 kB / 381.9 MB, free: 12.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.1126, allocations: 196.3 kB / 382.1 MB, free: 12.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1126, allocations: 0 / 382.1 MB, free: 12.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001816/0.1128, allocations: 199.6 kB / 382.3 MB, free: 12.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1128, allocations: 8.469 kB / 382.3 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1128, allocations: 8 kB / 382.3 MB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1128, allocations: 7.938 kB / 382.3 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.1129, allocations: 63.91 kB / 382.4 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.113, allocations: 11.92 kB / 382.4 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.1131, allocations: 27.84 kB / 382.4 MB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.1131, allocations: 15.98 kB / 382.4 MB, free: 11.9 MB / 378.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 8.644e-05/0.1132, allocations: 132.5 kB / 382.5 MB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.1132, allocations: 19.98 kB / 382.6 MB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003874/0.1136, allocations: 0.4991 MB / 383.1 MB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.1136, allocations: 15.92 kB / 383.1 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.1136, allocations: 0 / 383.1 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1136, allocations: 0 / 383.1 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.1139, allocations: 298.6 kB / 383.4 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.1139, allocations: 0 / 383.4 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.446e-05/0.114, allocations: 43.91 kB / 383.4 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.087e-05/0.114, allocations: 35.69 kB / 383.4 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.114, allocations: 0 / 383.4 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.114, allocations: 0 / 383.4 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.114, allocations: 3.938 kB / 383.5 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.114, allocations: 0 / 383.5 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.1142, allocations: 335.5 kB / 383.8 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.1143, allocations: 27.73 kB / 383.8 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.359e-05/0.1144, allocations: 11.98 kB / 383.8 MB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/0.1144, allocations: 23.91 kB / 383.8 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.1144, allocations: 7.938 kB / 383.9 MB, free: 10.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001226/0.1145, allocations: 160.7 kB / 384 MB, free: 10.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1145, allocations: 3.938 kB / 384 MB, free: 10.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00197/0.1165, allocations: 0.8577 MB / 384.9 MB, free: 9.391 MB / 378.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.002221/0.1187, allocations: 1.174 MB / 386 MB, free: 8.211 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001904/0.1189, allocations: 128.6 kB / 386.2 MB, free: 8.086 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.368e-05/0.1189, allocations: 8 kB / 386.2 MB, free: 8.078 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.757e-05/0.119, allocations: 68.75 kB / 386.2 MB, free: 8.008 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.1194, allocations: 196.5 kB / 386.4 MB, free: 7.828 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003887/0.1233, allocations: 0.8054 MB / 387.2 MB, free: 6.988 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.702e-05/0.1234, allocations: 117 kB / 387.4 MB, free: 6.852 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001757/0.1236, allocations: 131.3 kB / 387.5 MB, free: 6.719 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/0.1238, allocations: 157.2 kB / 387.6 MB, free: 6.562 MB / 378.7 MB Notification: Performance of SimCode: time 1.202e-06/0.1238, allocations: 0 / 387.6 MB, free: 6.562 MB / 378.7 MB Notification: Performance of Templates: time 0.03491/0.1587, allocations: 37.7 MB / 425.3 MB, free: 0.9766 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 4.398413099348545]