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.001193/0.001193, allocations: 113.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00139/0.00139, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2309/0.2309, allocations: 46.09 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 75.89 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4024, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01451/0.417, allocations: 12.69 MB / 0.544 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008341/0.4253, allocations: 5.492 MB / 0.5494 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007248/0.4261, allocations: 13.47 kB / 0.5494 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000753/0.4269, allocations: 220.8 kB / 0.5496 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002269/0.4292, allocations: 0.6987 MB / 0.5503 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004681/0.4339, allocations: 1.552 MB / 0.5518 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001996/0.4359, allocations: 1.247 MB / 0.553 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007044/0.4366, allocations: 325.2 kB / 0.5534 GB, free: 11.47 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001347/0.438, allocations: 0.51 MB / 0.5539 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.4391, allocations: 458.4 kB / 0.5543 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002121/0.4393, allocations: 47.94 kB / 0.5543 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002988/0.4423, allocations: 1.084 MB / 0.5554 GB, free: 9.375 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003635/0.4427, allocations: 163.5 kB / 0.5556 GB, free: 9.215 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006031/0.4433, allocations: 270.7 kB / 0.5558 GB, free: 8.949 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003269/0.4466, allocations: 1.323 MB / 0.5571 GB, free: 7.625 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.4466, allocations: 4 kB / 0.5571 GB, free: 7.621 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4466, allocations: 3.938 kB / 0.5571 GB, free: 7.617 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.843e-05/0.4467, allocations: 0 / 0.5571 GB, free: 7.617 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.002639/0.4493, allocations: 0.9482 MB / 0.558 GB, free: 6.609 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.4494, allocations: 8.031 kB / 0.558 GB, free: 6.602 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003551/0.4497, allocations: 60.36 kB / 0.5581 GB, free: 6.543 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009274/0.4507, allocations: 477.4 kB / 0.5586 GB, free: 6.039 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.154e-05/0.4507, allocations: 20.56 kB / 0.5586 GB, free: 6.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.949e-05/0.4508, allocations: 28 kB / 0.5586 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009499/0.4518, allocations: 0.5302 MB / 0.5591 GB, free: 5.426 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.4518, allocations: 0 / 0.5591 GB, free: 5.426 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.593e-05/0.4519, allocations: 12 kB / 0.5591 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.963e-05/0.4519, allocations: 32.53 kB / 0.5592 GB, free: 5.383 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008526/0.4528, allocations: 465.9 kB / 0.5596 GB, free: 4.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004001/0.4568, allocations: 2.238 MB / 0.5618 GB, free: 2.543 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004868/0.4573, allocations: 242.6 kB / 0.562 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.4576, allocations: 132.8 kB / 0.5622 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001406/0.459, allocations: 1.029 MB / 0.5632 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003571/0.4593, allocations: 220.4 kB / 0.5634 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 2.235e-06/0.4594, allocations: 0 / 0.5634 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007366/0.4601, allocations: 378.6 kB / 0.5637 GB, free: 396 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.4602, allocations: 239.3 kB / 0.564 GB, free: 100 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007583/0.461, allocations: 0.5175 MB / 0.5645 GB, free: 15.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.4611, allocations: 25.7 kB / 0.5645 GB, free: 15.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/0.4613, allocations: 291.1 kB / 0.5648 GB, free: 15.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.518e-05/0.4614, allocations: 59.27 kB / 0.5648 GB, free: 15.19 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.4616, allocations: 97.59 kB / 0.5649 GB, free: 15.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.4617, allocations: 358.8 kB / 0.5653 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.462, allocations: 141.2 kB / 0.5654 GB, free: 14.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/0.4624, allocations: 314.1 kB / 0.5657 GB, free: 14.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005911/0.463, allocations: 469 kB / 0.5661 GB, free: 13.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.463, allocations: 0 / 0.5661 GB, free: 13.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009457/0.464, allocations: 0.5344 MB / 0.5667 GB, free: 13.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.242e-05/0.464, allocations: 39.41 kB / 0.5667 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.464, allocations: 7.938 kB / 0.5667 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/0.4641, allocations: 8 kB / 0.5667 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.4644, allocations: 87.84 kB / 0.5668 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-05/0.4644, allocations: 4 kB / 0.5668 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004692/0.4649, allocations: 63.36 kB / 0.5669 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.047e-05/0.465, allocations: 20 kB / 0.5669 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003911/0.4654, allocations: 272.6 kB / 0.5671 GB, free: 12.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000403/0.4658, allocations: 318 kB / 0.5674 GB, free: 12.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005604/0.4664, allocations: 460.3 kB / 0.5679 GB, free: 11.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.829e-06/0.4664, allocations: 0 / 0.5679 GB, free: 11.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0008542/0.4672, allocations: 0.5199 MB / 0.5684 GB, free: 11.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/0.4673, allocations: 42.23 kB / 0.5684 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.4673, allocations: 4 kB / 0.5684 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.4673, allocations: 8 kB / 0.5684 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.4676, allocations: 79.89 kB / 0.5685 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/0.4676, allocations: 11.94 kB / 0.5685 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004406/0.4681, allocations: 35.73 kB / 0.5686 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.572e-05/0.4681, allocations: 24 kB / 0.5686 GB, free: 10.97 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.0002261/0.4684, allocations: 241.8 kB / 0.5688 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.4685, allocations: 55.38 kB / 0.5689 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006367/0.4691, allocations: 359.4 kB / 0.5692 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4691, allocations: 0 / 0.5692 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.4691, allocations: 3.938 kB / 0.5692 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.4693, allocations: 124.5 kB / 0.5693 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.487e-05/0.4694, allocations: 8 kB / 0.5693 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.4696, allocations: 11.98 kB / 0.5694 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.4697, allocations: 11.98 kB / 0.5694 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005308/0.4702, allocations: 441.8 kB / 0.5698 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005739/0.4708, allocations: 0.5074 MB / 0.5703 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00018/0.471, allocations: 117.5 kB / 0.5704 GB, free: 9.023 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004606/0.4715, allocations: 378.8 kB / 0.5708 GB, free: 8.656 MB / 430.1 MB Notification: Performance of Backend: time 6.11e-07/0.4715, allocations: 0 / 0.5708 GB, free: 8.656 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0027/0.4742, allocations: 1.009 MB / 0.5717 GB, free: 7.621 MB / 430.1 MB Notification: Performance of SimCode: time 0.002226/0.4764, allocations: 1.436 MB / 0.5731 GB, free: 6.129 MB / 430.1 MB Notification: Performance of Templates: time 0.02355/0.5, allocations: 13.82 MB / 0.5866 GB, free: 8.371 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