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.001255/0.001255, allocations: 177 kB / 17.06 MB, free: 5.098 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.381/1.381, allocations: 223.2 MB / 241 MB, free: 11.88 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.0009025/0.0009022, allocations: 87.39 kB / 292.2 MB, free: 10.91 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.42/0.42, allocations: 44.21 MB / 387.5 MB, free: 39.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003528, allocations: 8 kB / 459.9 MB, free: 1.766 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3912, allocations: 61.9 MB / 0.5096 GB, free: 37.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6973/1.089, allocations: 317.5 MB / 0.8196 GB, free: 12.44 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/1.089, allocations: 95.8 kB / 0.8197 GB, free: 12.39 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.595/1.684, allocations: 100.1 MB / 0.9175 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.308e-06/1.684, allocations: 3.344 kB / 0.9175 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.533e-05/1.684, allocations: 13.03 kB / 0.9175 GB, free: 150.4 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.002347/1.686, allocations: 0.881 MB / 0.9183 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/1.687, allocations: 13.53 kB / 0.9183 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003202/1.687, allocations: 66.31 kB / 0.9184 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009427/1.688, allocations: 466.9 kB / 0.9188 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.94e-05/1.688, allocations: 21.66 kB / 0.9189 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.797e-05/1.688, allocations: 30.48 kB / 0.9189 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009045/1.689, allocations: 0.529 MB / 0.9194 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/1.689, allocations: 5.031 kB / 0.9194 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.216e-05/1.689, allocations: 13.34 kB / 0.9194 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.15e-05/1.689, allocations: 28.67 kB / 0.9195 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007689/1.69, allocations: 459.3 kB / 0.9199 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003219/1.693, allocations: 2.249 MB / 0.9221 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004164/1.693, allocations: 223.9 kB / 0.9223 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001144/1.695, allocations: 1.025 MB / 0.9233 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000365/1.695, allocations: 208.9 kB / 0.9235 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 2.615e-06/1.695, allocations: 0 / 0.9235 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0007986/1.696, allocations: 467 kB / 0.924 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/1.696, allocations: 235.3 kB / 0.9242 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006205/1.697, allocations: 468.5 kB / 0.9246 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/1.697, allocations: 31.77 kB / 0.9247 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/1.697, allocations: 281.6 kB / 0.9249 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.681e-05/1.697, allocations: 60 kB / 0.925 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.12e-05/1.697, allocations: 6.312 kB / 0.925 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001202/1.697, allocations: 359.3 kB / 0.9253 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/1.697, allocations: 123.6 kB / 0.9254 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000339/1.698, allocations: 301.1 kB / 0.9257 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003117/1.698, allocations: 200.3 kB / 0.9259 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.698, allocations: 2 kB / 0.9259 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008916/1.699, allocations: 0.508 MB / 0.9264 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004946/1.699, allocations: 1.69 MB / 0.9281 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/1.699, allocations: 4.531 kB / 0.9281 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.996e-05/1.699, allocations: 11.48 kB / 0.9281 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/1.7, allocations: 81.31 kB / 0.9282 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/1.7, allocations: 6.156 kB / 0.9282 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004562/1.7, allocations: 62.92 kB / 0.9282 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.207e-05/1.7, allocations: 20.17 kB / 0.9283 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.407e-06/1.7, allocations: 3.188 kB / 0.9283 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007804/1.701, allocations: 469.3 kB / 0.9287 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.701, allocations: 4.031 kB / 0.9287 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/1.701, allocations: 7.594 kB / 0.9287 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/1.701, allocations: 72.86 kB / 0.9288 GB, free: 142 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/1.701, allocations: 13.89 kB / 0.9288 GB, free: 142 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003409/1.702, allocations: 56.12 kB / 0.9289 GB, free: 142 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.477e-05/1.702, allocations: 15.41 kB / 0.9289 GB, free: 142 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.0003031/1.702, allocations: 308.4 kB / 0.9292 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.463e-05/1.702, allocations: 49.09 kB / 0.9292 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006811/1.703, allocations: 371.4 kB / 0.9296 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/1.703, allocations: 5.969 kB / 0.9296 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.703, allocations: 0 / 0.9296 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/1.703, allocations: 5.469 kB / 0.9296 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000472/1.703, allocations: 409.8 kB / 0.93 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.703, allocations: 5 kB / 0.93 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/1.704, allocations: 19.34 kB / 0.93 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/1.704, allocations: 1.125 kB / 0.93 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/1.704, allocations: 16.11 kB / 0.93 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/1.704, allocations: 1.094 kB / 0.93 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.704, allocations: 6.594 kB / 0.93 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005274/1.704, allocations: 365.5 kB / 0.9304 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/1.704, allocations: 133.6 kB / 0.9305 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.9e-05/1.704, allocations: 8.281 kB / 0.9305 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/1.705, allocations: 17.67 kB / 0.9305 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/1.705, allocations: 13.08 kB / 0.9305 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/1.705, allocations: 7.406 kB / 0.9305 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004444/1.705, allocations: 369.9 kB / 0.9309 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/1.705, allocations: 1.25 kB / 0.9309 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002054/1.707, allocations: 471.9 kB / 0.9313 GB, free: 140.6 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.001273/1.709, allocations: 0.5134 MB / 0.9318 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001004/1.71, allocations: 0.6327 MB / 0.9325 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.71, allocations: 1.188 kB / 0.9325 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000193/1.71, allocations: 182.6 kB / 0.9326 GB, free: 140 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008777/1.711, allocations: 188.3 kB / 0.9328 GB, free: 140 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/1.712, allocations: 0.9506 MB / 0.9337 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/1.713, allocations: 0.8595 MB / 0.9346 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004954/1.713, allocations: 161.7 kB / 0.9347 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.557e-05/1.713, allocations: 44.81 kB / 0.9348 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of SimCode: time 6.01e-07/1.713, allocations: 0 / 0.9348 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.01829/1.731, allocations: 11.83 MB / 0.9463 GB, free: 137.8 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