Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001889/0.001889, allocations: 187 kB / 18.09 MB, free: 3.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.3 MB / 242.1 MB, free: 9.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007951/0.0007952, allocations: 94.69 kB / 293.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3798/0.3798, allocations: 44.15 MB / 388.5 MB, free: 38.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003838, allocations: 16 kB / 461.1 MB, free: 1.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4129, allocations: 61.87 MB / 0.5107 GB, free: 38.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6673/1.08, allocations: 317.6 MB / 0.8209 GB, free: 12.31 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/1.081, allocations: 95.42 kB / 0.821 GB, free: 12.26 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5953/1.676, allocations: 99.57 MB / 0.9182 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 5.089e-06/1.676, allocations: 0 / 0.9182 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.888e-05/1.676, allocations: 16.16 kB / 0.9182 GB, free: 150.7 MB / 0.5261 GB 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.003206/1.679, allocations: 0.8761 MB / 0.9191 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/1.679, allocations: 17.28 kB / 0.9191 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005185/1.68, allocations: 66.28 kB / 0.9192 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/1.681, allocations: 482.1 kB / 0.9196 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.167e-05/1.681, allocations: 22.69 kB / 0.9197 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/1.681, allocations: 26.16 kB / 0.9197 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/1.683, allocations: 0.5314 MB / 0.9202 GB, free: 149.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/1.683, allocations: 3.969 kB / 0.9202 GB, free: 149.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.928e-05/1.683, allocations: 13.75 kB / 0.9202 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.028e-05/1.683, allocations: 32.06 kB / 0.9202 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009227/1.684, allocations: 448.8 kB / 0.9207 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003795/1.688, allocations: 2.23 MB / 0.9228 GB, free: 147.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004755/1.688, allocations: 224.6 kB / 0.9231 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002772/1.688, allocations: 137.1 kB / 0.9232 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001435/1.69, allocations: 1.012 MB / 0.9242 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003255/1.69, allocations: 219.1 kB / 0.9244 GB, free: 146.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 2.675e-06/1.69, allocations: 0 / 0.9244 GB, free: 146.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0007924/1.691, allocations: 379.5 kB / 0.9248 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.993e-05/1.691, allocations: 240.1 kB / 0.925 GB, free: 146 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008204/1.692, allocations: 0.513 MB / 0.9255 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/1.692, allocations: 31.86 kB / 0.9255 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/1.692, allocations: 285.5 kB / 0.9258 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.03e-05/1.692, allocations: 60.05 kB / 0.9258 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.09e-05/1.692, allocations: 6.281 kB / 0.9258 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001381/1.692, allocations: 357.1 kB / 0.9262 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/1.693, allocations: 125.3 kB / 0.9263 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003632/1.693, allocations: 301.4 kB / 0.9266 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006099/1.694, allocations: 430.3 kB / 0.927 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/1.694, allocations: 4.844 kB / 0.927 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001078/1.695, allocations: 0.5159 MB / 0.9275 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002193/1.695, allocations: 242.8 kB / 0.9277 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/1.695, allocations: 7.75 kB / 0.9278 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.552e-05/1.695, allocations: 9.625 kB / 0.9278 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/1.695, allocations: 74.5 kB / 0.9278 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.566e-05/1.696, allocations: 14.75 kB / 0.9278 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006148/1.696, allocations: 53.98 kB / 0.9279 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.133e-05/1.696, allocations: 21.44 kB / 0.9279 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/1.696, allocations: 5.188 kB / 0.9279 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000953/1.697, allocations: 470.1 kB / 0.9284 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/1.697, allocations: 7.766 kB / 0.9284 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/1.697, allocations: 6 kB / 0.9284 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/1.698, allocations: 69.11 kB / 0.9285 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/1.698, allocations: 10.56 kB / 0.9285 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005293/1.698, allocations: 58.11 kB / 0.9285 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-05/1.698, allocations: 20.88 kB / 0.9285 GB, free: 143.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004061/1.699, allocations: 298.1 kB / 0.9288 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/1.699, allocations: 56.94 kB / 0.9289 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007707/1.7, allocations: 370.7 kB / 0.9292 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/1.7, allocations: 4.734 kB / 0.9292 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/1.7, allocations: 5.219 kB / 0.9292 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/1.7, allocations: 0 / 0.9292 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006912/1.7, allocations: 409.7 kB / 0.9296 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/1.7, allocations: 1.125 kB / 0.9296 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/1.7, allocations: 23.28 kB / 0.9297 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/1.7, allocations: 4.969 kB / 0.9297 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/1.701, allocations: 10.89 kB / 0.9297 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/1.701, allocations: 1.125 kB / 0.9297 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.701, allocations: 0 / 0.9297 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006544/1.701, allocations: 371.8 kB / 0.93 GB, free: 142.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/1.701, allocations: 129.9 kB / 0.9301 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/1.702, allocations: 11.2 kB / 0.9302 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003095/1.702, allocations: 25.33 kB / 0.9302 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.285e-05/1.702, allocations: 9.688 kB / 0.9302 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/1.702, allocations: 6.906 kB / 0.9302 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005974/1.703, allocations: 370.6 kB / 0.9306 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/1.703, allocations: 0 / 0.9306 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002018/1.705, allocations: 484.5 kB / 0.931 GB, free: 142.3 MB / 0.5261 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00195/1.707, allocations: 0.504 MB / 0.9315 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001082/1.708, allocations: 0.634 MB / 0.9321 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.708, allocations: 4 kB / 0.9321 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002019/1.708, allocations: 177.5 kB / 0.9323 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/1.709, allocations: 198.5 kB / 0.9325 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/1.711, allocations: 0.9544 MB / 0.9334 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/1.711, allocations: 0.8361 MB / 0.9342 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006845/1.712, allocations: 164.4 kB / 0.9344 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/1.712, allocations: 46.5 kB / 0.9344 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of SimCode: time 4.51e-07/1.712, allocations: 0 / 0.9344 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.02313/1.735, allocations: 12.27 MB / 0.9464 GB, free: 139.5 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches