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.001231/0.001231, allocations: 167.6 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009581/0.000958, allocations: 103.5 kB / 281.6 MB, free: 5.309 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.2157/0.2157, allocations: 44.14 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.354e-05/2.355e-05, allocations: 4 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1412, allocations: 61.92 MB / 0.4947 GB, free: 1.242 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.035/1.176, allocations: 316.8 MB / 0.804 GB, free: 71.88 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/1.176, allocations: 89.44 kB / 0.8041 GB, free: 71.83 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.5725/1.749, allocations: 98.99 MB / 0.9008 GB, free: 143.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.933e-06/1.749, allocations: 2.719 kB / 0.9008 GB, free: 143.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.226e-05/1.749, allocations: 13.2 kB / 0.9008 GB, free: 143.1 MB / 0.5105 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.002666/1.752, allocations: 0.8197 MB / 0.9016 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/1.752, allocations: 17.14 kB / 0.9016 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004946/1.752, allocations: 64.41 kB / 0.9017 GB, free: 142.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/1.754, allocations: 462 kB / 0.9021 GB, free: 142.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.916e-05/1.754, allocations: 10.38 kB / 0.9021 GB, free: 142.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/1.754, allocations: 20.42 kB / 0.9021 GB, free: 142.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000881/1.755, allocations: 392.9 kB / 0.9025 GB, free: 142.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009499/1.756, allocations: 493.2 kB / 0.903 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/1.756, allocations: 1.031 kB / 0.903 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.324e-05/1.756, allocations: 1.906 kB / 0.903 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.521e-05/1.756, allocations: 32.33 kB / 0.903 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003752/1.76, allocations: 2.173 MB / 0.9051 GB, free: 141 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004027/1.76, allocations: 221.3 kB / 0.9054 GB, free: 141 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/1.76, allocations: 123.6 kB / 0.9055 GB, free: 141 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00132/1.762, allocations: 1.038 MB / 0.9065 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003076/1.762, allocations: 208.3 kB / 0.9067 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 2.875e-06/1.762, allocations: 4.875 kB / 0.9067 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0008796/1.763, allocations: 270.6 kB / 0.9069 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.099e-05/1.763, allocations: 239.7 kB / 0.9072 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005422/1.763, allocations: 380 kB / 0.9075 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/1.763, allocations: 26.83 kB / 0.9076 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002429/1.764, allocations: 297.1 kB / 0.9078 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.525e-05/1.764, allocations: 54.47 kB / 0.9079 GB, free: 139.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.026e-05/1.764, allocations: 1.219 kB / 0.9079 GB, free: 139.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.764, allocations: 358 kB / 0.9082 GB, free: 139.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/1.764, allocations: 109.8 kB / 0.9083 GB, free: 139.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003785/1.765, allocations: 291.2 kB / 0.9086 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/1.766, allocations: 295.7 kB / 0.9089 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/1.766, allocations: 0 / 0.9089 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001674/1.767, allocations: 0.5644 MB / 0.9095 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000806/1.768, allocations: 1.698 MB / 0.9111 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.822e-05/1.768, allocations: 4.656 kB / 0.9111 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.421e-05/1.768, allocations: 7.125 kB / 0.9111 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/1.769, allocations: 76.53 kB / 0.9112 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.469e-05/1.769, allocations: 9.297 kB / 0.9112 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006864/1.769, allocations: 48.14 kB / 0.9113 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.103e-05/1.769, allocations: 19.81 kB / 0.9113 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/1.769, allocations: 4.125 kB / 0.9113 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001377/1.771, allocations: 0.4957 MB / 0.9118 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/1.771, allocations: 4.125 kB / 0.9118 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/1.771, allocations: 6.875 kB / 0.9118 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/1.771, allocations: 73.3 kB / 0.9118 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-05/1.771, allocations: 10.12 kB / 0.9118 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000516/1.772, allocations: 36.22 kB / 0.9119 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.986e-05/1.772, allocations: 23.7 kB / 0.9119 GB, free: 137.1 MB / 0.5105 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.0002498/1.772, allocations: 161.8 kB / 0.9121 GB, free: 136.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/1.772, allocations: 42.06 kB / 0.9121 GB, free: 136.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009716/1.773, allocations: 323.7 kB / 0.9124 GB, free: 136.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/1.773, allocations: 2.219 kB / 0.9124 GB, free: 136.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/1.773, allocations: 0 / 0.9124 GB, free: 136.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/1.773, allocations: 0 / 0.9124 GB, free: 136.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007821/1.774, allocations: 363.5 kB / 0.9128 GB, free: 136.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/1.774, allocations: 5.266 kB / 0.9128 GB, free: 136.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/1.774, allocations: 23.34 kB / 0.9128 GB, free: 136.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/1.774, allocations: 4.156 kB / 0.9128 GB, free: 136.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/1.774, allocations: 7.406 kB / 0.9128 GB, free: 136.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/1.774, allocations: 0 / 0.9128 GB, free: 136.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/1.774, allocations: 4.656 kB / 0.9128 GB, free: 136.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008151/1.775, allocations: 322 kB / 0.9131 GB, free: 136.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/1.775, allocations: 135.3 kB / 0.9132 GB, free: 136.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/1.776, allocations: 4.344 kB / 0.9132 GB, free: 136.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/1.776, allocations: 12.45 kB / 0.9133 GB, free: 136.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.418e-05/1.776, allocations: 16.86 kB / 0.9133 GB, free: 136.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/1.776, allocations: 10.16 kB / 0.9133 GB, free: 136.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004834/1.776, allocations: 290.4 kB / 0.9136 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.41e-07/1.776, allocations: 0 / 0.9136 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002379/1.779, allocations: 480.5 kB / 0.914 GB, free: 136.3 MB / 0.5105 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.002369/1.781, allocations: 0.5049 MB / 0.9145 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001239/1.782, allocations: 0.6145 MB / 0.9151 GB, free: 136 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/1.782, allocations: 4.406 kB / 0.9151 GB, free: 136 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002222/1.783, allocations: 173.5 kB / 0.9153 GB, free: 136 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009037/1.784, allocations: 148.2 kB / 0.9154 GB, free: 136 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/1.785, allocations: 0.5038 MB / 0.9159 GB, free: 135.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005347/1.786, allocations: 0.8497 MB / 0.9167 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007643/1.786, allocations: 161.9 kB / 0.9169 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/1.787, allocations: 35.2 kB / 0.9169 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.222e-06/1.787, allocations: 0 / 0.9169 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.02599/1.813, allocations: 10.75 MB / 0.9274 GB, free: 134.6 MB / 0.5105 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/jenkins/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