Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Pipes.StaticPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|pipe1.port_a.p|pipe1.port_b.p|pipe1.port_b.m_flow|pipe1.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|pipe1.port_a.p|pipe1.port_b.p|pipe1.port_b.m_flow|pipe1.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001151/0.001151, allocations: 115.2 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001305/0.001305, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2183/0.2183, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 75.86 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4112, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.015/0.4263, allocations: 12.68 MB / 0.544 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008252/0.4345, allocations: 5.496 MB / 0.5494 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005526/0.4352, allocations: 17.66 kB / 0.5494 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007371/0.4359, allocations: 208.4 kB / 0.5496 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00202/0.438, allocations: 0.6966 MB / 0.5503 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004185/0.4422, allocations: 1.556 MB / 0.5518 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001669/0.4439, allocations: 1.235 MB / 0.553 GB, free: 11.85 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004802/0.4444, allocations: 317.2 kB / 0.5533 GB, free: 11.53 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008493/0.4452, allocations: 0.5139 MB / 0.5538 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006727/0.4459, allocations: 458.4 kB / 0.5543 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.13e-05/0.446, allocations: 47.94 kB / 0.5543 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002126/0.4481, allocations: 1.084 MB / 0.5554 GB, free: 9.434 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.4483, allocations: 151.6 kB / 0.5555 GB, free: 9.285 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003146/0.4486, allocations: 282.7 kB / 0.5558 GB, free: 9.008 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001798/0.4504, allocations: 1.319 MB / 0.5571 GB, free: 7.688 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.4505, allocations: 0 / 0.5571 GB, free: 7.688 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.4505, allocations: 11.92 kB / 0.5571 GB, free: 7.676 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.4505, allocations: 3.938 kB / 0.5571 GB, free: 7.672 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001739/0.4522, allocations: 0.9482 MB / 0.558 GB, free: 6.664 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.4523, allocations: 12.03 kB / 0.558 GB, free: 6.652 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002896/0.4526, allocations: 64.36 kB / 0.5581 GB, free: 6.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006442/0.4532, allocations: 457.5 kB / 0.5585 GB, free: 6.105 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.363e-05/0.4533, allocations: 32.55 kB / 0.5586 GB, free: 6.074 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.972e-05/0.4533, allocations: 28 kB / 0.5586 GB, free: 6.047 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008292/0.4542, allocations: 0.5224 MB / 0.5591 GB, free: 5.488 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.4542, allocations: 0 / 0.5591 GB, free: 5.488 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.85e-05/0.4543, allocations: 12 kB / 0.5591 GB, free: 5.477 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.898e-05/0.4543, allocations: 36.48 kB / 0.5591 GB, free: 5.441 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007065/0.455, allocations: 465.9 kB / 0.5596 GB, free: 4.988 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003144/0.4582, allocations: 2.25 MB / 0.5618 GB, free: 2.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004496/0.4587, allocations: 230.7 kB / 0.562 GB, free: 2.355 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.4589, allocations: 140.7 kB / 0.5621 GB, free: 2.215 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/0.46, allocations: 1.029 MB / 0.5631 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003121/0.4603, allocations: 212.4 kB / 0.5633 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.4603, allocations: 0 / 0.5633 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006643/0.461, allocations: 388.7 kB / 0.5637 GB, free: 448 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.4611, allocations: 239.3 kB / 0.5639 GB, free: 152 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005801/0.4617, allocations: 0.5175 MB / 0.5644 GB, free: 15.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.4618, allocations: 29.7 kB / 0.5645 GB, free: 15.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.462, allocations: 287.1 kB / 0.5647 GB, free: 15.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.852e-05/0.462, allocations: 59.28 kB / 0.5648 GB, free: 15.24 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.4622, allocations: 93.58 kB / 0.5649 GB, free: 15.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.4624, allocations: 358.8 kB / 0.5652 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.4626, allocations: 141.2 kB / 0.5654 GB, free: 14.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/0.463, allocations: 318.1 kB / 0.5657 GB, free: 14.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005087/0.4635, allocations: 461 kB / 0.5661 GB, free: 13.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.4635, allocations: 4 kB / 0.5661 GB, free: 13.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008139/0.4643, allocations: 0.534 MB / 0.5666 GB, free: 13.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.001e-05/0.4644, allocations: 37.7 kB / 0.5667 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.4644, allocations: 7.984 kB / 0.5667 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.4644, allocations: 8.594 kB / 0.5667 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003173/0.4647, allocations: 79.84 kB / 0.5668 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.4648, allocations: 11.94 kB / 0.5668 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003604/0.4651, allocations: 63.36 kB / 0.5668 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/0.4652, allocations: 20 kB / 0.5669 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003263/0.4655, allocations: 272.4 kB / 0.5671 GB, free: 12.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003473/0.4659, allocations: 318 kB / 0.5674 GB, free: 12.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005212/0.4664, allocations: 450.5 kB / 0.5679 GB, free: 11.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.184e-06/0.4664, allocations: 0 / 0.5679 GB, free: 11.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007934/0.4672, allocations: 0.5285 MB / 0.5684 GB, free: 11.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.4672, allocations: 37.69 kB / 0.5684 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.4673, allocations: 4 kB / 0.5684 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.353e-06/0.4673, allocations: 8 kB / 0.5684 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.4675, allocations: 79.84 kB / 0.5685 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.4676, allocations: 7.984 kB / 0.5685 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004096/0.468, allocations: 40.19 kB / 0.5685 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.468, allocations: 27.92 kB / 0.5686 GB, free: 11.03 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 7 (p_table.nextEventScaled,p_table.nextEvent,$PRE.p_table.nextEvent,p_table.last,p_table.b,p_table.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * 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.0001722/0.4682, allocations: 237.8 kB / 0.5688 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.002e-05/0.4683, allocations: 55.36 kB / 0.5688 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000661/0.469, allocations: 362.3 kB / 0.5692 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.469, allocations: 3.938 kB / 0.5692 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.469, allocations: 4 kB / 0.5692 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.469, allocations: 4 kB / 0.5692 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004025/0.4694, allocations: 409.3 kB / 0.5696 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4694, allocations: 4 kB / 0.5696 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.4695, allocations: 27.98 kB / 0.5696 GB, free: 9.867 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.4695, allocations: 8.031 kB / 0.5696 GB, free: 9.859 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.4696, allocations: 4 kB / 0.5696 GB, free: 9.855 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.4696, allocations: 3.938 kB / 0.5696 GB, free: 9.852 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4696, allocations: 0 / 0.5696 GB, free: 9.852 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005368/0.4701, allocations: 374 kB / 0.57 GB, free: 9.461 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.4703, allocations: 128.4 kB / 0.5701 GB, free: 9.316 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.148e-05/0.4703, allocations: 8 kB / 0.5701 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.4706, allocations: 12 kB / 0.5701 GB, free: 9.297 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/0.4706, allocations: 7.984 kB / 0.5701 GB, free: 9.289 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.4707, allocations: 11.98 kB / 0.5702 GB, free: 9.277 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004164/0.4711, allocations: 370.8 kB / 0.5705 GB, free: 8.918 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4711, allocations: 0 / 0.5705 GB, free: 8.918 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001136/0.4722, allocations: 431.6 kB / 0.5709 GB, free: 8.496 MB / 430.1 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 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0009696/0.4732, allocations: 424.5 kB / 0.5713 GB, free: 8.074 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009559/0.4742, allocations: 0.683 MB / 0.572 GB, free: 7.371 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4742, allocations: 0 / 0.572 GB, free: 7.371 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.4744, allocations: 179.4 kB / 0.5722 GB, free: 7.184 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009355/0.4754, allocations: 204.3 kB / 0.5724 GB, free: 6.992 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.4767, allocations: 0.8612 MB / 0.5732 GB, free: 6.098 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.4772, allocations: 0.8432 MB / 0.574 GB, free: 5.227 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.4773, allocations: 43.44 kB / 0.5741 GB, free: 5.184 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4773, allocations: 3.938 kB / 0.5741 GB, free: 5.18 MB / 430.1 MB Notification: Performance of Templates: time 0.01498/0.4923, allocations: 10.22 MB / 0.584 GB, free: 11 MB / 446.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Pipes/StaticPipe/StaticPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches