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.001301/0.001301, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009318/0.0009318, allocations: 171.9 kB / 24.92 MB, free: 8.723 MB / 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 0.9102/0.9102, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.2581/0.2581, allocations: 32.8 MB / 294.6 MB, free: 1.211 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.883e-06/1.883e-06, allocations: 3.938 kB / 323.2 MB, free: 9.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.089e-05, allocations: 3.781 kB / 323.2 MB, free: 9.727 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.01909/0.01912, allocations: 14.47 MB / 337.7 MB, free: 11.19 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0123/0.03142, allocations: 11.68 MB / 349.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003037/0.03173, allocations: 15.88 kB / 349.4 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004264/0.03215, allocations: 127 kB / 349.5 MB, free: 15.33 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005099/0.03266, allocations: 290.1 kB / 349.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01123/0.04389, allocations: 5.407 MB / 355.2 MB, free: 9.621 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001115/0.04501, allocations: 0.8497 MB / 356 MB, free: 8.77 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000371/0.04538, allocations: 201.3 kB / 356.2 MB, free: 8.57 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003359/0.04874, allocations: 2.216 MB / 358.5 MB, free: 6.328 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.049, allocations: 199.4 kB / 358.7 MB, free: 6.133 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.718e-05/0.04905, allocations: 28 kB / 358.7 MB, free: 6.105 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008475/0.05752, allocations: 5.806 MB / 364.5 MB, free: 300 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.0577, allocations: 95.66 kB / 364.6 MB, free: 204 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000234/0.05793, allocations: 135.7 kB / 364.7 MB, free: 68 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007632/0.06556, allocations: 4.459 MB / 369.2 MB, free: 11.6 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.06557, allocations: 0 / 369.2 MB, free: 11.6 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.06557, allocations: 4 kB / 369.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.06557, allocations: 0 / 369.2 MB, free: 11.59 MB / 346.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.001519/0.06709, allocations: 0.883 MB / 370.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.06713, allocations: 12.03 kB / 370.1 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005471/0.06767, allocations: 184.1 kB / 370.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.06797, allocations: 260.7 kB / 370.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.068, allocations: 20.88 kB / 370.5 MB, free: 10.19 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.06803, allocations: 24.38 kB / 370.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005668/0.0686, allocations: 0.5634 MB / 371.1 MB, free: 9.523 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.06861, allocations: 192 / 371.1 MB, free: 9.523 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.06863, allocations: 15.94 kB / 371.1 MB, free: 9.508 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.06864, allocations: 11.94 kB / 371.1 MB, free: 9.496 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003463/0.06898, allocations: 230.7 kB / 371.4 MB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.07033, allocations: 1.515 MB / 372.9 MB, free: 7.688 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004407/0.07077, allocations: 206.3 kB / 373.1 MB, free: 7.477 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.072e-05/0.07081, allocations: 36.83 kB / 373.1 MB, free: 7.438 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06619/0.137, allocations: 38.89 MB / 412 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.773e-05/0.137, allocations: 34.5 kB / 412 MB, free: 476 kB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.414e-06/0.137, allocations: 4 kB / 412 MB, free: 472 kB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008285/0.1379, allocations: 290.9 kB / 412.3 MB, free: 176 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/0.1379, allocations: 102.8 kB / 412.4 MB, free: 48 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.1382, allocations: 266.8 kB / 412.7 MB, free: 15.78 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.1382, allocations: 29.7 kB / 412.7 MB, free: 15.74 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.1383, allocations: 204.3 kB / 412.9 MB, free: 15.54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.1383, allocations: 35.69 kB / 413 MB, free: 15.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.29e-05/0.1384, allocations: 57.62 kB / 413 MB, free: 15.44 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.885e-05/0.1385, allocations: 338.8 kB / 413.3 MB, free: 15.1 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.215e-05/0.1385, allocations: 39.89 kB / 413.4 MB, free: 15.06 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.1387, allocations: 212.2 kB / 413.6 MB, free: 14.79 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.1388, allocations: 203.2 kB / 413.8 MB, free: 14.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.1388, allocations: 0 / 413.8 MB, free: 14.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002021/0.139, allocations: 198 kB / 414 MB, free: 14.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.139, allocations: 8 kB / 414 MB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.139, allocations: 4 kB / 414 MB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1391, allocations: 7.938 kB / 414 MB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.1392, allocations: 55.91 kB / 414.1 MB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1392, allocations: 11.94 kB / 414.1 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.1393, allocations: 27.88 kB / 414.1 MB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.1393, allocations: 8 kB / 414.1 MB, free: 14.22 MB / 394.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.31e-05/0.1394, allocations: 140.6 kB / 414.2 MB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.1394, allocations: 19.97 kB / 414.3 MB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004394/0.1399, allocations: 0.5184 MB / 414.8 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.1399, allocations: 15.92 kB / 414.8 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.1399, allocations: 0 / 414.8 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1399, allocations: 0 / 414.8 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.1402, allocations: 286.7 kB / 415.1 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1402, allocations: 4 kB / 415.1 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.624e-05/0.1402, allocations: 35.91 kB / 415.1 MB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1402, allocations: 0 / 415.1 MB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.1402, allocations: 4 kB / 415.1 MB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1402, allocations: 4 kB / 415.1 MB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1403, allocations: 0 / 415.1 MB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.1405, allocations: 334 kB / 415.4 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.388e-05/0.1405, allocations: 39.64 kB / 415.5 MB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.1406, allocations: 23.84 kB / 415.5 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.717e-05/0.1406, allocations: 8 kB / 415.5 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.1407, allocations: 23.89 kB / 415.5 MB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.1407, allocations: 4 kB / 415.5 MB, free: 12.72 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001136/0.1408, allocations: 168.6 kB / 415.7 MB, free: 12.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1408, allocations: 0 / 415.7 MB, free: 12.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001797/0.1426, allocations: 0.8577 MB / 416.6 MB, free: 11.69 MB / 394.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.002418/0.145, allocations: 1.159 MB / 417.7 MB, free: 10.53 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002367/0.1453, allocations: 135.4 kB / 417.9 MB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/0.1453, allocations: 8 kB / 417.9 MB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.106e-05/0.1453, allocations: 64.77 kB / 417.9 MB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.1458, allocations: 159.5 kB / 418.1 MB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.1469, allocations: 0.782 MB / 418.9 MB, free: 9.359 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.2e-05/0.1469, allocations: 117 kB / 419 MB, free: 9.227 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001822/0.1471, allocations: 136.6 kB / 419.1 MB, free: 9.098 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/0.1473, allocations: 165.2 kB / 419.3 MB, free: 8.934 MB / 394.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1473, allocations: 0 / 419.3 MB, free: 8.934 MB / 394.7 MB Notification: Performance of Templates: time 0.2159/0.3632, allocations: 37.47 MB / 456.7 MB, free: 101.5 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.282155898865312]