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.002149/0.002149, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002612/0.002612, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.604/1.604, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2881/0.2881, allocations: 46.92 MB / 357.1 MB, free: 10.32 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.002098/0.002098, allocations: 63.91 kB / 0.4914 GB, free: 7.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1683, allocations: 66 MB / 0.5558 GB, free: 5.363 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.04215/0.2105, allocations: 30.36 MB / 0.5855 GB, free: 6.891 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3126/0.5231, allocations: 15.59 MB / 0.6007 GB, free: 4.238 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004507/0.5235, allocations: 19.22 kB / 0.6007 GB, free: 4.234 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008205/0.5243, allocations: 216.6 kB / 0.6009 GB, free: 4.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006886/0.525, allocations: 274.2 kB / 0.6012 GB, free: 4.223 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0221/0.5471, allocations: 5.647 MB / 0.6067 GB, free: 4.098 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00126/0.5484, allocations: 0.82 MB / 0.6075 GB, free: 3.996 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003878/0.5488, allocations: 202.9 kB / 0.6077 GB, free: 3.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01172/0.5605, allocations: 5.502 MB / 0.6131 GB, free: 2.379 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005829/0.5611, allocations: 246.7 kB / 0.6133 GB, free: 2.328 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.96e-05/0.5612, allocations: 29.22 kB / 0.6134 GB, free: 2.328 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01287/0.574, allocations: 6.095 MB / 0.6193 GB, free: 1.848 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.5743, allocations: 99.5 kB / 0.6194 GB, free: 1.805 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003777/0.5746, allocations: 184.3 kB / 0.6196 GB, free: 1.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00998/0.5846, allocations: 3.68 MB / 0.6232 GB, free: 15.73 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.5846, allocations: 0 / 0.6232 GB, free: 15.73 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5846, allocations: 0 / 0.6232 GB, free: 15.73 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.721e-05/0.5846, allocations: 0 / 0.6232 GB, free: 15.73 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.003724/0.5884, allocations: 1.02 MB / 0.6242 GB, free: 14.94 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.5884, allocations: 12.03 kB / 0.6242 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.5895, allocations: 122.4 kB / 0.6243 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005783/0.5901, allocations: 349.2 kB / 0.6246 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.617e-05/0.5901, allocations: 25.09 kB / 0.6247 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.092e-05/0.5901, allocations: 23.91 kB / 0.6247 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.5914, allocations: 452.5 kB / 0.6251 GB, free: 14.22 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.5914, allocations: 2.719 kB / 0.6251 GB, free: 14.22 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/0.5914, allocations: 10.81 kB / 0.6251 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.5914, allocations: 6.781 kB / 0.6251 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.5926, allocations: 375.8 kB / 0.6255 GB, free: 14.04 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00359/0.5962, allocations: 2.379 MB / 0.6278 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.5973, allocations: 266.4 kB / 0.6281 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003156/0.5977, allocations: 93.56 kB / 0.6281 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005342/0.5982, allocations: 495 kB / 0.6286 GB, free: 11.08 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.5982, allocations: 35.19 kB / 0.6287 GB, free: 11.04 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.5982, allocations: 0 / 0.6287 GB, free: 11.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001912/0.6001, allocations: 446.8 kB / 0.6291 GB, free: 10.82 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.408e-05/0.6002, allocations: 105.6 kB / 0.6292 GB, free: 10.7 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004143/0.6006, allocations: 327.4 kB / 0.6295 GB, free: 10.48 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.359e-05/0.6007, allocations: 30.95 kB / 0.6295 GB, free: 10.45 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.6009, allocations: 219.2 kB / 0.6297 GB, free: 10.25 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.155e-05/0.6009, allocations: 44.89 kB / 0.6298 GB, free: 10.21 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.601, allocations: 50.33 kB / 0.6298 GB, free: 10.18 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.6012, allocations: 345.7 kB / 0.6302 GB, free: 9.836 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/0.6015, allocations: 81.31 kB / 0.6302 GB, free: 9.801 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004137/0.6019, allocations: 208.4 kB / 0.6304 GB, free: 9.602 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006805/0.6026, allocations: 288.7 kB / 0.6307 GB, free: 9.367 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.6026, allocations: 0 / 0.6307 GB, free: 9.367 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008332/0.6034, allocations: 316.3 kB / 0.631 GB, free: 9.199 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.6035, allocations: 7.75 kB / 0.631 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.6035, allocations: 4.641 kB / 0.631 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.6035, allocations: 7.844 kB / 0.631 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003333/0.6038, allocations: 69.02 kB / 0.6311 GB, free: 9.176 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/0.6039, allocations: 10.81 kB / 0.6311 GB, free: 9.168 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003166/0.6042, allocations: 50.3 kB / 0.6312 GB, free: 9.137 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.6042, allocations: 9.844 kB / 0.6312 GB, free: 9.137 MB / 462.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.000205/0.6044, allocations: 158.8 kB / 0.6313 GB, free: 8.992 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.08e-05/0.6045, allocations: 30 kB / 0.6313 GB, free: 8.977 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.6058, allocations: 0.7475 MB / 0.6321 GB, free: 8.523 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.6058, allocations: 6.547 kB / 0.6321 GB, free: 8.52 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.6058, allocations: 7.312 kB / 0.6321 GB, free: 8.516 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.6058, allocations: 4 kB / 0.6321 GB, free: 8.512 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006855/0.6065, allocations: 0.5323 MB / 0.6326 GB, free: 8.078 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.6065, allocations: 0 / 0.6326 GB, free: 8.078 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/0.6067, allocations: 49.55 kB / 0.6327 GB, free: 8.059 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.6067, allocations: 2.344 kB / 0.6327 GB, free: 8.059 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.6067, allocations: 0 / 0.6327 GB, free: 8.059 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.6067, allocations: 0 / 0.6327 GB, free: 8.059 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.6067, allocations: 6.656 kB / 0.6327 GB, free: 8.055 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008665/0.6076, allocations: 463 kB / 0.6331 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.6078, allocations: 126.2 kB / 0.6332 GB, free: 7.617 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.878e-05/0.6078, allocations: 22 kB / 0.6332 GB, free: 7.602 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.608, allocations: 23.02 kB / 0.6333 GB, free: 7.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.415e-05/0.6081, allocations: 18.47 kB / 0.6333 GB, free: 7.578 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.6082, allocations: 11.88 kB / 0.6333 GB, free: 7.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004147/0.6086, allocations: 343.8 kB / 0.6336 GB, free: 7.367 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6086, allocations: 0 / 0.6336 GB, free: 7.367 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003949/0.6125, allocations: 0.8462 MB / 0.6345 GB, free: 7.219 MB / 462.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.004686/0.6172, allocations: 0.9884 MB / 0.6354 GB, free: 6.895 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008687/0.6181, allocations: 263.6 kB / 0.6357 GB, free: 6.773 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.6181, allocations: 0 / 0.6357 GB, free: 6.773 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003147/0.6184, allocations: 137.7 kB / 0.6358 GB, free: 6.711 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.6194, allocations: 179.8 kB / 0.636 GB, free: 6.621 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.6209, allocations: 0.858 MB / 0.6368 GB, free: 6.078 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004875/0.6214, allocations: 0.8454 MB / 0.6376 GB, free: 5.309 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003195/0.6217, allocations: 143.1 kB / 0.6378 GB, free: 5.246 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.921e-05/0.6218, allocations: 39.17 kB / 0.6378 GB, free: 5.23 MB / 462.1 MB Notification: Performance of SimCode: time 3.81e-07/0.6218, allocations: 0 / 0.6378 GB, free: 5.23 MB / 462.1 MB Notification: Performance of Templates: time 0.05326/0.675, allocations: 33.92 MB / 0.6709 GB, free: 4.223 MB / 494.1 MB " [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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins/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: 8.207166574895382]