Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001376/0.001376, allocations: 94.75 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001495/0.001496, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2339/0.2339, allocations: 45.92 MB / 344 MB, free: 12.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004394/0.0004396, allocations: 4 kB / 417.9 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1567, allocations: 63.47 MB / 481.4 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4754/0.6321, allocations: 145.8 MB / 0.6125 GB, free: 3.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009915/0.6421, allocations: 5.646 MB / 0.618 GB, free: 14.02 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.6433, allocations: 19.81 kB / 0.618 GB, free: 14 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.6444, allocations: 266.7 kB / 0.6183 GB, free: 13.74 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007588/0.652, allocations: 1.35 MB / 0.6196 GB, free: 12.39 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002888/0.6549, allocations: 0.797 MB / 0.6204 GB, free: 11.61 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002736/0.6577, allocations: 1.019 MB / 0.6214 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006275/0.6583, allocations: 369.5 kB / 0.6217 GB, free: 10.22 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001843/0.6602, allocations: 0.6779 MB / 0.6224 GB, free: 9.543 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006318/0.6608, allocations: 386.6 kB / 0.6228 GB, free: 9.164 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.467e-05/0.6609, allocations: 28 kB / 0.6228 GB, free: 9.137 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002886/0.6638, allocations: 1.096 MB / 0.6239 GB, free: 8.039 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002357/0.6641, allocations: 147.5 kB / 0.624 GB, free: 7.895 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.6643, allocations: 157.4 kB / 0.6242 GB, free: 7.734 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.6662, allocations: 1.082 MB / 0.6252 GB, free: 6.652 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6662, allocations: 0 / 0.6252 GB, free: 6.652 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.6663, allocations: 4 kB / 0.6252 GB, free: 6.648 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.6663, allocations: 3.938 kB / 0.6252 GB, free: 6.645 MB / 462.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.001803/0.6681, allocations: 0.9433 MB / 0.6262 GB, free: 5.648 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.6681, allocations: 8.031 kB / 0.6262 GB, free: 5.641 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.6694, allocations: 163.2 kB / 0.6263 GB, free: 5.48 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006981/0.6701, allocations: 472.7 kB / 0.6268 GB, free: 4.984 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.6701, allocations: 33 kB / 0.6268 GB, free: 4.949 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.333e-05/0.6702, allocations: 43.98 kB / 0.6268 GB, free: 4.906 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.6713, allocations: 0.64 MB / 0.6275 GB, free: 4.219 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.6713, allocations: 0 / 0.6275 GB, free: 4.219 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.83e-05/0.6714, allocations: 20 kB / 0.6275 GB, free: 4.199 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.6714, allocations: 12 kB / 0.6275 GB, free: 4.188 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008638/0.6723, allocations: 0.4995 MB / 0.628 GB, free: 3.688 MB / 462.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.003176/0.6755, allocations: 2.641 MB / 0.6306 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006685/0.6761, allocations: 330.7 kB / 0.6309 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004848/0.6766, allocations: 433.5 kB / 0.6313 GB, free: 12 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.141e-05/0.6767, allocations: 42.55 kB / 0.6313 GB, free: 15.96 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.485e-06/0.6767, allocations: 0 / 0.6313 GB, free: 15.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=35): time 0.001644/0.6784, allocations: 0.7138 MB / 0.632 GB, free: 15.22 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.6785, allocations: 158.2 kB / 0.6322 GB, free: 15.03 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006493/0.6791, allocations: 0.5145 MB / 0.6327 GB, free: 14.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.061e-05/0.6792, allocations: 29.7 kB / 0.6327 GB, free: 14.46 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.6794, allocations: 303.5 kB / 0.633 GB, free: 14.16 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.6795, allocations: 126.2 kB / 0.6331 GB, free: 14.04 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.6796, allocations: 16 kB / 0.6331 GB, free: 14.02 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.6797, allocations: 366.7 kB / 0.6335 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.68, allocations: 145 kB / 0.6336 GB, free: 13.52 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003844/0.6804, allocations: 322.9 kB / 0.6339 GB, free: 13.12 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.6808, allocations: 191.8 kB / 0.6341 GB, free: 12.93 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.6808, allocations: 0 / 0.6341 GB, free: 12.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009858/0.6818, allocations: 0.5724 MB / 0.6347 GB, free: 12.35 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.6818, allocations: 8 kB / 0.6347 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.6818, allocations: 4.625 kB / 0.6347 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00158/0.6834, allocations: 292.5 kB / 0.635 GB, free: 12.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.6838, allocations: 119.8 kB / 0.6351 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004805/0.6843, allocations: 0.5913 MB / 0.6357 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004276/0.6847, allocations: 63.42 kB / 0.6357 GB, free: 11.25 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.564e-05/0.6848, allocations: 55.98 kB / 0.6358 GB, free: 11.2 MB / 478.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.00032/0.6852, allocations: 189.6 kB / 0.6359 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.6853, allocations: 63.36 kB / 0.636 GB, free: 10.94 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002073/0.6874, allocations: 1.115 MB / 0.6371 GB, free: 9.805 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.6874, allocations: 7.984 kB / 0.6371 GB, free: 9.797 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.6874, allocations: 0 / 0.6371 GB, free: 9.797 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.6874, allocations: 4 kB / 0.6371 GB, free: 9.793 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.6889, allocations: 0.9882 MB / 0.6381 GB, free: 8.727 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.6889, allocations: 8.188 kB / 0.6381 GB, free: 8.719 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.6891, allocations: 59.91 kB / 0.6381 GB, free: 8.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003301/0.6924, allocations: 0.5314 MB / 0.6387 GB, free: 8.125 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/0.6925, allocations: 8 kB / 0.6387 GB, free: 8.117 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004858/0.693, allocations: 0.6107 MB / 0.6393 GB, free: 7.48 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.693, allocations: 0 / 0.6393 GB, free: 7.48 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008593/0.6939, allocations: 0.5668 MB / 0.6398 GB, free: 6.84 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002556/0.6941, allocations: 152.2 kB / 0.64 GB, free: 6.672 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/0.6943, allocations: 15.95 kB / 0.64 GB, free: 6.656 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004738/0.6948, allocations: 23.98 kB / 0.64 GB, free: 6.633 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.746e-05/0.6949, allocations: 35.89 kB / 0.64 GB, free: 6.598 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/0.695, allocations: 12 kB / 0.64 GB, free: 6.586 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006115/0.6956, allocations: 414.8 kB / 0.6404 GB, free: 6.184 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6956, allocations: 0 / 0.6404 GB, free: 6.184 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001101/0.6967, allocations: 295.7 kB / 0.6407 GB, free: 5.895 MB / 478.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.001066/0.6978, allocations: 392.3 kB / 0.6411 GB, free: 5.512 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009469/0.6987, allocations: 373.3 kB / 0.6415 GB, free: 5.148 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6987, allocations: 3.938 kB / 0.6415 GB, free: 5.145 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000344/0.6991, allocations: 160.3 kB / 0.6416 GB, free: 4.988 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/0.7008, allocations: 334.2 kB / 0.6419 GB, free: 4.664 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.7027, allocations: 1.122 MB / 0.643 GB, free: 3.488 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005354/0.7033, allocations: 0.883 MB / 0.6439 GB, free: 2.578 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001403/0.7047, allocations: 0.5669 MB / 0.6444 GB, free: 2.016 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002968/0.705, allocations: 91.34 kB / 0.6445 GB, free: 1.926 MB / 478.1 MB Notification: Performance of SimCode: time 8.21e-07/0.705, allocations: 7.938 kB / 0.6445 GB, free: 1.918 MB / 478.1 MB Notification: Performance of Templates: time 0.02745/0.7325, allocations: 15.05 MB / 0.6592 GB, free: 2.977 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches