Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 102.4 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 185.2 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.4 MB / 223.1 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4761/0.4761, allocations: 43.57 MB / 315 MB, free: 8.758 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006361/0.0006364, allocations: 12 kB / 384.6 MB, free: 7.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1721, allocations: 58.87 MB / 443.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01945/0.1916, allocations: 12.36 MB / 455.8 MB, free: 272 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3822/0.5739, allocations: 5.565 MB / 461.4 MB, free: 36.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.5752, allocations: 17 kB / 461.4 MB, free: 36.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009285/0.5762, allocations: 171.5 kB / 461.6 MB, free: 36.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002331/0.5785, allocations: 0.6477 MB / 462.2 MB, free: 36.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004889/0.5834, allocations: 1.296 MB / 463.5 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002788/0.5862, allocations: 1.722 MB / 465.2 MB, free: 35.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007438/0.587, allocations: 264.8 kB / 465.5 MB, free: 35.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.5881, allocations: 439.7 kB / 465.9 MB, free: 35.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007846/0.5889, allocations: 462.4 kB / 466.4 MB, free: 35.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.226e-05/0.589, allocations: 20.09 kB / 466.4 MB, free: 35.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002986/0.592, allocations: 1.041 MB / 467.4 MB, free: 35.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000252/0.5923, allocations: 141.8 kB / 467.6 MB, free: 35.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003663/0.5926, allocations: 277.5 kB / 467.8 MB, free: 35.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002039/0.5947, allocations: 1.266 MB / 469.1 MB, free: 35.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5947, allocations: 3.938 kB / 469.1 MB, free: 35.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.5947, allocations: 0 / 469.1 MB, free: 35.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.5947, allocations: 0 / 469.1 MB, free: 35.4 MB / 382.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.001623/0.5964, allocations: 0.8536 MB / 470 MB, free: 34.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.5964, allocations: 9.094 kB / 470 MB, free: 34.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00024/0.5967, allocations: 61.31 kB / 470 MB, free: 34.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005505/0.5972, allocations: 442.6 kB / 470.5 MB, free: 34.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.095e-05/0.5973, allocations: 23.38 kB / 470.5 MB, free: 34.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.749e-05/0.5973, allocations: 24.31 kB / 470.5 MB, free: 34.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007823/0.5981, allocations: 0.528 MB / 471 MB, free: 34.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.5982, allocations: 0 / 471 MB, free: 34.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.899e-05/0.5982, allocations: 14.09 kB / 471 MB, free: 34.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.985e-05/0.5983, allocations: 35.36 kB / 471.1 MB, free: 34.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006601/0.5989, allocations: 466.3 kB / 471.5 MB, free: 34.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002859/0.6018, allocations: 2.254 MB / 473.8 MB, free: 33.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.6022, allocations: 239.8 kB / 474 MB, free: 32.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.6024, allocations: 134.2 kB / 474.2 MB, free: 32.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009783/0.6034, allocations: 1.024 MB / 475.2 MB, free: 32.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002903/0.6037, allocations: 223.4 kB / 475.4 MB, free: 32.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.392e-06/0.6037, allocations: 0 / 475.4 MB, free: 32.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006358/0.6044, allocations: 385.4 kB / 475.8 MB, free: 31.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.6045, allocations: 237.9 kB / 476 MB, free: 31.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000544/0.605, allocations: 0.5225 MB / 476.5 MB, free: 31.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.6051, allocations: 36.48 kB / 476.6 MB, free: 31.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.6053, allocations: 287 kB / 476.8 MB, free: 31.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.768e-05/0.6053, allocations: 56.69 kB / 476.9 MB, free: 31.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.6054, allocations: 36.73 kB / 476.9 MB, free: 31.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.6055, allocations: 362.5 kB / 477.3 MB, free: 31.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.6057, allocations: 129.7 kB / 477.4 MB, free: 31.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002955/0.606, allocations: 316.3 kB / 477.7 MB, free: 30.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005007/0.6065, allocations: 466.8 kB / 478.2 MB, free: 30.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.6065, allocations: 3.094 kB / 478.2 MB, free: 30.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008792/0.6074, allocations: 0.5335 MB / 478.7 MB, free: 30.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001591/0.6076, allocations: 248.5 kB / 479 MB, free: 30.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.6076, allocations: 4.094 kB / 479 MB, free: 30.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/0.6076, allocations: 6.031 kB / 479 MB, free: 30.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/0.6079, allocations: 85.56 kB / 479.1 MB, free: 30.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.608, allocations: 9.453 kB / 479.1 MB, free: 30.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003704/0.6083, allocations: 63.02 kB / 479.1 MB, free: 30.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-05/0.6084, allocations: 19.05 kB / 479.1 MB, free: 30.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/0.6084, allocations: 3.062 kB / 479.1 MB, free: 30.04 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006288/0.609, allocations: 488.1 kB / 479.6 MB, free: 29.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.6091, allocations: 10.25 kB / 479.6 MB, free: 29.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.003e-06/0.6091, allocations: 6.031 kB / 479.6 MB, free: 29.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.6093, allocations: 78.98 kB / 479.7 MB, free: 29.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.6094, allocations: 5.938 kB / 479.7 MB, free: 29.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/0.6097, allocations: 61.16 kB / 479.8 MB, free: 29.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.6097, allocations: 24.69 kB / 479.8 MB, free: 29.79 MB / 382.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.000242/0.6099, allocations: 298.6 kB / 480.1 MB, free: 29.53 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-05/0.61, allocations: 53.56 kB / 480.2 MB, free: 29.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005586/0.6106, allocations: 369 kB / 480.5 MB, free: 29.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.6106, allocations: 0 / 480.5 MB, free: 29.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.6106, allocations: 7.031 kB / 480.5 MB, free: 29.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.6106, allocations: 3.938 kB / 480.5 MB, free: 29.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00039/0.611, allocations: 416.7 kB / 480.9 MB, free: 29.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.611, allocations: 0 / 480.9 MB, free: 29.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.6111, allocations: 26.66 kB / 481 MB, free: 29.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.6112, allocations: 0 / 481 MB, free: 29.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.6112, allocations: 3.406 kB / 481 MB, free: 29.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.6112, allocations: 3.344 kB / 481 MB, free: 29.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.6112, allocations: 3.938 kB / 481 MB, free: 29.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004851/0.6117, allocations: 373.6 kB / 481.3 MB, free: 28.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.6118, allocations: 132.1 kB / 481.5 MB, free: 28.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.459e-05/0.6119, allocations: 7.188 kB / 481.5 MB, free: 28.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.6121, allocations: 13.19 kB / 481.5 MB, free: 28.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.6122, allocations: 14.27 kB / 481.5 MB, free: 28.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.6122, allocations: 6.969 kB / 481.5 MB, free: 28.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003925/0.6126, allocations: 378.4 kB / 481.9 MB, free: 28.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6126, allocations: 0 / 481.9 MB, free: 28.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001368/0.614, allocations: 425.2 kB / 482.3 MB, free: 28.44 MB / 382.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.001007/0.615, allocations: 413 kB / 482.7 MB, free: 28.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008542/0.6159, allocations: 0.6703 MB / 483.4 MB, free: 27.94 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.6159, allocations: 3.156 kB / 483.4 MB, free: 27.94 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.6161, allocations: 192.8 kB / 483.6 MB, free: 27.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009795/0.6171, allocations: 199.4 kB / 483.7 MB, free: 27.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.6186, allocations: 1.004 MB / 484.7 MB, free: 27.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.6189, allocations: 0.8473 MB / 485.6 MB, free: 26.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005383/0.6195, allocations: 167.9 kB / 485.8 MB, free: 26.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.943e-05/0.6196, allocations: 38.09 kB / 485.8 MB, free: 26.46 MB / 382.1 MB Notification: Performance of SimCode: time 5.72e-07/0.6196, allocations: 4 kB / 485.8 MB, free: 26.45 MB / 382.1 MB Notification: Performance of Templates: time 0.03701/0.6566, allocations: 11.65 MB / 497.5 MB, free: 25.04 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Pipes/StaticPipe/StaticPipe.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches