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.001137/0.001137, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 225.6 MB / 234.8 MB, free: 3.246 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001067/0.001067, allocations: 97.14 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2259/0.2259, allocations: 45.15 MB / 383.8 MB, free: 228 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.911e-05/1.913e-05, allocations: 4 kB / 453.2 MB, free: 75.79 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1374, allocations: 63.25 MB / 0.5044 GB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.065/1.202, allocations: 317.8 MB / 0.8147 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/1.202, allocations: 87.06 kB / 0.8148 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.2021/1.405, allocations: 98.79 MB / 0.9113 GB, free: 44.31 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.547e-06/1.405, allocations: 0 / 0.9113 GB, free: 44.31 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.161e-05/1.405, allocations: 15.94 kB / 0.9113 GB, free: 44.29 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.00299/1.408, allocations: 0.824 MB / 0.9121 GB, free: 43.42 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/1.408, allocations: 8.031 kB / 0.9121 GB, free: 43.41 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005249/1.408, allocations: 67.28 kB / 0.9122 GB, free: 43.34 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/1.409, allocations: 475.7 kB / 0.9126 GB, free: 42.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.897e-05/1.41, allocations: 12 kB / 0.9127 GB, free: 42.83 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.078e-05/1.41, allocations: 16 kB / 0.9127 GB, free: 42.81 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007238/1.41, allocations: 389.2 kB / 0.913 GB, free: 42.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007168/1.411, allocations: 487.7 kB / 0.9135 GB, free: 41.91 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/1.411, allocations: 0 / 0.9135 GB, free: 41.91 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-05/1.411, allocations: 0 / 0.9135 GB, free: 41.91 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.396e-05/1.411, allocations: 32.5 kB / 0.9135 GB, free: 41.88 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003218/1.414, allocations: 2.171 MB / 0.9157 GB, free: 39.58 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/1.415, allocations: 214.6 kB / 0.9159 GB, free: 39.36 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/1.415, allocations: 128.8 kB / 0.916 GB, free: 39.23 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/1.416, allocations: 1.037 MB / 0.917 GB, free: 38.07 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002377/1.416, allocations: 196.5 kB / 0.9172 GB, free: 37.85 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 2.164e-06/1.416, allocations: 0 / 0.9172 GB, free: 37.85 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0007501/1.417, allocations: 290.7 kB / 0.9175 GB, free: 37.56 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.811e-05/1.417, allocations: 239.3 kB / 0.9177 GB, free: 37.27 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003989/1.418, allocations: 377 kB / 0.9181 GB, free: 36.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/1.418, allocations: 29.69 kB / 0.9181 GB, free: 36.86 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/1.418, allocations: 295.4 kB / 0.9184 GB, free: 36.57 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.653e-05/1.418, allocations: 59.27 kB / 0.9184 GB, free: 36.51 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.815e-05/1.418, allocations: 0 / 0.9184 GB, free: 36.51 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001178/1.418, allocations: 350.8 kB / 0.9188 GB, free: 36.16 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/1.418, allocations: 116.4 kB / 0.9189 GB, free: 36.04 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/1.418, allocations: 284.6 kB / 0.9191 GB, free: 35.69 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/1.42, allocations: 349.7 kB / 0.9195 GB, free: 35.34 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/1.42, allocations: 8 kB / 0.9195 GB, free: 35.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001558/1.421, allocations: 0.621 MB / 0.9201 GB, free: 34.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005024/1.422, allocations: 1.684 MB / 0.9217 GB, free: 32.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/1.422, allocations: 8 kB / 0.9217 GB, free: 32.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.861e-05/1.422, allocations: 4 kB / 0.9217 GB, free: 32.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/1.422, allocations: 79.84 kB / 0.9218 GB, free: 32.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/1.422, allocations: 11.98 kB / 0.9218 GB, free: 32.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/1.423, allocations: 43.58 kB / 0.9219 GB, free: 32.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.974e-05/1.423, allocations: 24 kB / 0.9219 GB, free: 32.72 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/1.423, allocations: 4 kB / 0.9219 GB, free: 32.72 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001354/1.424, allocations: 0.5426 MB / 0.9224 GB, free: 32.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/1.424, allocations: 4 kB / 0.9224 GB, free: 32.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/1.424, allocations: 8.516 kB / 0.9224 GB, free: 32.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/1.424, allocations: 83.89 kB / 0.9225 GB, free: 32.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/1.424, allocations: 7.938 kB / 0.9225 GB, free: 32.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003548/1.425, allocations: 35.73 kB / 0.9226 GB, free: 32.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.776e-05/1.425, allocations: 20 kB / 0.9226 GB, free: 32.02 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 () * 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.0001513/1.425, allocations: 146.5 kB / 0.9227 GB, free: 31.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-05/1.425, allocations: 43.53 kB / 0.9228 GB, free: 31.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006581/1.426, allocations: 338.8 kB / 0.9231 GB, free: 31.49 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/1.426, allocations: 0 / 0.9231 GB, free: 31.49 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/1.426, allocations: 7.938 kB / 0.9231 GB, free: 31.48 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/1.426, allocations: 3.984 kB / 0.9231 GB, free: 31.48 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004076/1.426, allocations: 361.8 kB / 0.9234 GB, free: 31.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/1.426, allocations: 0 / 0.9234 GB, free: 31.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/1.426, allocations: 23.98 kB / 0.9235 GB, free: 31.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/1.426, allocations: 4 kB / 0.9235 GB, free: 31.06 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/1.426, allocations: 4 kB / 0.9235 GB, free: 31.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.426, allocations: 0 / 0.9235 GB, free: 31.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.426, allocations: 3.953 kB / 0.9235 GB, free: 31.05 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005581/1.427, allocations: 326.3 kB / 0.9238 GB, free: 30.72 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/1.427, allocations: 124.5 kB / 0.9239 GB, free: 30.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.956e-05/1.427, allocations: 8 kB / 0.9239 GB, free: 30.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/1.427, allocations: 19.98 kB / 0.9239 GB, free: 30.55 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/1.427, allocations: 11.94 kB / 0.9239 GB, free: 30.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/1.427, allocations: 12 kB / 0.924 GB, free: 30.53 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002784/1.428, allocations: 290.9 kB / 0.9242 GB, free: 30.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/1.428, allocations: 0 / 0.9242 GB, free: 30.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001525/1.429, allocations: 479 kB / 0.9247 GB, free: 29.78 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) * 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.001824/1.431, allocations: 0.531 MB / 0.9252 GB, free: 29.24 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000798/1.432, allocations: 0.6129 MB / 0.9258 GB, free: 28.61 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.432, allocations: 4.188 kB / 0.9258 GB, free: 28.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/1.432, allocations: 171.3 kB / 0.926 GB, free: 28.42 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007415/1.433, allocations: 146.7 kB / 0.9261 GB, free: 28.28 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009737/1.434, allocations: 0.5019 MB / 0.9266 GB, free: 27.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/1.434, allocations: 0.8475 MB / 0.9274 GB, free: 26.88 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000576/1.435, allocations: 169.6 kB / 0.9276 GB, free: 26.71 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.667e-05/1.435, allocations: 31.44 kB / 0.9276 GB, free: 26.68 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/1.435, allocations: 4 kB / 0.9276 GB, free: 26.68 MB / 0.5261 GB Notification: Performance of Templates: time 0.01857/1.453, allocations: 10.75 MB / 0.9381 GB, free: 16 MB / 0.5261 GB 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/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