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.001051/0.001051, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.331/1.331, allocations: 221.3 MB / 236 MB, free: 2.984 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.0009539/0.000954, allocations: 91.67 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.201/0.201, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.687e-05/2.69e-05, allocations: 8 kB / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1205, allocations: 61.91 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8522/0.9727, allocations: 317.4 MB / 0.8117 GB, free: 91.94 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001929/0.9729, allocations: 84.52 kB / 0.8118 GB, free: 91.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.2006/1.173, allocations: 99.78 MB / 0.9092 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.833e-06/1.174, allocations: 0 / 0.9092 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.133e-05/1.174, allocations: 12 kB / 0.9092 GB, free: 11.21 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.001573/1.175, allocations: 0.8317 MB / 0.91 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/1.175, allocations: 8.031 kB / 0.91 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000248/1.175, allocations: 59.34 kB / 0.9101 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008471/1.176, allocations: 463.8 kB / 0.9105 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/1.176, allocations: 24.55 kB / 0.9106 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.118e-05/1.176, allocations: 31.98 kB / 0.9106 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007958/1.177, allocations: 0.5124 MB / 0.9111 GB, free: 9.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/1.177, allocations: 0 / 0.9111 GB, free: 9.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.123e-05/1.177, allocations: 23.98 kB / 0.9111 GB, free: 9.137 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.797e-05/1.177, allocations: 32.53 kB / 0.9112 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006927/1.178, allocations: 442.2 kB / 0.9116 GB, free: 8.672 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003013/1.181, allocations: 2.258 MB / 0.9138 GB, free: 6.27 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/1.181, allocations: 222.6 kB / 0.914 GB, free: 6.043 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/1.182, allocations: 128.8 kB / 0.9141 GB, free: 5.914 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001157/1.183, allocations: 1.053 MB / 0.9151 GB, free: 4.742 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002888/1.183, allocations: 212.6 kB / 0.9153 GB, free: 4.504 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/1.183, allocations: 0 / 0.9153 GB, free: 4.504 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0005388/1.184, allocations: 299.9 kB / 0.9156 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/1.184, allocations: 247.3 kB / 0.9159 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005222/1.184, allocations: 463.8 kB / 0.9163 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/1.184, allocations: 29.7 kB / 0.9163 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/1.185, allocations: 287.3 kB / 0.9166 GB, free: 3.117 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.074e-05/1.185, allocations: 55.27 kB / 0.9167 GB, free: 3.062 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.99e-05/1.185, allocations: 4 kB / 0.9167 GB, free: 3.059 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001425/1.185, allocations: 362.7 kB / 0.917 GB, free: 2.695 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/1.185, allocations: 124.3 kB / 0.9171 GB, free: 2.574 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/1.185, allocations: 292 kB / 0.9174 GB, free: 2.215 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/1.186, allocations: 202.7 kB / 0.9176 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.186, allocations: 4 kB / 0.9176 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007631/1.186, allocations: 0.5012 MB / 0.9181 GB, free: 1.496 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.2411/1.428, allocations: 1.688 MB / 0.9198 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/1.428, allocations: 4.625 kB / 0.9198 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.789e-05/1.428, allocations: 6.812 kB / 0.9198 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004287/1.428, allocations: 71.72 kB / 0.9198 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/1.428, allocations: 13.73 kB / 0.9198 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005801/1.429, allocations: 61.64 kB / 0.9199 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.609e-05/1.429, allocations: 22.28 kB / 0.9199 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/1.429, allocations: 5.109 kB / 0.9199 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008304/1.43, allocations: 462.8 kB / 0.9204 GB, free: 147.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.43, allocations: 5.156 kB / 0.9204 GB, free: 147.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-06/1.43, allocations: 6.281 kB / 0.9204 GB, free: 147.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/1.43, allocations: 74.91 kB / 0.9205 GB, free: 147.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/1.43, allocations: 8.812 kB / 0.9205 GB, free: 147.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003322/1.43, allocations: 50.62 kB / 0.9205 GB, free: 147.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/1.43, allocations: 22.73 kB / 0.9205 GB, free: 147.4 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.0001265/1.43, allocations: 163.9 kB / 0.9207 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.64e-05/1.431, allocations: 49.36 kB / 0.9207 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006173/1.431, allocations: 366.4 kB / 0.9211 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/1.431, allocations: 5.422 kB / 0.9211 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.431, allocations: 1.984 kB / 0.9211 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/1.431, allocations: 7.391 kB / 0.9211 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/1.432, allocations: 405.1 kB / 0.9215 GB, free: 147 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/1.432, allocations: 1.734 kB / 0.9215 GB, free: 147 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/1.432, allocations: 27.33 kB / 0.9215 GB, free: 147 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/1.432, allocations: 1.531 kB / 0.9215 GB, free: 147 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/1.432, allocations: 11.14 kB / 0.9215 GB, free: 147 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/1.432, allocations: 0 / 0.9215 GB, free: 147 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.432, allocations: 4.984 kB / 0.9215 GB, free: 147 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005245/1.432, allocations: 361.8 kB / 0.9219 GB, free: 146.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/1.433, allocations: 136.3 kB / 0.922 GB, free: 146.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.562e-05/1.433, allocations: 9.031 kB / 0.922 GB, free: 146.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/1.433, allocations: 17.52 kB / 0.922 GB, free: 146.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/1.433, allocations: 16.41 kB / 0.922 GB, free: 146.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/1.433, allocations: 13.62 kB / 0.9221 GB, free: 146.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000436/1.433, allocations: 368.6 kB / 0.9224 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-07/1.433, allocations: 0 / 0.9224 GB, free: 146.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001397/1.435, allocations: 474.5 kB / 0.9229 GB, free: 146.7 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.001097/1.436, allocations: 0.5152 MB / 0.9234 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008728/1.437, allocations: 0.6422 MB / 0.924 GB, free: 146.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/1.437, allocations: 1.531 kB / 0.924 GB, free: 146.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001689/1.437, allocations: 176.6 kB / 0.9242 GB, free: 146.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008768/1.438, allocations: 187.5 kB / 0.9243 GB, free: 146.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009304/1.439, allocations: 0.5298 MB / 0.9249 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/1.439, allocations: 0.8541 MB / 0.9257 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006419/1.44, allocations: 193.6 kB / 0.9259 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.778e-05/1.44, allocations: 35.64 kB / 0.9259 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/1.44, allocations: 0 / 0.9259 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.02224/1.462, allocations: 12.76 MB / 0.9384 GB, free: 145.3 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/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