Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001288/0.001288, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001954/0.003242, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00103/0.00103, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001233/0.002263, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9522/0.9522, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0995/1.052, allocations: 53.86 MB / 243.8 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3379/0.3379, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03018/0.3681, allocations: 13.24 MB / 292.6 MB, free: 6.457 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 0 / 293.9 MB, free: 5.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.119e-05/4.348e-05, allocations: 2.312 kB / 293.9 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.02164/0.02168, allocations: 14.57 MB / 308.4 MB, free: 6.566 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01645/0.03813, allocations: 11.75 MB / 320.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003477/0.03848, allocations: 11.88 kB / 320.2 MB, free: 10.75 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003934/0.03887, allocations: 131 kB / 320.3 MB, free: 10.62 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005736/0.03945, allocations: 298.1 kB / 320.6 MB, free: 10.33 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01272/0.05216, allocations: 4.877 MB / 325.5 MB, free: 5.438 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001391/0.05356, allocations: 0.8459 MB / 326.3 MB, free: 4.586 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005334/0.05409, allocations: 201.3 kB / 326.5 MB, free: 4.387 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003427/0.05752, allocations: 1.874 MB / 328.4 MB, free: 2.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000296/0.05781, allocations: 195.4 kB / 328.6 MB, free: 2.309 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.122e-05/0.05785, allocations: 31.94 kB / 328.6 MB, free: 2.277 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009153/0.06701, allocations: 6.236 MB / 334.9 MB, free: 12.04 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.0672, allocations: 71.73 kB / 334.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002884/0.06749, allocations: 111.8 kB / 335 MB, free: 11.86 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00907/0.07656, allocations: 3.369 MB / 338.4 MB, free: 8.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.031e-05/0.07658, allocations: 4 kB / 338.4 MB, free: 8.477 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.07658, allocations: 7.938 kB / 338.4 MB, free: 8.469 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.07659, allocations: 0 / 338.4 MB, free: 8.469 MB / 330.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.002523/0.07912, allocations: 1.152 MB / 339.6 MB, free: 7.289 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.07916, allocations: 16.91 kB / 339.6 MB, free: 7.273 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005844/0.07974, allocations: 253.4 kB / 339.8 MB, free: 7.008 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.08006, allocations: 256.7 kB / 340.1 MB, free: 6.734 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.08008, allocations: 24.88 kB / 340.1 MB, free: 6.711 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.08011, allocations: 28.38 kB / 340.1 MB, free: 6.684 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006455/0.08076, allocations: 0.5561 MB / 340.7 MB, free: 6.047 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.08077, allocations: 192 / 340.7 MB, free: 6.047 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.08079, allocations: 15.94 kB / 340.7 MB, free: 6.031 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.0808, allocations: 4 kB / 340.7 MB, free: 6.027 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000362/0.08117, allocations: 237.2 kB / 341 MB, free: 5.789 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.08273, allocations: 1.515 MB / 342.5 MB, free: 4.211 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004596/0.08319, allocations: 212.2 kB / 342.7 MB, free: 3.996 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.083e-05/0.08323, allocations: 28.86 kB / 342.7 MB, free: 3.965 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06771/0.1509, allocations: 38.89 MB / 381.6 MB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.528e-05/0.151, allocations: 34.55 kB / 381.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.735e-06/0.151, allocations: 0 / 381.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007869/0.1518, allocations: 306.7 kB / 381.9 MB, free: 12.69 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.1518, allocations: 55.41 kB / 382 MB, free: 12.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003884/0.1522, allocations: 262.8 kB / 382.2 MB, free: 12.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.1522, allocations: 29.7 kB / 382.3 MB, free: 12.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.1523, allocations: 196.4 kB / 382.5 MB, free: 12.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.1524, allocations: 35.69 kB / 382.5 MB, free: 12.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.544e-05/0.1524, allocations: 65.61 kB / 382.6 MB, free: 12.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1525, allocations: 334.8 kB / 382.9 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.701e-05/0.1526, allocations: 31.97 kB / 382.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.1527, allocations: 218.1 kB / 383.1 MB, free: 11.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.1529, allocations: 204.1 kB / 383.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1529, allocations: 0 / 383.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002071/0.1531, allocations: 201.3 kB / 383.5 MB, free: 10.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.1531, allocations: 10.5 kB / 383.5 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.1531, allocations: 4 kB / 383.5 MB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1531, allocations: 7.938 kB / 383.5 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.1533, allocations: 63.91 kB / 383.6 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1533, allocations: 11.92 kB / 383.6 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.1534, allocations: 27.84 kB / 383.6 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.1534, allocations: 16.23 kB / 383.7 MB, free: 10.78 MB / 378.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 0.0001033/0.1535, allocations: 144.1 kB / 383.8 MB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.1536, allocations: 19.98 kB / 383.8 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004257/0.154, allocations: 0.5015 MB / 384.3 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.154, allocations: 11.92 kB / 384.3 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.154, allocations: 0 / 384.3 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.154, allocations: 0 / 384.3 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.1543, allocations: 302.6 kB / 384.6 MB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.1543, allocations: 0 / 384.6 MB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.282e-05/0.1544, allocations: 31.92 kB / 384.7 MB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/0.1544, allocations: 39.67 kB / 384.7 MB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1544, allocations: 0 / 384.7 MB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.1544, allocations: 0 / 384.7 MB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.1544, allocations: 3.938 kB / 384.7 MB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1544, allocations: 0 / 384.7 MB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.1547, allocations: 346 kB / 385 MB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.1547, allocations: 23.73 kB / 385.1 MB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.9e-05/0.1548, allocations: 15.98 kB / 385.1 MB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.1549, allocations: 19.84 kB / 385.1 MB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.1549, allocations: 8 kB / 385.1 MB, free: 9.281 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001168/0.155, allocations: 160.7 kB / 385.3 MB, free: 9.121 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.155, allocations: 0 / 385.3 MB, free: 9.121 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002471/0.1575, allocations: 0.8577 MB / 386.1 MB, free: 8.262 MB / 378.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.003473/0.1609, allocations: 1.164 MB / 387.3 MB, free: 7.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002626/0.1612, allocations: 137.4 kB / 387.4 MB, free: 6.957 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.971e-05/0.1612, allocations: 8 kB / 387.4 MB, free: 6.949 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.32e-05/0.1613, allocations: 64.75 kB / 387.5 MB, free: 6.883 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004752/0.1618, allocations: 200.7 kB / 387.7 MB, free: 6.699 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004147/0.1659, allocations: 0.8033 MB / 388.5 MB, free: 5.863 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.134e-05/0.166, allocations: 117 kB / 388.6 MB, free: 5.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002217/0.1662, allocations: 125.8 kB / 388.7 MB, free: 5.605 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002358/0.1665, allocations: 161.2 kB / 388.9 MB, free: 5.445 MB / 378.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1665, allocations: 0 / 388.9 MB, free: 5.445 MB / 378.7 MB Notification: Performance of Templates: time 0.04433/0.2108, allocations: 37.69 MB / 426.6 MB, free: 15.89 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",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.339778022840619]