Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.007539/0.007539, allocations: 100.2 kB / 15.87 MB, free: 6.309 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.001186/0.001186, allocations: 192.2 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.1 MB / 222.6 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3812/0.3812, allocations: 43.49 MB / 313.5 MB, free: 8.301 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001413, allocations: 67.89 kB / 382.1 MB, free: 8.504 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1424, allocations: 57.78 MB / 439.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4667/0.609, allocations: 188.4 MB / 0.6135 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009076/0.6182, allocations: 5.893 MB / 0.6192 GB, free: 9.656 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009683/0.6192, allocations: 23.81 kB / 0.6193 GB, free: 9.633 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.6204, allocations: 278.4 kB / 0.6195 GB, free: 9.359 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005451/0.6258, allocations: 1.425 MB / 0.6209 GB, free: 7.934 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002028/0.6279, allocations: 0.6637 MB / 0.6216 GB, free: 7.281 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002844/0.6307, allocations: 2.036 MB / 0.6236 GB, free: 5.242 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006672/0.6314, allocations: 380.8 kB / 0.6239 GB, free: 4.875 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.6325, allocations: 0.5174 MB / 0.6244 GB, free: 4.355 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006014/0.6331, allocations: 490 kB / 0.6249 GB, free: 3.875 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.302e-05/0.6332, allocations: 32 kB / 0.6249 GB, free: 3.844 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003183/0.6364, allocations: 1.271 MB / 0.6262 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002025/0.6366, allocations: 143.5 kB / 0.6263 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004438/0.637, allocations: 334.4 kB / 0.6266 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002749/0.6398, allocations: 1.593 MB / 0.6282 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.6398, allocations: 0 / 0.6282 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.6398, allocations: 0 / 0.6282 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.6398, allocations: 0 / 0.6282 GB, free: 0.5039 MB / 494.1 MB 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.2365/0.8764, allocations: 1.087 MB / 0.6292 GB, free: 160.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.8764, allocations: 9.094 kB / 0.6293 GB, free: 160.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.8776, allocations: 147.9 kB / 0.6294 GB, free: 160.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006631/0.8783, allocations: 487.5 kB / 0.6299 GB, free: 159.9 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.8783, allocations: 29.69 kB / 0.6299 GB, free: 159.9 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.836e-05/0.8784, allocations: 37.69 kB / 0.6299 GB, free: 159.9 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009999/0.8794, allocations: 0.592 MB / 0.6305 GB, free: 159.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.8794, allocations: 4 kB / 0.6305 GB, free: 159.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.097e-05/0.8795, allocations: 28.47 kB / 0.6305 GB, free: 159.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.8795, allocations: 8.625 kB / 0.6305 GB, free: 159.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008239/0.8803, allocations: 486.1 kB / 0.631 GB, free: 159.8 MB / 494.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.002482/0.8828, allocations: 2.685 MB / 0.6336 GB, free: 158 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006477/0.8835, allocations: 341 kB / 0.634 GB, free: 158 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/0.8838, allocations: 173.7 kB / 0.6341 GB, free: 158 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/0.8849, allocations: 1.31 MB / 0.6354 GB, free: 156.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.885, allocations: 38.86 kB / 0.6354 GB, free: 156.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.863e-06/0.885, allocations: 0 / 0.6354 GB, free: 156.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001617/0.8866, allocations: 0.7273 MB / 0.6361 GB, free: 156.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.8867, allocations: 138.2 kB / 0.6363 GB, free: 156.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000476/0.8871, allocations: 491.8 kB / 0.6367 GB, free: 156.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/0.8872, allocations: 32.61 kB / 0.6368 GB, free: 156 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.8874, allocations: 293.5 kB / 0.6371 GB, free: 155.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.168e-05/0.8874, allocations: 114.9 kB / 0.6372 GB, free: 155.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.8876, allocations: 99.16 kB / 0.6373 GB, free: 155.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.281e-05/0.8877, allocations: 362.2 kB / 0.6376 GB, free: 155.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.8879, allocations: 149.5 kB / 0.6377 GB, free: 155.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003326/0.8883, allocations: 279.9 kB / 0.638 GB, free: 155.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005904/0.8889, allocations: 438.2 kB / 0.6384 GB, free: 154.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.8889, allocations: 6.906 kB / 0.6384 GB, free: 154.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009034/0.8898, allocations: 0.5386 MB / 0.639 GB, free: 154.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.8898, allocations: 8.5 kB / 0.639 GB, free: 154.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.8899, allocations: 4.828 kB / 0.639 GB, free: 154.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/0.8914, allocations: 245.9 kB / 0.6392 GB, free: 154.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003329/0.8917, allocations: 103.1 kB / 0.6393 GB, free: 154.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004161/0.8921, allocations: 0.5887 MB / 0.6399 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004243/0.8926, allocations: 69.12 kB / 0.64 GB, free: 154 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-05/0.8927, allocations: 45 kB / 0.64 GB, free: 154 MB / 494.1 MB 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.0002788/0.8929, allocations: 189.2 kB / 0.6402 GB, free: 153.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.8931, allocations: 52.53 kB / 0.6402 GB, free: 153.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.8945, allocations: 0.7295 MB / 0.6409 GB, free: 153.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.8946, allocations: 3.188 kB / 0.6409 GB, free: 153.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.8946, allocations: 3.219 kB / 0.6409 GB, free: 153.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.8946, allocations: 0 / 0.6409 GB, free: 153.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.8959, allocations: 1.044 MB / 0.642 GB, free: 153 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.8959, allocations: 3.125 kB / 0.642 GB, free: 153 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.8961, allocations: 53.17 kB / 0.642 GB, free: 153 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003161/0.8993, allocations: 451.3 kB / 0.6424 GB, free: 152.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.087e-05/0.8993, allocations: 11.03 kB / 0.6425 GB, free: 152.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003202/0.8997, allocations: 0.6069 MB / 0.643 GB, free: 152.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.8997, allocations: 0 / 0.643 GB, free: 152.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006972/0.9004, allocations: 0.5229 MB / 0.6436 GB, free: 152 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.9005, allocations: 138.9 kB / 0.6437 GB, free: 151.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.642e-05/0.9006, allocations: 7 kB / 0.6437 GB, free: 151.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.901, allocations: 36.31 kB / 0.6437 GB, free: 151.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.378e-05/0.901, allocations: 26.16 kB / 0.6438 GB, free: 151.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-05/0.9011, allocations: 21.23 kB / 0.6438 GB, free: 151.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004397/0.9015, allocations: 420.1 kB / 0.6442 GB, free: 151.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9015, allocations: 4 kB / 0.6442 GB, free: 151.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009124/0.9024, allocations: 321.9 kB / 0.6445 GB, free: 151.6 MB / 494.1 MB 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.0009321/0.9034, allocations: 456.4 kB / 0.6449 GB, free: 151.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007881/0.9042, allocations: 369 kB / 0.6453 GB, free: 151.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.9042, allocations: 0 / 0.6453 GB, free: 151.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003156/0.9045, allocations: 161.8 kB / 0.6454 GB, free: 151.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.9062, allocations: 350.9 kB / 0.6458 GB, free: 151.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.9075, allocations: 1.086 MB / 0.6468 GB, free: 150.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.9078, allocations: 0.8697 MB / 0.6477 GB, free: 149.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008084/0.9086, allocations: 198.6 kB / 0.6479 GB, free: 149.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.9088, allocations: 79.89 kB / 0.6479 GB, free: 149.8 MB / 494.1 MB Notification: Performance of SimCode: time 5.61e-07/0.9088, allocations: 0 / 0.6479 GB, free: 149.8 MB / 494.1 MB Notification: Performance of Templates: time 0.03444/0.9432, allocations: 16.21 MB / 0.6638 GB, free: 147.7 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches