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.001208/0.001208, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001722/0.00293, allocations: 457.8 kB / 10.45 MB, free: 244 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.001054/0.001054, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001404/0.002457, allocations: 475.6 kB / 11.82 MB, free: 2.348 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 1.036/1.036, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09787/1.134, allocations: 53.87 MB / 243.9 MB, free: 14.86 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.2704/0.2704, allocations: 34.88 MB / 279.5 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02332/0.2937, allocations: 13.24 MB / 292.8 MB, free: 6.387 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 1.754e-06/1.754e-06, allocations: 0 / 294.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.248e-05, allocations: 3.953 kB / 294.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.01759/0.01761, allocations: 14.57 MB / 308.7 MB, free: 6.469 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0159/0.03351, allocations: 11.76 MB / 320.4 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003451/0.03386, allocations: 15.88 kB / 320.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004459/0.0343, allocations: 135 kB / 320.6 MB, free: 10.51 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006208/0.03492, allocations: 282.2 kB / 320.8 MB, free: 10.23 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01429/0.04922, allocations: 4.877 MB / 325.7 MB, free: 5.34 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.05047, allocations: 0.8498 MB / 326.6 MB, free: 4.488 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004588/0.05093, allocations: 209.2 kB / 326.8 MB, free: 4.281 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004525/0.05545, allocations: 1.872 MB / 328.6 MB, free: 2.398 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003824/0.05584, allocations: 191.4 kB / 328.8 MB, free: 2.211 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.806e-05/0.05591, allocations: 32 kB / 328.9 MB, free: 2.18 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0123/0.06821, allocations: 6.235 MB / 335.1 MB, free: 11.94 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.06842, allocations: 79.72 kB / 335.2 MB, free: 11.86 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002767/0.0687, allocations: 115.8 kB / 335.3 MB, free: 11.75 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007879/0.07657, allocations: 3.345 MB / 338.6 MB, free: 8.395 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.07659, allocations: 0 / 338.6 MB, free: 8.395 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.07659, allocations: 0 / 338.6 MB, free: 8.395 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.0766, allocations: 0 / 338.6 MB, free: 8.395 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.00194/0.07854, allocations: 1.164 MB / 339.8 MB, free: 7.203 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.07857, allocations: 8.922 kB / 339.8 MB, free: 7.195 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000621/0.0792, allocations: 265.4 kB / 340.1 MB, free: 6.918 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.0795, allocations: 252.7 kB / 340.3 MB, free: 6.648 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.07952, allocations: 24.88 kB / 340.3 MB, free: 6.621 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.07955, allocations: 28.31 kB / 340.4 MB, free: 6.594 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005698/0.08012, allocations: 0.557 MB / 340.9 MB, free: 5.957 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.08013, allocations: 4.125 kB / 340.9 MB, free: 5.953 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.08015, allocations: 15.94 kB / 340.9 MB, free: 5.938 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.08016, allocations: 8 kB / 341 MB, free: 5.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003248/0.08048, allocations: 229.7 kB / 341.2 MB, free: 5.707 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.08178, allocations: 1.507 MB / 342.7 MB, free: 4.133 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004356/0.08222, allocations: 222.2 kB / 342.9 MB, free: 3.906 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.821e-05/0.08226, allocations: 28.84 kB / 342.9 MB, free: 3.875 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06529/0.1475, allocations: 38.89 MB / 381.8 MB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.1476, allocations: 34.56 kB / 381.9 MB, free: 12.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.735e-06/0.1476, allocations: 0 / 381.9 MB, free: 12.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007847/0.1484, allocations: 306.8 kB / 382.2 MB, free: 12.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.1484, allocations: 51.41 kB / 382.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.1486, allocations: 266.8 kB / 382.5 MB, free: 12.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.1487, allocations: 25.7 kB / 382.5 MB, free: 12.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.1488, allocations: 200.3 kB / 382.7 MB, free: 12.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.1488, allocations: 39.67 kB / 382.7 MB, free: 12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.658e-05/0.1489, allocations: 61.62 kB / 382.8 MB, free: 11.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.149, allocations: 334.8 kB / 383.1 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.642e-05/0.1491, allocations: 36.41 kB / 383.1 MB, free: 11.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.1492, allocations: 209.6 kB / 383.3 MB, free: 11.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.1494, allocations: 227 kB / 383.6 MB, free: 11.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1494, allocations: 0 / 383.6 MB, free: 11.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002253/0.1496, allocations: 193.5 kB / 383.8 MB, free: 10.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.1497, allocations: 6.812 kB / 383.8 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.1497, allocations: 7.938 kB / 383.8 MB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.1497, allocations: 11.94 kB / 383.8 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.1499, allocations: 63.89 kB / 383.8 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.1499, allocations: 8 kB / 383.9 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.15, allocations: 31.83 kB / 383.9 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.15, allocations: 12 kB / 383.9 MB, free: 10.69 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.0001059/0.1501, allocations: 128.7 kB / 384 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.1502, allocations: 27.97 kB / 384.1 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004241/0.1506, allocations: 0.5053 MB / 384.6 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.1506, allocations: 11.92 kB / 384.6 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.1506, allocations: 4 kB / 384.6 MB, free: 9.996 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1506, allocations: 0 / 384.6 MB, free: 9.996 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.1509, allocations: 286.7 kB / 384.9 MB, free: 9.695 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.1509, allocations: 4 kB / 384.9 MB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.914e-05/0.151, allocations: 35.97 kB / 384.9 MB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.389e-05/0.151, allocations: 31.69 kB / 384.9 MB, free: 9.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.151, allocations: 0 / 384.9 MB, free: 9.625 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.151, allocations: 8 kB / 384.9 MB, free: 9.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.151, allocations: 3.938 kB / 384.9 MB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.151, allocations: 3.984 kB / 384.9 MB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.1513, allocations: 334 kB / 385.3 MB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.1513, allocations: 31.73 kB / 385.3 MB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.1514, allocations: 8 kB / 385.3 MB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.1514, allocations: 27.89 kB / 385.3 MB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.1514, allocations: 0 / 385.3 MB, free: 9.199 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001155/0.1516, allocations: 168.7 kB / 385.5 MB, free: 9.031 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1516, allocations: 0 / 385.5 MB, free: 9.031 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001897/0.1535, allocations: 0.8499 MB / 386.3 MB, free: 8.18 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.002429/0.1559, allocations: 1.168 MB / 387.5 MB, free: 7.004 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.1561, allocations: 141.7 kB / 387.7 MB, free: 6.863 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.51e-05/0.1561, allocations: 8 kB / 387.7 MB, free: 6.855 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.596e-05/0.1562, allocations: 68.81 kB / 387.7 MB, free: 6.785 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000697/0.1569, allocations: 0.9402 MB / 388.7 MB, free: 5.699 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004002/0.1609, allocations: 0.8015 MB / 389.5 MB, free: 4.863 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.033e-05/0.161, allocations: 121 kB / 389.6 MB, free: 4.727 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002109/0.1612, allocations: 137.8 kB / 389.7 MB, free: 4.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/0.1614, allocations: 157.2 kB / 389.9 MB, free: 4.434 MB / 378.7 MB Notification: Performance of SimCode: time 1.272e-06/0.1614, allocations: 0 / 389.9 MB, free: 4.434 MB / 378.7 MB Notification: Performance of Templates: time 0.03287/0.1943, allocations: 32.3 MB / 422.2 MB, free: 4.262 MB / 410.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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8113956274464726]