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.001943/0.001943, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002567/0.002567, allocations: 217 kB / 23.75 MB, free: 4.668 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.618/1.618, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2521/0.2521, allocations: 46.94 MB / 360.9 MB, free: 4.324 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.002743/0.002743, allocations: 67.89 kB / 0.4966 GB, free: 7.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4291/0.4319, allocations: 66.03 MB / 0.5611 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03901/0.4709, allocations: 30.62 MB / 0.591 GB, free: 5.637 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02176/0.4926, allocations: 15.67 MB / 0.6063 GB, free: 5.914 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004795/0.4931, allocations: 15.88 kB / 0.6064 GB, free: 5.898 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008993/0.494, allocations: 214.6 kB / 0.6066 GB, free: 5.688 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007496/0.4947, allocations: 282.3 kB / 0.6068 GB, free: 5.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01776/0.5125, allocations: 5.664 MB / 0.6124 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001414/0.5139, allocations: 0.8342 MB / 0.6132 GB, free: 14.92 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004116/0.5143, allocations: 193 kB / 0.6134 GB, free: 14.73 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01183/0.5262, allocations: 5.513 MB / 0.6187 GB, free: 9.129 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005478/0.5267, allocations: 247 kB / 0.619 GB, free: 8.887 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.352e-05/0.5268, allocations: 28 kB / 0.619 GB, free: 8.859 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01306/0.5398, allocations: 6.115 MB / 0.625 GB, free: 2.738 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.54, allocations: 91.69 kB / 0.6251 GB, free: 2.648 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003643/0.5404, allocations: 191.2 kB / 0.6252 GB, free: 2.461 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008942/0.5493, allocations: 3.675 MB / 0.6288 GB, free: 14.78 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.5493, allocations: 0 / 0.6288 GB, free: 14.78 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5493, allocations: 0 / 0.6288 GB, free: 14.78 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.5494, allocations: 0 / 0.6288 GB, free: 14.78 MB / 478.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.002472/0.5518, allocations: 0.9508 MB / 0.6298 GB, free: 13.79 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.5519, allocations: 12.03 kB / 0.6298 GB, free: 13.78 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.5529, allocations: 124.5 kB / 0.6299 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000628/0.5535, allocations: 288.9 kB / 0.6302 GB, free: 13.35 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.081e-05/0.5536, allocations: 24.88 kB / 0.6302 GB, free: 13.33 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.068e-05/0.5536, allocations: 24.38 kB / 0.6302 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.5547, allocations: 450.1 kB / 0.6306 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.5548, allocations: 0 / 0.6306 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.766e-05/0.5548, allocations: 12 kB / 0.6307 GB, free: 12.81 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.5548, allocations: 12 kB / 0.6307 GB, free: 12.8 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.5559, allocations: 369.2 kB / 0.631 GB, free: 12.44 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003243/0.5591, allocations: 2.194 MB / 0.6332 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.5602, allocations: 270.2 kB / 0.6334 GB, free: 9.801 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/0.5605, allocations: 92.78 kB / 0.6335 GB, free: 9.707 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002859/0.5608, allocations: 103.9 kB / 0.6336 GB, free: 9.605 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.5608, allocations: 30.56 kB / 0.6336 GB, free: 9.566 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 1.914e-06/0.5608, allocations: 4 kB / 0.6336 GB, free: 9.562 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001731/0.5625, allocations: 453.4 kB / 0.6341 GB, free: 9.113 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.791e-05/0.5626, allocations: 106.8 kB / 0.6342 GB, free: 8.984 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004174/0.563, allocations: 328.4 kB / 0.6345 GB, free: 8.652 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.5631, allocations: 29.7 kB / 0.6345 GB, free: 8.617 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.5633, allocations: 220.1 kB / 0.6347 GB, free: 8.398 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.511e-05/0.5633, allocations: 39.69 kB / 0.6348 GB, free: 8.359 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.5634, allocations: 61.64 kB / 0.6348 GB, free: 8.293 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.5636, allocations: 338.8 kB / 0.6351 GB, free: 7.953 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002698/0.5639, allocations: 83.92 kB / 0.6352 GB, free: 7.871 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003872/0.5643, allocations: 207.4 kB / 0.6354 GB, free: 7.613 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006436/0.5649, allocations: 285.5 kB / 0.6357 GB, free: 7.285 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.5649, allocations: 3.938 kB / 0.6357 GB, free: 7.281 MB / 478.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008085/0.5657, allocations: 317 kB / 0.636 GB, free: 6.965 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.5658, allocations: 4 kB / 0.636 GB, free: 6.961 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.5658, allocations: 4 kB / 0.636 GB, free: 6.957 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.5658, allocations: 4.469 kB / 0.636 GB, free: 6.953 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.5661, allocations: 71.89 kB / 0.6361 GB, free: 6.883 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.5661, allocations: 11.88 kB / 0.6361 GB, free: 6.871 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.5663, allocations: 43.72 kB / 0.6361 GB, free: 6.828 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.5664, allocations: 19.98 kB / 0.6362 GB, free: 6.809 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.0001923/0.5666, allocations: 149.7 kB / 0.6363 GB, free: 6.652 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.351e-05/0.5666, allocations: 31.81 kB / 0.6363 GB, free: 6.621 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.5679, allocations: 0.7607 MB / 0.6371 GB, free: 5.852 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.568, allocations: 7.984 kB / 0.6371 GB, free: 5.844 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.568, allocations: 3.938 kB / 0.6371 GB, free: 5.84 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.568, allocations: 4 kB / 0.6371 GB, free: 5.836 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006972/0.5687, allocations: 0.5057 MB / 0.6376 GB, free: 5.289 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.5687, allocations: 0 / 0.6376 GB, free: 5.289 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.5689, allocations: 47.89 kB / 0.6376 GB, free: 5.242 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/0.5689, allocations: 4 kB / 0.6376 GB, free: 5.238 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.5689, allocations: 4 kB / 0.6376 GB, free: 5.234 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.5689, allocations: 0 / 0.6376 GB, free: 5.234 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.5689, allocations: 3.938 kB / 0.6376 GB, free: 5.23 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008117/0.5697, allocations: 474.6 kB / 0.6381 GB, free: 4.75 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.375e-05/0.5698, allocations: 43.62 kB / 0.6381 GB, free: 4.707 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-05/0.5699, allocations: 27.8 kB / 0.6382 GB, free: 4.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.5701, allocations: 19.92 kB / 0.6382 GB, free: 4.66 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.317e-05/0.5702, allocations: 23.84 kB / 0.6382 GB, free: 4.637 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.5702, allocations: 4 kB / 0.6382 GB, free: 4.633 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004242/0.5706, allocations: 346.8 kB / 0.6385 GB, free: 4.293 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5706, allocations: 0 / 0.6385 GB, free: 4.293 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002855/0.5735, allocations: 0.8616 MB / 0.6394 GB, free: 3.43 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.00481/0.5783, allocations: 0.9776 MB / 0.6403 GB, free: 2.441 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008105/0.5791, allocations: 271.6 kB / 0.6406 GB, free: 2.176 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.5791, allocations: 0.9375 kB / 0.6406 GB, free: 2.176 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003167/0.5794, allocations: 143.9 kB / 0.6407 GB, free: 2.035 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.5805, allocations: 184.9 kB / 0.6409 GB, free: 1.859 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.5821, allocations: 0.8547 MB / 0.6417 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005359/0.5826, allocations: 0.85 MB / 0.6426 GB, free: 96 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003602/0.583, allocations: 145 kB / 0.6427 GB, free: 15.95 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.508e-05/0.5831, allocations: 27.44 kB / 0.6427 GB, free: 15.93 MB / 494.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5831, allocations: 3.938 kB / 0.6427 GB, free: 15.92 MB / 494.1 MB Notification: Performance of Templates: time 0.05679/0.6399, allocations: 34.13 MB / 0.6761 GB, free: 13.84 MB / 0.5137 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: 8.086534051923081]