Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 118.4 kB / 17.78 MB, free: 5.266 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.00108/0.00108, allocations: 183 kB / 18.71 MB, free: 4.34 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.513/1.513, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2513/0.2513, allocations: 44.18 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 75.89 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4408/0.4428, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2217/0.6645, allocations: 183.1 MB / 0.6977 GB, free: 4.332 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006749/0.6713, allocations: 3.263 MB / 0.7009 GB, free: 1.059 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009094/0.6723, allocations: 11.94 kB / 0.7009 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001373/0.6738, allocations: 329.8 kB / 0.7012 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004924/0.6787, allocations: 1.397 MB / 0.7026 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002536/0.6813, allocations: 0.728 MB / 0.7033 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0027/0.684, allocations: 1.548 MB / 0.7048 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.685, allocations: 435.4 kB / 0.7052 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001499/0.6865, allocations: 0.5877 MB / 0.7058 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009559/0.6875, allocations: 462.1 kB / 0.7062 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002077/0.6877, allocations: 55.94 kB / 0.7063 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002835/0.6905, allocations: 1.19 MB / 0.7074 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002448/0.6908, allocations: 159.5 kB / 0.7076 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004952/0.6913, allocations: 350.4 kB / 0.7079 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002866/0.6942, allocations: 1.504 MB / 0.7094 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.6942, allocations: 4 kB / 0.7094 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6942, allocations: 4 kB / 0.7094 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.464e-05/0.6942, allocations: 0 / 0.7094 GB, free: 8.309 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002346/0.6966, allocations: 1.052 MB / 0.7104 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.6966, allocations: 8.031 kB / 0.7104 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.6978, allocations: 139.2 kB / 0.7106 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.6989, allocations: 492.4 kB / 0.711 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.699, allocations: 44.94 kB / 0.7111 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-05/0.6991, allocations: 36 kB / 0.7111 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.7002, allocations: 0.5906 MB / 0.7117 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.7003, allocations: 0 / 0.7117 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.855e-05/0.7003, allocations: 24 kB / 0.7117 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.7004, allocations: 8 kB / 0.7117 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.7014, allocations: 483.6 kB / 0.7122 GB, free: 5.328 MB / 0.5606 GB 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.003835/0.7053, allocations: 2.67 MB / 0.7148 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007859/0.7061, allocations: 357.5 kB / 0.7151 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004614/0.7066, allocations: 173.3 kB / 0.7153 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007137/0.7073, allocations: 429.8 kB / 0.7157 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.7074, allocations: 46.83 kB / 0.7157 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 3.467e-06/0.7074, allocations: 0 / 0.7157 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.00192/0.7093, allocations: 0.7303 MB / 0.7164 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.957e-05/0.7094, allocations: 136.5 kB / 0.7166 GB, free: 428 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2549/0.9643, allocations: 494.2 kB / 0.717 GB, free: 191.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.00013/0.9645, allocations: 31.55 kB / 0.7171 GB, free: 191.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.9647, allocations: 285.3 kB / 0.7174 GB, free: 191 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.9648, allocations: 115.1 kB / 0.7175 GB, free: 191 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/0.9651, allocations: 103.1 kB / 0.7176 GB, free: 190.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.451e-05/0.9652, allocations: 358.6 kB / 0.7179 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004121/0.9656, allocations: 153.4 kB / 0.718 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000445/0.966, allocations: 283.8 kB / 0.7183 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007671/0.9668, allocations: 439 kB / 0.7187 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.9668, allocations: 1.219 kB / 0.7187 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001142/0.968, allocations: 0.5499 MB / 0.7193 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.968, allocations: 6.969 kB / 0.7193 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.968, allocations: 7.953 kB / 0.7193 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001586/0.9696, allocations: 240.9 kB / 0.7195 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003759/0.97, allocations: 106.7 kB / 0.7196 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003842/0.9704, allocations: 0.5916 MB / 0.7202 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003843/0.9708, allocations: 50.66 kB / 0.7202 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.738e-05/0.9709, allocations: 48.8 kB / 0.7203 GB, free: 189.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002322/0.9711, allocations: 187.3 kB / 0.7205 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.9712, allocations: 51.83 kB / 0.7205 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00216/0.9734, allocations: 1.092 MB / 0.7216 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.9734, allocations: 3.406 kB / 0.7216 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.9734, allocations: 0.75 kB / 0.7216 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.9735, allocations: 7.922 kB / 0.7216 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.975, allocations: 1.031 MB / 0.7226 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.9751, allocations: 6.109 kB / 0.7226 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.9753, allocations: 55.23 kB / 0.7227 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003182/0.9785, allocations: 437.3 kB / 0.7231 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.869e-05/0.9786, allocations: 18.59 kB / 0.7231 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003548/0.9789, allocations: 0.6135 MB / 0.7237 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.9789, allocations: 6.359 kB / 0.7237 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007465/0.9797, allocations: 0.5099 MB / 0.7242 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.9798, allocations: 137.9 kB / 0.7243 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.671e-05/0.9799, allocations: 11.5 kB / 0.7243 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003186/0.9802, allocations: 24.11 kB / 0.7244 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.107e-05/0.9803, allocations: 30.25 kB / 0.7244 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/0.9803, allocations: 10.06 kB / 0.7244 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005143/0.9809, allocations: 428.3 kB / 0.7248 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9809, allocations: 0 / 0.7248 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001131/0.982, allocations: 280.8 kB / 0.7251 GB, free: 186.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001099/0.9831, allocations: 379.4 kB / 0.7254 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001052/0.9842, allocations: 380.7 kB / 0.7258 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.9842, allocations: 2.016 kB / 0.7258 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003819/0.9846, allocations: 169.8 kB / 0.726 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/0.9863, allocations: 354.4 kB / 0.7263 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.9876, allocations: 0.8943 MB / 0.7272 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.9879, allocations: 0.8699 MB / 0.728 GB, free: 185.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009922/0.9889, allocations: 0.5526 MB / 0.7286 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/0.9892, allocations: 91.72 kB / 0.7287 GB, free: 184.8 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.9892, allocations: 4 kB / 0.7287 GB, free: 184.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.02077/1.01, allocations: 15.95 MB / 0.7442 GB, free: 174.5 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches