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.0009507/0.0009507, allocations: 91.33 kB / 20.43 MB, free: 4.137 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.0009565/0.0009565, allocations: 169 kB / 23.8 MB, free: 0.7695 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.8862/0.8862, allocations: 158.6 MB / 185.7 MB, free: 2.883 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.1279/0.1279, allocations: 32.37 MB / 270.4 MB, free: 14.69 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 1.613e-06/1.613e-06, allocations: 0 / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.151e-05, allocations: 2.312 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.01107/0.01109, allocations: 14.4 MB / 362.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01023/0.02133, allocations: 11.67 MB / 373.7 MB, free: 15.28 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002341/0.02156, allocations: 11.88 kB / 373.8 MB, free: 15.27 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004837/0.02205, allocations: 134.9 kB / 373.9 MB, free: 15.13 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005117/0.02256, allocations: 286.2 kB / 374.2 MB, free: 14.85 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01016/0.03272, allocations: 5.348 MB / 379.5 MB, free: 9.484 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008293/0.03355, allocations: 0.8419 MB / 380.4 MB, free: 8.641 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000297/0.03385, allocations: 201 kB / 380.5 MB, free: 8.445 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003178/0.03703, allocations: 2.201 MB / 382.7 MB, free: 6.219 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.03727, allocations: 207.3 kB / 383 MB, free: 6.016 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.047e-05/0.03731, allocations: 32 kB / 383 MB, free: 5.984 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007512/0.04483, allocations: 5.794 MB / 388.8 MB, free: 188 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003714/0.0452, allocations: 91.66 kB / 388.9 MB, free: 96 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.04534, allocations: 139.8 kB / 389 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007312/0.05265, allocations: 4.432 MB / 393.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.05266, allocations: 0 / 393.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.05266, allocations: 0 / 393.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.05267, allocations: 0 / 393.4 MB, free: 11.52 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.001685/0.05435, allocations: 1.012 MB / 394.4 MB, free: 10.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.0544, allocations: 12.03 kB / 394.5 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005445/0.05494, allocations: 168.1 kB / 394.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.0553, allocations: 299.3 kB / 394.9 MB, free: 9.965 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.05533, allocations: 20.88 kB / 394.9 MB, free: 9.945 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.05536, allocations: 24.38 kB / 395 MB, free: 9.922 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000684/0.05605, allocations: 0.5906 MB / 395.5 MB, free: 9.242 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.05606, allocations: 192 / 395.5 MB, free: 9.242 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.05608, allocations: 15.94 kB / 395.6 MB, free: 9.227 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.0561, allocations: 8 kB / 395.6 MB, free: 9.219 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004175/0.05651, allocations: 266.5 kB / 395.8 MB, free: 8.953 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/0.05848, allocations: 2.186 MB / 398 MB, free: 6.684 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005001/0.05898, allocations: 234.8 kB / 398.2 MB, free: 6.441 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.116e-05/0.05904, allocations: 43.66 kB / 398.3 MB, free: 6.395 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001639/0.05921, allocations: 91.92 kB / 398.4 MB, free: 6.305 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.05923, allocations: 37.39 kB / 398.4 MB, free: 6.258 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.773e-06/0.05924, allocations: 0 / 398.4 MB, free: 6.258 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006744/0.05991, allocations: 341.1 kB / 398.7 MB, free: 5.918 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.05997, allocations: 110.8 kB / 398.9 MB, free: 5.785 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.06019, allocations: 314.2 kB / 399.2 MB, free: 5.461 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.06021, allocations: 29.7 kB / 399.2 MB, free: 5.426 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.06036, allocations: 262.7 kB / 399.5 MB, free: 5.164 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.0604, allocations: 43.69 kB / 399.5 MB, free: 5.121 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.021e-05/0.06047, allocations: 59.31 kB / 399.6 MB, free: 5.055 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.0606, allocations: 0.5078 MB / 400.1 MB, free: 4.535 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.043e-05/0.06067, allocations: 46.7 kB / 400.1 MB, free: 4.492 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.06085, allocations: 263.8 kB / 400.4 MB, free: 4.148 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.06106, allocations: 267 kB / 400.6 MB, free: 3.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.06106, allocations: 4 kB / 400.6 MB, free: 3.816 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002697/0.06133, allocations: 237.5 kB / 400.9 MB, free: 3.578 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.06134, allocations: 4.031 kB / 400.9 MB, free: 3.574 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.06135, allocations: 8 kB / 400.9 MB, free: 3.566 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.06136, allocations: 11.98 kB / 400.9 MB, free: 3.555 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.06149, allocations: 55.91 kB / 400.9 MB, free: 3.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.0615, allocations: 8 kB / 400.9 MB, free: 3.492 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9e-05/0.06159, allocations: 35.77 kB / 401 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.0616, allocations: 8 kB / 401 MB, free: 3.449 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.0001017/0.0617, allocations: 180.4 kB / 401.2 MB, free: 3.262 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.06174, allocations: 35.8 kB / 401.2 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000464/0.0622, allocations: 0.5218 MB / 401.7 MB, free: 2.695 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.06221, allocations: 7.984 kB / 401.7 MB, free: 2.688 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.06221, allocations: 0 / 401.7 MB, free: 2.688 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.06222, allocations: 0 / 401.7 MB, free: 2.688 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000293/0.06251, allocations: 398 kB / 402.1 MB, free: 2.262 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.06251, allocations: 0 / 402.1 MB, free: 2.262 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.669e-05/0.06259, allocations: 35.97 kB / 402.2 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.06259, allocations: 3.984 kB / 402.2 MB, free: 2.223 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.0626, allocations: 4 kB / 402.2 MB, free: 2.219 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.06261, allocations: 4 kB / 402.2 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.06261, allocations: 0 / 402.2 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.0629, allocations: 411.3 kB / 402.6 MB, free: 1.793 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.966e-05/0.06293, allocations: 39.62 kB / 402.6 MB, free: 1.754 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.06297, allocations: 27.78 kB / 402.6 MB, free: 1.727 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.792e-05/0.06304, allocations: 8 kB / 402.6 MB, free: 1.719 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/0.0631, allocations: 23.95 kB / 402.7 MB, free: 1.695 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.06311, allocations: 4 kB / 402.7 MB, free: 1.691 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000206/0.06332, allocations: 307 kB / 403 MB, free: 1.391 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06332, allocations: 0 / 403 MB, free: 1.391 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002057/0.06537, allocations: 0.8499 MB / 403.8 MB, free: 0.5391 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.002446/0.06782, allocations: 1.096 MB / 404.9 MB, free: 15.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002672/0.06809, allocations: 164.4 kB / 405.1 MB, free: 15.28 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.06809, allocations: 4 kB / 405.1 MB, free: 15.28 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.786e-05/0.06818, allocations: 79.59 kB / 405.2 MB, free: 15.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004642/0.06864, allocations: 171.7 kB / 405.3 MB, free: 15.03 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.06976, allocations: 0.7738 MB / 406.1 MB, free: 14.22 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.672e-05/0.06984, allocations: 121.1 kB / 406.2 MB, free: 14.08 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001714/0.07001, allocations: 130.8 kB / 406.3 MB, free: 13.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.417e-05/0.07007, allocations: 32.5 kB / 406.4 MB, free: 13.93 MB / 346.7 MB Notification: Performance of SimCode: time 9.62e-07/0.07007, allocations: 0 / 406.4 MB, free: 13.93 MB / 346.7 MB Notification: Performance of Templates: time 0.1653/0.2354, allocations: 33.72 MB / 440.1 MB, free: 69.48 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: 4.3668579906225204]