Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008615/0.0008615, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.0009247/0.0009247, allocations: 161 kB / 24.56 MB, free: 20 kB / 18.57 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.015/1.015, allocations: 177.2 MB / 205 MB, free: 5.293 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2787/0.2787, allocations: 32.81 MB / 294.3 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.533e-05, allocations: 5.406 kB / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.0143/0.01432, allocations: 14.52 MB / 390.5 MB, free: 6.086 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.02451, allocations: 11.68 MB / 402.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002283/0.02474, allocations: 15.88 kB / 402.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004494/0.02519, allocations: 131 kB / 402.4 MB, free: 10.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004953/0.02568, allocations: 294.1 kB / 402.7 MB, free: 9.926 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01029/0.03597, allocations: 5.371 MB / 408 MB, free: 4.535 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008311/0.0368, allocations: 0.8498 MB / 408.9 MB, free: 3.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003002/0.0371, allocations: 205.2 kB / 409.1 MB, free: 3.477 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003052/0.04015, allocations: 2.205 MB / 411.3 MB, free: 1.246 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.04038, allocations: 203.4 kB / 411.5 MB, free: 1.047 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.04042, allocations: 32 kB / 411.5 MB, free: 1.016 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007549/0.04797, allocations: 5.818 MB / 417.3 MB, free: 11.19 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.04809, allocations: 95.66 kB / 417.4 MB, free: 11.1 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.04822, allocations: 131.8 kB / 417.5 MB, free: 10.97 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005737/0.05396, allocations: 4.455 MB / 422 MB, free: 6.504 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.05397, allocations: 4 kB / 422 MB, free: 6.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.05397, allocations: 0 / 422 MB, free: 6.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.05397, allocations: 0 / 422 MB, free: 6.5 MB / 394.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.001764/0.05574, allocations: 1.023 MB / 423 MB, free: 5.438 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.05578, allocations: 12.03 kB / 423 MB, free: 5.426 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005492/0.05633, allocations: 172.1 kB / 423.2 MB, free: 5.258 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.05667, allocations: 295.4 kB / 423.5 MB, free: 4.941 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.05669, allocations: 20.88 kB / 423.5 MB, free: 4.922 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/0.05673, allocations: 24.38 kB / 423.5 MB, free: 4.898 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006879/0.05741, allocations: 0.5906 MB / 424.1 MB, free: 4.215 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.05743, allocations: 192 / 424.1 MB, free: 4.215 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.05745, allocations: 19.94 kB / 424.2 MB, free: 4.195 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.05746, allocations: 8 kB / 424.2 MB, free: 4.188 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004083/0.05787, allocations: 254.6 kB / 424.4 MB, free: 3.938 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.05948, allocations: 2.194 MB / 426.6 MB, free: 1.656 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004915/0.05997, allocations: 234.8 kB / 426.8 MB, free: 1.414 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.377e-05/0.06003, allocations: 43.67 kB / 426.9 MB, free: 1.367 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001616/0.0602, allocations: 99.91 kB / 427 MB, free: 1.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.06022, allocations: 37.39 kB / 427 MB, free: 1.223 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.06022, allocations: 0 / 427 MB, free: 1.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006458/0.06087, allocations: 337.3 kB / 427.3 MB, free: 0.8906 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.06091, allocations: 110.8 kB / 427.4 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.06112, allocations: 318.2 kB / 427.8 MB, free: 440 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.06113, allocations: 29.7 kB / 427.8 MB, free: 404 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.06125, allocations: 270.6 kB / 428.1 MB, free: 128 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.06127, allocations: 39.64 kB / 428.1 MB, free: 88 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.331e-05/0.06133, allocations: 71.3 kB / 428.2 MB, free: 8 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.06147, allocations: 0.5078 MB / 428.7 MB, free: 15.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.558e-05/0.06154, allocations: 39.95 kB / 428.7 MB, free: 15.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.0617, allocations: 273.5 kB / 429 MB, free: 15.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.0619, allocations: 250.8 kB / 429.2 MB, free: 14.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.0619, allocations: 0 / 429.2 MB, free: 14.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004207/0.06232, allocations: 249 kB / 429.5 MB, free: 14.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.06233, allocations: 8 kB / 429.5 MB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.06234, allocations: 4 kB / 429.5 MB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.06236, allocations: 4 kB / 429.5 MB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.06249, allocations: 60.38 kB / 429.5 MB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.0625, allocations: 15.92 kB / 429.6 MB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.786e-05/0.06258, allocations: 23.89 kB / 429.6 MB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.0626, allocations: 23.97 kB / 429.6 MB, free: 14.39 MB / 410.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 9.544e-05/0.0627, allocations: 172.4 kB / 429.8 MB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.002e-05/0.06274, allocations: 35.81 kB / 429.8 MB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004741/0.06321, allocations: 0.518 MB / 430.3 MB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.06322, allocations: 11.98 kB / 430.3 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.06323, allocations: 0 / 430.3 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.06323, allocations: 3.938 kB / 430.3 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002909/0.06352, allocations: 398 kB / 430.7 MB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.06352, allocations: 4 kB / 430.7 MB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.552e-05/0.0636, allocations: 27.97 kB / 430.8 MB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.0636, allocations: 4 kB / 430.8 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.06361, allocations: 4 kB / 430.8 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.06361, allocations: 0 / 430.8 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.06361, allocations: 7.938 kB / 430.8 MB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.0639, allocations: 403.4 kB / 431.2 MB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.99e-05/0.06393, allocations: 43.62 kB / 431.2 MB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.06396, allocations: 23.78 kB / 431.2 MB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.819e-05/0.06404, allocations: 12 kB / 431.2 MB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.06409, allocations: 15.97 kB / 431.3 MB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.0641, allocations: 7.984 kB / 431.3 MB, free: 12.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001916/0.06429, allocations: 311 kB / 431.6 MB, free: 12.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.06429, allocations: 4 kB / 431.6 MB, free: 12.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001511/0.0658, allocations: 0.8538 MB / 432.4 MB, free: 11.49 MB / 410.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.002185/0.06799, allocations: 1.086 MB / 433.5 MB, free: 10.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002577/0.06824, allocations: 159.4 kB / 433.7 MB, free: 10.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.06824, allocations: 0 / 433.7 MB, free: 10.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.06835, allocations: 83.59 kB / 433.8 MB, free: 10.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004787/0.06883, allocations: 180 kB / 433.9 MB, free: 9.984 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.06995, allocations: 0.782 MB / 434.7 MB, free: 9.168 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.902e-05/0.07002, allocations: 121.1 kB / 434.8 MB, free: 9.031 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.07018, allocations: 130.8 kB / 435 MB, free: 8.902 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.332e-05/0.07023, allocations: 32.48 kB / 435 MB, free: 8.871 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.07023, allocations: 0 / 435 MB, free: 8.871 MB / 410.7 MB Notification: Performance of Templates: time 0.1888/0.259, allocations: 33.81 MB / 468.8 MB, free: 76.82 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.637785275932401]