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.001079/0.001079, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001331/0.001331, allocations: 163.2 kB / 24.99 MB, free: 8.801 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 0.9902/0.9902, allocations: 177 MB / 205.2 MB, free: 5.594 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.263/0.263, allocations: 34.86 MB / 296.6 MB, free: 0.5781 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 1.773e-06/1.773e-06, allocations: 0 / 378.7 MB, free: 2.445 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.153e-05/3.33e-05, allocations: 6.25 kB / 378.7 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.04343/0.04346, allocations: 30.83 MB / 409.6 MB, free: 3.504 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01421/0.05768, allocations: 15.39 MB / 425 MB, free: 4.055 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003173/0.05799, allocations: 11.88 kB / 425 MB, free: 4.043 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000565/0.05856, allocations: 206.5 kB / 425.2 MB, free: 3.84 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005156/0.05907, allocations: 286.1 kB / 425.5 MB, free: 3.559 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01081/0.06988, allocations: 5.671 MB / 431.1 MB, free: 13.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001082/0.07096, allocations: 0.8263 MB / 432 MB, free: 13.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004275/0.07139, allocations: 201.1 kB / 432.2 MB, free: 12.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008593/0.07998, allocations: 5.606 MB / 437.8 MB, free: 7.145 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004152/0.0804, allocations: 211.3 kB / 438 MB, free: 6.938 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.511e-05/0.08046, allocations: 28 kB / 438 MB, free: 6.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008243/0.08871, allocations: 5.857 MB / 443.9 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.08887, allocations: 95.66 kB / 443.9 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002405/0.08911, allocations: 135.7 kB / 444.1 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1694/0.2585, allocations: 4.496 MB / 448.6 MB, free: 58.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.946e-06/0.2585, allocations: 0 / 448.6 MB, free: 58.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2585, allocations: 0 / 448.6 MB, free: 58.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.695e-05/0.2585, allocations: 2.562 kB / 448.6 MB, free: 58.2 MB / 410.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.002785/0.2613, allocations: 1.032 MB / 449.6 MB, free: 57.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.2614, allocations: 11.75 kB / 449.6 MB, free: 57.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007336/0.2621, allocations: 177.9 kB / 449.8 MB, free: 57.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004324/0.2625, allocations: 304.7 kB / 450.1 MB, free: 57.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.2626, allocations: 19.25 kB / 450.1 MB, free: 57.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.888e-05/0.2626, allocations: 27.84 kB / 450.1 MB, free: 57.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007271/0.2633, allocations: 0.5859 MB / 450.7 MB, free: 57.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.2633, allocations: 4.031 kB / 450.7 MB, free: 57.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.2634, allocations: 21.44 kB / 450.7 MB, free: 57.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.2634, allocations: 5.406 kB / 450.8 MB, free: 57.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000505/0.2639, allocations: 256.8 kB / 451 MB, free: 57.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00172/0.2656, allocations: 2.194 MB / 453.2 MB, free: 55.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000558/0.2662, allocations: 236.9 kB / 453.4 MB, free: 55.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.755e-05/0.2662, allocations: 44.09 kB / 453.5 MB, free: 55.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/0.2664, allocations: 97.06 kB / 453.6 MB, free: 55.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.2664, allocations: 38.3 kB / 453.6 MB, free: 55.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 2.895e-06/0.2665, allocations: 0 / 453.6 MB, free: 55.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007644/0.2672, allocations: 333.4 kB / 453.9 MB, free: 55.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.2673, allocations: 110.2 kB / 454 MB, free: 55.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.2675, allocations: 318.7 kB / 454.3 MB, free: 54.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.2675, allocations: 29.39 kB / 454.4 MB, free: 54.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.2676, allocations: 268.5 kB / 454.6 MB, free: 54.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.2676, allocations: 43.2 kB / 454.7 MB, free: 54.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-05/0.2677, allocations: 64.22 kB / 454.7 MB, free: 54.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.529e-05/0.2678, allocations: 0.5108 MB / 455.3 MB, free: 54.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.574e-05/0.2678, allocations: 39.66 kB / 455.3 MB, free: 54.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.268, allocations: 275.5 kB / 455.6 MB, free: 53.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.2682, allocations: 247.1 kB / 455.8 MB, free: 53.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2682, allocations: 1.562 kB / 455.8 MB, free: 53.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003129/0.2685, allocations: 250.7 kB / 456.1 MB, free: 53.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.2685, allocations: 5.938 kB / 456.1 MB, free: 53.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.2685, allocations: 5.719 kB / 456.1 MB, free: 53.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.2685, allocations: 9.234 kB / 456.1 MB, free: 53.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.2687, allocations: 55.5 kB / 456.1 MB, free: 53.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.2687, allocations: 9.047 kB / 456.1 MB, free: 53.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.2688, allocations: 28.28 kB / 456.2 MB, free: 53.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.2688, allocations: 23.45 kB / 456.2 MB, free: 53.69 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 9.028e-05/0.2689, allocations: 173.3 kB / 456.4 MB, free: 53.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.305e-05/0.269, allocations: 38.06 kB / 456.4 MB, free: 53.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004869/0.2694, allocations: 0.5132 MB / 456.9 MB, free: 53.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.2694, allocations: 10.62 kB / 456.9 MB, free: 53.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2695, allocations: 0 / 456.9 MB, free: 53.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2695, allocations: 0 / 456.9 MB, free: 53.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.2698, allocations: 407.7 kB / 457.3 MB, free: 53.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.2698, allocations: 5.719 kB / 457.3 MB, free: 53.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.583e-05/0.2699, allocations: 35.42 kB / 457.4 MB, free: 53.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.2699, allocations: 0 / 457.4 MB, free: 53.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.2699, allocations: 4.469 kB / 457.4 MB, free: 53.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.2699, allocations: 0 / 457.4 MB, free: 53.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2699, allocations: 0 / 457.4 MB, free: 53.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.2702, allocations: 411.7 kB / 457.8 MB, free: 52.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.643e-05/0.2703, allocations: 35.66 kB / 457.8 MB, free: 52.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.2703, allocations: 25.55 kB / 457.8 MB, free: 52.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.662e-05/0.2704, allocations: 13.02 kB / 457.8 MB, free: 52.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.2705, allocations: 15.86 kB / 457.8 MB, free: 52.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.2705, allocations: 9.344 kB / 457.9 MB, free: 52.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000201/0.2707, allocations: 308.1 kB / 458.2 MB, free: 52.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2707, allocations: 0 / 458.2 MB, free: 52.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002463/0.2731, allocations: 0.8548 MB / 459 MB, free: 52.7 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.003131/0.2763, allocations: 1.099 MB / 460.1 MB, free: 52.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003083/0.2766, allocations: 157.3 kB / 460.3 MB, free: 52.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2766, allocations: 3.219 kB / 460.3 MB, free: 52.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.662e-05/0.2767, allocations: 83.22 kB / 460.3 MB, free: 52.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.2771, allocations: 163.6 kB / 460.5 MB, free: 52.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.2783, allocations: 0.7804 MB / 461.3 MB, free: 52.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.628e-05/0.2784, allocations: 117.9 kB / 461.4 MB, free: 51.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001811/0.2786, allocations: 134.1 kB / 461.5 MB, free: 51.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.167e-05/0.2786, allocations: 33.47 kB / 461.6 MB, free: 51.98 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2786, allocations: 1.969 kB / 461.6 MB, free: 51.98 MB / 410.7 MB Notification: Performance of Templates: time 0.0402/0.3188, allocations: 33.92 MB / 495.5 MB, free: 45.61 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.503878039075062]