Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 95.25 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001947/0.001947, allocations: 186.5 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2093/0.2093, allocations: 44.22 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 8 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1491, allocations: 61.92 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4776/0.6267, allocations: 145.7 MB / 0.6027 GB, free: 196 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008834/0.6356, allocations: 5.644 MB / 0.6083 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009139/0.6366, allocations: 23.75 kB / 0.6083 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.6377, allocations: 266.7 kB / 0.6085 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005232/0.6429, allocations: 1.349 MB / 0.6099 GB, free: 8.902 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002814/0.6458, allocations: 0.7826 MB / 0.6106 GB, free: 8.129 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002563/0.6483, allocations: 1.019 MB / 0.6116 GB, free: 7.105 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007874/0.6491, allocations: 362.1 kB / 0.612 GB, free: 6.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001812/0.651, allocations: 0.6778 MB / 0.6126 GB, free: 6.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005756/0.6516, allocations: 386.6 kB / 0.613 GB, free: 5.691 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.779e-05/0.6516, allocations: 28 kB / 0.613 GB, free: 5.664 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002596/0.6542, allocations: 1.096 MB / 0.6141 GB, free: 4.566 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.6544, allocations: 135.5 kB / 0.6142 GB, free: 4.434 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.6546, allocations: 157.4 kB / 0.6144 GB, free: 4.273 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.6565, allocations: 1.086 MB / 0.6154 GB, free: 3.188 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.6565, allocations: 0 / 0.6154 GB, free: 3.188 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6565, allocations: 4 kB / 0.6154 GB, free: 3.184 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.6566, allocations: 0 / 0.6154 GB, free: 3.184 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001756/0.6583, allocations: 0.9317 MB / 0.6163 GB, free: 2.199 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.6584, allocations: 11.97 kB / 0.6163 GB, free: 2.188 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.6595, allocations: 155.1 kB / 0.6165 GB, free: 2.039 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007822/0.6603, allocations: 468.7 kB / 0.6169 GB, free: 1.543 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.089e-05/0.6603, allocations: 33 kB / 0.617 GB, free: 1.508 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.734e-05/0.6604, allocations: 44 kB / 0.617 GB, free: 1.465 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.6616, allocations: 0.6478 MB / 0.6176 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.6616, allocations: 3.984 kB / 0.6177 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.538e-05/0.6617, allocations: 24 kB / 0.6177 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.6617, allocations: 12 kB / 0.6177 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009726/0.6627, allocations: 499.5 kB / 0.6182 GB, free: 252 kB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003403/0.6661, allocations: 2.645 MB / 0.6207 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006773/0.6668, allocations: 325 kB / 0.6211 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000525/0.6673, allocations: 441.6 kB / 0.6215 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.6674, allocations: 38.56 kB / 0.6215 GB, free: 12.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.745e-06/0.6674, allocations: 0 / 0.6215 GB, free: 12.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.001611/0.669, allocations: 0.7023 MB / 0.6222 GB, free: 11.79 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.72e-05/0.6691, allocations: 158.2 kB / 0.6224 GB, free: 11.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006208/0.6698, allocations: 0.5223 MB / 0.6229 GB, free: 11.06 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.458e-05/0.6698, allocations: 29.7 kB / 0.6229 GB, free: 11.02 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.6701, allocations: 307.5 kB / 0.6232 GB, free: 10.72 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.6702, allocations: 118.2 kB / 0.6233 GB, free: 10.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.6702, allocations: 12 kB / 0.6233 GB, free: 10.59 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.6704, allocations: 370.7 kB / 0.6237 GB, free: 10.22 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/0.6707, allocations: 141.1 kB / 0.6238 GB, free: 10.08 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003964/0.6711, allocations: 326.9 kB / 0.6241 GB, free: 9.684 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003497/0.6714, allocations: 200.7 kB / 0.6243 GB, free: 9.488 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.6715, allocations: 4 kB / 0.6243 GB, free: 9.484 MB / 462.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009818/0.6725, allocations: 0.564 MB / 0.6249 GB, free: 8.91 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.6725, allocations: 8 kB / 0.6249 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.6725, allocations: 4 kB / 0.6249 GB, free: 8.898 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001623/0.6741, allocations: 292.7 kB / 0.6251 GB, free: 8.609 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004045/0.6746, allocations: 119.8 kB / 0.6253 GB, free: 8.492 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004869/0.675, allocations: 0.5913 MB / 0.6258 GB, free: 7.875 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004711/0.6755, allocations: 63.48 kB / 0.6259 GB, free: 7.812 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.101e-05/0.6756, allocations: 59.98 kB / 0.626 GB, free: 7.754 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003002/0.6759, allocations: 190.2 kB / 0.6261 GB, free: 7.559 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.6761, allocations: 59.34 kB / 0.6262 GB, free: 7.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002067/0.6781, allocations: 1.111 MB / 0.6273 GB, free: 6.367 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.6782, allocations: 7.953 kB / 0.6273 GB, free: 6.359 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.6782, allocations: 0 / 0.6273 GB, free: 6.359 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.6782, allocations: 3.984 kB / 0.6273 GB, free: 6.355 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.6796, allocations: 0.9999 MB / 0.6283 GB, free: 5.277 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.6797, allocations: 4 kB / 0.6283 GB, free: 5.273 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.6799, allocations: 51.91 kB / 0.6283 GB, free: 5.223 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00325/0.6831, allocations: 0.5316 MB / 0.6288 GB, free: 4.688 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.945e-05/0.6832, allocations: 19.92 kB / 0.6289 GB, free: 4.668 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005716/0.6838, allocations: 0.5991 MB / 0.6294 GB, free: 4.043 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.6838, allocations: 4.031 kB / 0.6294 GB, free: 4.039 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008745/0.6847, allocations: 0.5654 MB / 0.63 GB, free: 3.398 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002358/0.6849, allocations: 160.2 kB / 0.6301 GB, free: 3.223 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.685, allocations: 8 kB / 0.6302 GB, free: 3.215 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003722/0.6854, allocations: 23.98 kB / 0.6302 GB, free: 3.191 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.6855, allocations: 31.92 kB / 0.6302 GB, free: 3.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.98e-05/0.6856, allocations: 15.98 kB / 0.6302 GB, free: 3.145 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005639/0.6861, allocations: 410.8 kB / 0.6306 GB, free: 2.746 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6862, allocations: 3.938 kB / 0.6306 GB, free: 2.742 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001085/0.6872, allocations: 295.7 kB / 0.6309 GB, free: 2.453 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009123/0.6882, allocations: 395.1 kB / 0.6313 GB, free: 2.062 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008679/0.689, allocations: 380.1 kB / 0.6316 GB, free: 1.691 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.6891, allocations: 3.938 kB / 0.6316 GB, free: 1.688 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003128/0.6894, allocations: 149.1 kB / 0.6318 GB, free: 1.543 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.691, allocations: 336.8 kB / 0.6321 GB, free: 1.219 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.6927, allocations: 1.125 MB / 0.6332 GB, free: 44 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00049/0.6932, allocations: 0.8831 MB / 0.6341 GB, free: 15.13 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001295/0.6945, allocations: 0.5596 MB / 0.6346 GB, free: 14.57 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/0.6948, allocations: 91.39 kB / 0.6347 GB, free: 14.48 MB / 478.1 MB Notification: Performance of SimCode: time 2.525e-06/0.6948, allocations: 0 / 0.6347 GB, free: 14.48 MB / 478.1 MB Notification: Performance of Templates: time 0.02823/0.7231, allocations: 15.02 MB / 0.6494 GB, free: 15.6 MB / 494.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches