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.001532/0.001532, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002098/0.002098, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.543/1.543, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2394/0.2394, allocations: 46.94 MB / 360.9 MB, free: 4.086 MB / 286.1 MB " [Timeout remaining time 179] 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.002101/0.002101, allocations: 67.89 kB / 0.4966 GB, free: 7.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.4157, allocations: 66.03 MB / 0.5611 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03559/0.4513, allocations: 27.68 MB / 0.5881 GB, free: 8.422 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02261/0.4739, allocations: 13.84 MB / 0.6016 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004844/0.4744, allocations: 11.88 kB / 0.6016 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008417/0.4752, allocations: 198.7 kB / 0.6018 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007847/0.476, allocations: 274.4 kB / 0.6021 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01713/0.4931, allocations: 5.587 MB / 0.6075 GB, free: 4.484 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001291/0.4944, allocations: 0.8342 MB / 0.6084 GB, free: 3.648 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004045/0.4948, allocations: 200.8 kB / 0.6086 GB, free: 3.449 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01177/0.5066, allocations: 5.497 MB / 0.6139 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005655/0.5072, allocations: 231 kB / 0.6141 GB, free: 13.64 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.521e-05/0.5073, allocations: 32 kB / 0.6142 GB, free: 13.61 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01201/0.5193, allocations: 5.846 MB / 0.6199 GB, free: 7.754 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002062/0.5195, allocations: 79.75 kB / 0.62 GB, free: 7.676 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003011/0.5198, allocations: 163.3 kB / 0.6201 GB, free: 7.516 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009045/0.5288, allocations: 3.671 MB / 0.6237 GB, free: 3.836 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.5288, allocations: 0 / 0.6237 GB, free: 3.836 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5288, allocations: 3.938 kB / 0.6237 GB, free: 3.832 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.5288, allocations: 0 / 0.6237 GB, free: 3.832 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.002608/0.5314, allocations: 0.9547 MB / 0.6246 GB, free: 2.844 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.5315, allocations: 8.031 kB / 0.6246 GB, free: 2.836 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009993/0.5325, allocations: 116.6 kB / 0.6248 GB, free: 2.723 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006413/0.5331, allocations: 288.9 kB / 0.625 GB, free: 2.414 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.035e-05/0.5332, allocations: 24.88 kB / 0.6251 GB, free: 2.391 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.042e-05/0.5332, allocations: 24.38 kB / 0.6251 GB, free: 2.367 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.5345, allocations: 0.6018 MB / 0.6257 GB, free: 1.688 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.5345, allocations: 3.938 kB / 0.6257 GB, free: 1.684 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.649e-05/0.5345, allocations: 12 kB / 0.6257 GB, free: 1.672 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.5346, allocations: 8 kB / 0.6257 GB, free: 1.664 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.5357, allocations: 365.3 kB / 0.626 GB, free: 1.309 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003138/0.5388, allocations: 1.734 MB / 0.6277 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.5399, allocations: 266.3 kB / 0.628 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002805/0.5402, allocations: 88.8 kB / 0.6281 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000272/0.5404, allocations: 99.91 kB / 0.6282 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.554e-05/0.5405, allocations: 42.56 kB / 0.6282 GB, free: 15 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 2.655e-06/0.5405, allocations: 0 / 0.6282 GB, free: 15 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.00176/0.5422, allocations: 445.2 kB / 0.6286 GB, free: 14.55 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.475e-05/0.5423, allocations: 106.8 kB / 0.6287 GB, free: 14.43 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003642/0.5427, allocations: 284 kB / 0.629 GB, free: 14.14 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.5427, allocations: 29.7 kB / 0.629 GB, free: 14.11 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.5429, allocations: 211.9 kB / 0.6292 GB, free: 13.89 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.788e-05/0.543, allocations: 43.69 kB / 0.6293 GB, free: 13.85 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.5431, allocations: 57.64 kB / 0.6293 GB, free: 13.79 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.5432, allocations: 342.8 kB / 0.6297 GB, free: 13.45 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/0.5435, allocations: 83.94 kB / 0.6297 GB, free: 13.36 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004287/0.5439, allocations: 254.7 kB / 0.63 GB, free: 13.05 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006401/0.5446, allocations: 281.4 kB / 0.6302 GB, free: 12.72 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.5446, allocations: 4 kB / 0.6302 GB, free: 12.72 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007467/0.5453, allocations: 305.1 kB / 0.6305 GB, free: 12.41 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.5454, allocations: 4 kB / 0.6305 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.5454, allocations: 7.938 kB / 0.6306 GB, free: 12.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.879e-05/0.5454, allocations: 8 kB / 0.6306 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.5457, allocations: 64.36 kB / 0.6306 GB, free: 12.33 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.5457, allocations: 8 kB / 0.6306 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.5459, allocations: 47.69 kB / 0.6307 GB, free: 12.28 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.5459, allocations: 16 kB / 0.6307 GB, free: 12.26 MB / 478.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.0001953/0.5461, allocations: 149.8 kB / 0.6308 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.5462, allocations: 27.86 kB / 0.6309 GB, free: 12.08 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.5475, allocations: 0.7828 MB / 0.6316 GB, free: 11.29 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/0.5475, allocations: 7.922 kB / 0.6316 GB, free: 11.28 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.5476, allocations: 0 / 0.6316 GB, free: 11.28 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.5476, allocations: 7.938 kB / 0.6316 GB, free: 11.27 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005411/0.5481, allocations: 434.5 kB / 0.6321 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5481, allocations: 0 / 0.6321 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.5483, allocations: 51.94 kB / 0.6321 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.5483, allocations: 0 / 0.6321 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.5483, allocations: 4 kB / 0.6321 GB, free: 10.76 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5483, allocations: 0 / 0.6321 GB, free: 10.76 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.5483, allocations: 0 / 0.6321 GB, free: 10.76 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007674/0.5491, allocations: 478.6 kB / 0.6326 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/0.5492, allocations: 35.64 kB / 0.6326 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.31e-05/0.5492, allocations: 27.78 kB / 0.6326 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.5494, allocations: 11.98 kB / 0.6326 GB, free: 10.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.18e-05/0.5495, allocations: 27.89 kB / 0.6327 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.5495, allocations: 4 kB / 0.6327 GB, free: 10.17 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003455/0.5499, allocations: 307.1 kB / 0.633 GB, free: 9.871 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5499, allocations: 0 / 0.633 GB, free: 9.871 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00303/0.5529, allocations: 0.8616 MB / 0.6338 GB, free: 9.008 MB / 478.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.003663/0.5565, allocations: 0.9959 MB / 0.6348 GB, free: 8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007729/0.5573, allocations: 264.5 kB / 0.635 GB, free: 7.742 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.5573, allocations: 4 kB / 0.635 GB, free: 7.738 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000299/0.5576, allocations: 147.6 kB / 0.6352 GB, free: 7.598 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007993/0.5584, allocations: 122.5 kB / 0.6353 GB, free: 7.48 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.5599, allocations: 0.8574 MB / 0.6361 GB, free: 6.594 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.5602, allocations: 235.7 kB / 0.6363 GB, free: 6.34 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003177/0.5605, allocations: 140.5 kB / 0.6365 GB, free: 6.207 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.067e-05/0.5606, allocations: 31.44 kB / 0.6365 GB, free: 6.176 MB / 478.1 MB Notification: Performance of SimCode: time 7.81e-07/0.5606, allocations: 0 / 0.6365 GB, free: 6.176 MB / 478.1 MB Notification: Performance of Templates: time 0.05144/0.612, allocations: 33.68 MB / 0.6694 GB, free: 4.594 MB / 0.4981 GB " [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: 7.633888095617294]