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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 207.3 kB / 17.99 MB, free: 3.773 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001/0.0009999, allocations: 106.2 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3561/0.3561, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 71.88 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3212, allocations: 62.01 MB / 0.5152 GB, free: 37.71 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01002/0.3313, allocations: 12.91 MB / 0.5278 GB, free: 28.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00637/0.3377, allocations: 5.729 MB / 0.5334 GB, free: 24.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004578/0.3382, allocations: 23.97 kB / 0.5334 GB, free: 24.49 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005487/0.3388, allocations: 170.8 kB / 0.5335 GB, free: 24.4 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.3401, allocations: 0.6544 MB / 0.5342 GB, free: 24.05 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002911/0.3431, allocations: 1.289 MB / 0.5354 GB, free: 23.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001569/0.3446, allocations: 1.725 MB / 0.5371 GB, free: 22.86 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000414/0.3451, allocations: 277.5 kB / 0.5374 GB, free: 22.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007412/0.3458, allocations: 445 kB / 0.5378 GB, free: 22.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005868/0.3464, allocations: 469.8 kB / 0.5383 GB, free: 22.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.016e-05/0.3465, allocations: 25.38 kB / 0.5383 GB, free: 22.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002547/0.3491, allocations: 1.043 MB / 0.5393 GB, free: 22.14 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002779/0.3494, allocations: 150.2 kB / 0.5394 GB, free: 22.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003486/0.3497, allocations: 253.9 kB / 0.5397 GB, free: 21.95 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002356/0.3521, allocations: 1.292 MB / 0.5409 GB, free: 21.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3521, allocations: 2.844 kB / 0.541 GB, free: 21.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3521, allocations: 0 / 0.541 GB, free: 21.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.3521, allocations: 4 kB / 0.541 GB, free: 21.54 MB / 378.7 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.00193/0.3541, allocations: 0.954 MB / 0.5419 GB, free: 20.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3541, allocations: 9.094 kB / 0.5419 GB, free: 20.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000249/0.3544, allocations: 59.19 kB / 0.542 GB, free: 20.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006061/0.355, allocations: 441.1 kB / 0.5424 GB, free: 20.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.355, allocations: 21.03 kB / 0.5424 GB, free: 20.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.729e-05/0.3551, allocations: 31.69 kB / 0.5424 GB, free: 20.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007944/0.3559, allocations: 0.5206 MB / 0.5429 GB, free: 20.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.3559, allocations: 1.094 kB / 0.5429 GB, free: 20.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.429e-05/0.356, allocations: 20.22 kB / 0.543 GB, free: 20.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.318e-05/0.356, allocations: 34.88 kB / 0.543 GB, free: 20.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007558/0.3568, allocations: 467.5 kB / 0.5434 GB, free: 19.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002991/0.3598, allocations: 2.258 MB / 0.5456 GB, free: 18.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.3602, allocations: 240 kB / 0.5459 GB, free: 18.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/0.3605, allocations: 140.7 kB / 0.546 GB, free: 18.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/0.3616, allocations: 1.019 MB / 0.547 GB, free: 17.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003095/0.3619, allocations: 218.6 kB / 0.5472 GB, free: 17.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 2.455e-06/0.3619, allocations: 0 / 0.5472 GB, free: 17.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006682/0.3626, allocations: 386.6 kB / 0.5476 GB, free: 16.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.555e-05/0.3626, allocations: 241.1 kB / 0.5478 GB, free: 16.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006075/0.3633, allocations: 0.515 MB / 0.5483 GB, free: 16.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.3633, allocations: 32.14 kB / 0.5483 GB, free: 16.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.3635, allocations: 285.4 kB / 0.5486 GB, free: 16.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.794e-05/0.3635, allocations: 61.91 kB / 0.5487 GB, free: 16.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.3637, allocations: 102.5 kB / 0.5488 GB, free: 16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.254e-05/0.3638, allocations: 358.3 kB / 0.5491 GB, free: 15.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.364, allocations: 135 kB / 0.5492 GB, free: 15.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/0.3643, allocations: 310.8 kB / 0.5495 GB, free: 15.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005107/0.3648, allocations: 460.5 kB / 0.55 GB, free: 15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.3648, allocations: 5.062 kB / 0.55 GB, free: 14.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000782/0.3656, allocations: 0.5392 MB / 0.5505 GB, free: 14.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.654e-05/0.3657, allocations: 41.39 kB / 0.5505 GB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.3657, allocations: 4 kB / 0.5505 GB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.3657, allocations: 7.5 kB / 0.5506 GB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003103/0.366, allocations: 77.27 kB / 0.5506 GB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.3661, allocations: 11.34 kB / 0.5506 GB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004009/0.3665, allocations: 65.09 kB / 0.5507 GB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/0.3665, allocations: 20.48 kB / 0.5507 GB, free: 14.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003338/0.3669, allocations: 269.9 kB / 0.551 GB, free: 14.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002984/0.3672, allocations: 312.2 kB / 0.5513 GB, free: 14.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004384/0.3676, allocations: 457.6 kB / 0.5517 GB, free: 13.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.076e-06/0.3676, allocations: 1.438 kB / 0.5517 GB, free: 13.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007939/0.3684, allocations: 0.5255 MB / 0.5522 GB, free: 13.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.3685, allocations: 37.67 kB / 0.5523 GB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3685, allocations: 4.125 kB / 0.5523 GB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.634e-06/0.3685, allocations: 7.484 kB / 0.5523 GB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.3688, allocations: 79.86 kB / 0.5523 GB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.3688, allocations: 8 kB / 0.5524 GB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004177/0.3692, allocations: 48.66 kB / 0.5524 GB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/0.3693, allocations: 25.91 kB / 0.5524 GB, free: 13.55 MB / 378.7 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.0001498/0.3694, allocations: 243.8 kB / 0.5527 GB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.517e-05/0.3695, allocations: 57.5 kB / 0.5527 GB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000588/0.3701, allocations: 358 kB / 0.5531 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.3701, allocations: 6.219 kB / 0.5531 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3701, allocations: 4 kB / 0.5531 GB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3701, allocations: 2.297 kB / 0.5531 GB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004552/0.3706, allocations: 413.1 kB / 0.5535 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3706, allocations: 0.7812 kB / 0.5535 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.3707, allocations: 26.33 kB / 0.5535 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3707, allocations: 1.031 kB / 0.5535 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.3708, allocations: 9.641 kB / 0.5535 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3708, allocations: 3.938 kB / 0.5535 GB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3708, allocations: 1.062 kB / 0.5535 GB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008546/0.3716, allocations: 1.101 MB / 0.5546 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.719e-05/0.3718, allocations: 123 kB / 0.5547 GB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.623e-05/0.3718, allocations: 13.09 kB / 0.5547 GB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.3721, allocations: 15.31 kB / 0.5547 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.3721, allocations: 9.031 kB / 0.5547 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.3722, allocations: 16.39 kB / 0.5547 GB, free: 11.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004654/0.3727, allocations: 369.4 kB / 0.5551 GB, free: 11.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3727, allocations: 5 kB / 0.5551 GB, free: 11.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001581/0.3743, allocations: 435.9 kB / 0.5555 GB, free: 11.55 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 ($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.001009/0.3753, allocations: 420.2 kB / 0.5559 GB, free: 11.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009833/0.3763, allocations: 0.6678 MB / 0.5566 GB, free: 11.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.3763, allocations: 1.938 kB / 0.5566 GB, free: 11.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.3765, allocations: 189.3 kB / 0.5568 GB, free: 10.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.3775, allocations: 201.7 kB / 0.5569 GB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.3789, allocations: 1.135 MB / 0.5581 GB, free: 10.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.3792, allocations: 0.8533 MB / 0.5589 GB, free: 9.242 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005432/0.3797, allocations: 175.7 kB / 0.5591 GB, free: 9.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.3798, allocations: 39.09 kB / 0.5591 GB, free: 9.152 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.3798, allocations: 0 / 0.5591 GB, free: 9.152 MB / 378.7 MB Notification: Performance of Templates: time 0.01636/0.3962, allocations: 11.98 MB / 0.5708 GB, free: 15.51 MB / 394.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Pipes/StaticPipe/StaticPipe.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches