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.001479/0.001479, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 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.001393/0.001393, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 18.57 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.099/1.099, allocations: 177 MB / 205.1 MB, free: 5.484 MB / 186.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.296/0.296, allocations: 34.87 MB / 296.6 MB, free: 0.5039 MB / 266.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.054e-06/2.054e-06, allocations: 0 / 379.2 MB, free: 1.832 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.801e-05, allocations: 2.312 kB / 379.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.01518/0.01521, allocations: 14.36 MB / 393.6 MB, free: 3.402 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01295/0.02816, allocations: 11.49 MB / 405.1 MB, free: 7.867 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004176/0.02858, allocations: 15.88 kB / 405.1 MB, free: 7.852 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005688/0.02915, allocations: 131 kB / 405.2 MB, free: 7.723 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007099/0.02986, allocations: 290.2 kB / 405.5 MB, free: 7.438 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01453/0.04439, allocations: 5.374 MB / 410.9 MB, free: 2.047 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00145/0.04584, allocations: 0.8458 MB / 411.7 MB, free: 1.195 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005388/0.04638, allocations: 205.3 kB / 411.9 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003888/0.05027, allocations: 2.202 MB / 414.1 MB, free: 14.77 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002881/0.05056, allocations: 215.3 kB / 414.3 MB, free: 14.55 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.824e-05/0.0506, allocations: 32 kB / 414.4 MB, free: 14.52 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008216/0.05881, allocations: 5.822 MB / 420.2 MB, free: 8.695 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.05896, allocations: 95.67 kB / 420.3 MB, free: 8.602 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002475/0.05921, allocations: 127.8 kB / 420.4 MB, free: 8.477 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009747/0.06896, allocations: 4.455 MB / 424.9 MB, free: 4.012 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.06896, allocations: 3.938 kB / 424.9 MB, free: 4.008 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.06896, allocations: 4 kB / 424.9 MB, free: 4.004 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.06897, allocations: 0 / 424.9 MB, free: 4.004 MB / 394.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.002563/0.07153, allocations: 1.031 MB / 425.9 MB, free: 2.934 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.07158, allocations: 8.031 kB / 425.9 MB, free: 2.926 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005776/0.07215, allocations: 176.1 kB / 426.1 MB, free: 2.754 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.07251, allocations: 291.4 kB / 426.4 MB, free: 2.441 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.07254, allocations: 24.88 kB / 426.4 MB, free: 2.418 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.07257, allocations: 28.38 kB / 426.4 MB, free: 2.391 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000664/0.07323, allocations: 0.5741 MB / 427 MB, free: 1.727 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.07324, allocations: 4.188 kB / 427 MB, free: 1.723 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.07327, allocations: 15.94 kB / 427 MB, free: 1.707 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.07327, allocations: 8 kB / 427 MB, free: 1.699 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003615/0.07364, allocations: 231.1 kB / 427.2 MB, free: 1.473 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001813/0.07545, allocations: 2.132 MB / 429.4 MB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004682/0.07592, allocations: 230.7 kB / 429.6 MB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.404e-05/0.07596, allocations: 31.66 kB / 429.6 MB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001936/0.07615, allocations: 99.86 kB / 429.7 MB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.07619, allocations: 41.39 kB / 429.8 MB, free: 14.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 2.865e-06/0.07619, allocations: 4 kB / 429.8 MB, free: 14.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006462/0.07684, allocations: 317 kB / 430.1 MB, free: 14.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.07689, allocations: 102.8 kB / 430.2 MB, free: 14.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.07709, allocations: 318.1 kB / 430.5 MB, free: 14.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.07712, allocations: 29.7 kB / 430.5 MB, free: 14.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.07725, allocations: 270.8 kB / 430.8 MB, free: 13.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.07728, allocations: 39.69 kB / 430.8 MB, free: 13.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.424e-05/0.07734, allocations: 67.28 kB / 430.9 MB, free: 13.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.07748, allocations: 0.5117 MB / 431.4 MB, free: 13.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.796e-05/0.07754, allocations: 43.95 kB / 431.4 MB, free: 13.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.07769, allocations: 261.5 kB / 431.7 MB, free: 12.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.07788, allocations: 247.1 kB / 431.9 MB, free: 12.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.07788, allocations: 3.938 kB / 431.9 MB, free: 12.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002482/0.07813, allocations: 241 kB / 432.2 MB, free: 12.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.07815, allocations: 8 kB / 432.2 MB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.07815, allocations: 4 kB / 432.2 MB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.07817, allocations: 7.938 kB / 432.2 MB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.07829, allocations: 59.91 kB / 432.3 MB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.07829, allocations: 7.984 kB / 432.3 MB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.282e-05/0.07838, allocations: 32.25 kB / 432.3 MB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.0784, allocations: 12 kB / 432.3 MB, free: 12.05 MB / 410.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.0001089/0.07851, allocations: 176.5 kB / 432.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.07854, allocations: 31.81 kB / 432.5 MB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004171/0.07896, allocations: 0.4938 MB / 433 MB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.07896, allocations: 3.984 kB / 433 MB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.07897, allocations: 4 kB / 433 MB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.07897, allocations: 4 kB / 433 MB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.07924, allocations: 330.6 kB / 433.3 MB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.07925, allocations: 4 kB / 433.3 MB, free: 10.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.779e-05/0.07932, allocations: 27.97 kB / 433.4 MB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.07932, allocations: 4 kB / 433.4 MB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.07933, allocations: 3.984 kB / 433.4 MB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.07933, allocations: 0 / 433.4 MB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.07933, allocations: 0 / 433.4 MB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.07961, allocations: 400.4 kB / 433.8 MB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.292e-05/0.07964, allocations: 39.64 kB / 433.8 MB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.07967, allocations: 27.77 kB / 433.8 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.017e-05/0.07975, allocations: 11.94 kB / 433.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.0798, allocations: 15.97 kB / 433.9 MB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.07981, allocations: 11.98 kB / 433.9 MB, free: 10.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001531/0.07996, allocations: 287 kB / 434.2 MB, free: 10.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07996, allocations: 0 / 434.2 MB, free: 10.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002509/0.08247, allocations: 0.8577 MB / 435 MB, free: 9.281 MB / 410.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.00405/0.08652, allocations: 1.103 MB / 436.1 MB, free: 8.164 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002987/0.08682, allocations: 151.3 kB / 436.3 MB, free: 8.012 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.08682, allocations: 0 / 436.3 MB, free: 8.012 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.225e-05/0.0869, allocations: 71.58 kB / 436.3 MB, free: 7.938 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004939/0.0874, allocations: 167.9 kB / 436.5 MB, free: 7.781 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.0886, allocations: 0.7625 MB / 437.3 MB, free: 6.984 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.66e-05/0.08868, allocations: 121 kB / 437.4 MB, free: 6.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002142/0.08889, allocations: 141.7 kB / 437.5 MB, free: 6.703 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/0.08913, allocations: 198.1 kB / 437.7 MB, free: 6.508 MB / 410.7 MB Notification: Performance of SimCode: time 1.843e-06/0.08913, allocations: 0 / 437.7 MB, free: 6.508 MB / 410.7 MB Notification: Performance of Templates: time 0.2107/0.2999, allocations: 38.26 MB / 476 MB, free: 71.52 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 -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.636926737148315]