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.001109/0.001109, allocations: 110.3 kB / 17.78 MB, free: 5.25 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.001148/0.001148, allocations: 187.1 kB / 18.71 MB, free: 4.324 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.302/1.302, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2002/0.2002, allocations: 44.19 MB / 336.7 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 67.89 kB / 470.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.37, allocations: 60.82 MB / 0.5189 GB, free: 3.859 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2223/0.5923, allocations: 183 MB / 0.6977 GB, free: 4.477 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00578/0.5982, allocations: 3.271 MB / 0.7009 GB, free: 1.195 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007439/0.599, allocations: 11.94 kB / 0.7009 GB, free: 1.184 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009943/0.6001, allocations: 321.8 kB / 0.7012 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003933/0.604, allocations: 1.397 MB / 0.7025 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.606, allocations: 0.7358 MB / 0.7033 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002404/0.6084, allocations: 1.551 MB / 0.7048 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007542/0.6092, allocations: 439.4 kB / 0.7052 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.6102, allocations: 0.5799 MB / 0.7058 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007519/0.611, allocations: 458.1 kB / 0.7062 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.6111, allocations: 52 kB / 0.7063 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003645/0.6148, allocations: 1.205 MB / 0.7074 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.615, allocations: 159.5 kB / 0.7076 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005369/0.6155, allocations: 350.4 kB / 0.7079 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002693/0.6182, allocations: 1.5 MB / 0.7094 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.6183, allocations: 0 / 0.7094 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.614e-06/0.6183, allocations: 0 / 0.7094 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.6183, allocations: 0 / 0.7094 GB, free: 8.449 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.001819/0.6201, allocations: 1.052 MB / 0.7104 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.6202, allocations: 12.03 kB / 0.7104 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.6212, allocations: 135.2 kB / 0.7105 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007612/0.622, allocations: 0.4926 MB / 0.711 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.622, allocations: 32.94 kB / 0.7111 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/0.6221, allocations: 44 kB / 0.7111 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.6232, allocations: 0.5867 MB / 0.7117 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.6232, allocations: 4 kB / 0.7117 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.361e-05/0.6233, allocations: 19.98 kB / 0.7117 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.6233, allocations: 12 kB / 0.7117 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009311/0.6242, allocations: 483.6 kB / 0.7122 GB, free: 5.461 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.003257/0.6275, allocations: 2.682 MB / 0.7148 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007142/0.6282, allocations: 342.2 kB / 0.7151 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003005/0.6285, allocations: 177.3 kB / 0.7153 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004047/0.6289, allocations: 433.8 kB / 0.7157 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/0.629, allocations: 42.78 kB / 0.7157 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.826e-06/0.629, allocations: 0 / 0.7157 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001864/0.6309, allocations: 0.7343 MB / 0.7165 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.427e-05/0.631, allocations: 132.5 kB / 0.7166 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000615/0.6316, allocations: 498 kB / 0.7171 GB, free: 56 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.477e-05/0.6317, allocations: 33.7 kB / 0.7171 GB, free: 16 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.3469/0.9786, allocations: 273.6 kB / 0.7174 GB, free: 191.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/0.9789, allocations: 117.8 kB / 0.7175 GB, free: 191.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003182/0.9792, allocations: 108.6 kB / 0.7176 GB, free: 191.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.9794, allocations: 361.3 kB / 0.7179 GB, free: 191.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004732/0.9799, allocations: 152.8 kB / 0.7181 GB, free: 191.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005026/0.9804, allocations: 278.9 kB / 0.7183 GB, free: 190.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009042/0.9813, allocations: 441.5 kB / 0.7187 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.341e-06/0.9813, allocations: 1.094 kB / 0.7187 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001232/0.9826, allocations: 0.5525 MB / 0.7193 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.9826, allocations: 6.312 kB / 0.7193 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.9826, allocations: 2.719 kB / 0.7193 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001673/0.9843, allocations: 238.6 kB / 0.7195 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003978/0.9847, allocations: 111.6 kB / 0.7196 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004549/0.9852, allocations: 0.591 MB / 0.7202 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004213/0.9856, allocations: 49.69 kB / 0.7203 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.205e-05/0.9857, allocations: 52.75 kB / 0.7203 GB, free: 189.8 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.0002928/0.986, allocations: 189.9 kB / 0.7205 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.9861, allocations: 51.72 kB / 0.7205 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002111/0.9883, allocations: 1.089 MB / 0.7216 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.9883, allocations: 4.047 kB / 0.7216 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.9883, allocations: 0 / 0.7216 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.9883, allocations: 1.219 kB / 0.7216 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.99, allocations: 1.033 MB / 0.7226 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.99, allocations: 3.078 kB / 0.7226 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.9903, allocations: 55.72 kB / 0.7227 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003329/0.9936, allocations: 442.4 kB / 0.7231 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/0.9937, allocations: 9.5 kB / 0.7231 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003324/0.994, allocations: 0.6164 MB / 0.7237 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.994, allocations: 5.359 kB / 0.7237 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007637/0.9948, allocations: 0.5135 MB / 0.7242 GB, free: 187.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.9949, allocations: 138 kB / 0.7243 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-05/0.995, allocations: 11.83 kB / 0.7243 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000308/0.9953, allocations: 19.52 kB / 0.7244 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.678e-05/0.9954, allocations: 23.59 kB / 0.7244 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.9955, allocations: 20.09 kB / 0.7244 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005192/0.996, allocations: 422.6 kB / 0.7248 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/0.996, allocations: 0 / 0.7248 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001051/0.997, allocations: 276.6 kB / 0.7251 GB, free: 187.3 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.0008931/0.9979, allocations: 388.7 kB / 0.7254 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008267/0.9988, allocations: 376.6 kB / 0.7258 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.9988, allocations: 1.531 kB / 0.7258 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003241/0.9991, allocations: 166.7 kB / 0.726 GB, free: 187 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/1.001, allocations: 358.8 kB / 0.7263 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/1.002, allocations: 0.8983 MB / 0.7272 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/1.002, allocations: 0.8665 MB / 0.728 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001009/1.003, allocations: 0.5533 MB / 0.7286 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002482/1.004, allocations: 92.56 kB / 0.7287 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/1.004, allocations: 0 / 0.7287 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.02321/1.027, allocations: 16.2 MB / 0.7445 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