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.001262/0.001262, allocations: 109 kB / 17.33 MB, free: 6 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.001386/0.001387, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.353/1.353, allocations: 222.9 MB / 241.9 MB, free: 15.39 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.2044/0.2044, allocations: 44.17 MB / 336.2 MB, free: 2.926 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 64.67 kB / 407.9 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09793/0.09911, allocations: 60.82 MB / 468.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3961/0.4953, allocations: 181 MB / 0.6345 GB, free: 11.93 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005681/0.501, allocations: 3.323 MB / 0.6378 GB, free: 8.598 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000731/0.5018, allocations: 23.81 kB / 0.6378 GB, free: 8.574 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009322/0.5027, allocations: 282.5 kB / 0.6381 GB, free: 8.297 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00343/0.5062, allocations: 1.267 MB / 0.6393 GB, free: 7.031 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.508, allocations: 0.6811 MB / 0.64 GB, free: 6.355 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002111/0.5101, allocations: 1.559 MB / 0.6415 GB, free: 4.785 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000648/0.5108, allocations: 415.5 kB / 0.6419 GB, free: 4.379 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009392/0.5117, allocations: 0.5955 MB / 0.6425 GB, free: 3.781 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005275/0.5123, allocations: 490 kB / 0.6429 GB, free: 3.301 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.406e-05/0.5124, allocations: 52 kB / 0.643 GB, free: 3.25 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002272/0.5147, allocations: 1.162 MB / 0.6441 GB, free: 2.086 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.5149, allocations: 159.5 kB / 0.6443 GB, free: 1.93 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003812/0.5153, allocations: 354.4 kB / 0.6446 GB, free: 1.582 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002284/0.5175, allocations: 1.504 MB / 0.6461 GB, free: 76 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.5176, allocations: 0 / 0.6461 GB, free: 76 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5176, allocations: 0 / 0.6461 GB, free: 76 kB / 478.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.5176, allocations: 0 / 0.6461 GB, free: 76 kB / 478.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.002105/0.5197, allocations: 1.063 MB / 0.6471 GB, free: 14.96 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.5198, allocations: 8.031 kB / 0.6471 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.5208, allocations: 139.1 kB / 0.6473 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006499/0.5215, allocations: 472.5 kB / 0.6477 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.5215, allocations: 37.81 kB / 0.6477 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.891e-05/0.5216, allocations: 43.88 kB / 0.6478 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.5227, allocations: 0.5984 MB / 0.6484 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.5228, allocations: 4 kB / 0.6484 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.807e-05/0.5228, allocations: 16 kB / 0.6484 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.5229, allocations: 12 kB / 0.6484 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009472/0.5238, allocations: 483.6 kB / 0.6489 GB, free: 13.09 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.002966/0.5268, allocations: 2.667 MB / 0.6515 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007564/0.5276, allocations: 348.5 kB / 0.6518 GB, free: 9.859 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.5279, allocations: 173.4 kB / 0.652 GB, free: 9.688 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004635/0.5284, allocations: 437.8 kB / 0.6524 GB, free: 9.168 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.5284, allocations: 42.84 kB / 0.6524 GB, free: 9.117 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 2.816e-06/0.5284, allocations: 0 / 0.6524 GB, free: 9.117 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001808/0.5302, allocations: 0.7342 MB / 0.6531 GB, free: 8.355 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.866e-05/0.5303, allocations: 136.5 kB / 0.6533 GB, free: 8.191 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005844/0.5309, allocations: 494 kB / 0.6537 GB, free: 7.699 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.058e-05/0.531, allocations: 33.7 kB / 0.6538 GB, free: 7.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.5312, allocations: 283.8 kB / 0.654 GB, free: 7.379 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.5313, allocations: 114.3 kB / 0.6542 GB, free: 7.266 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/0.5315, allocations: 106 kB / 0.6543 GB, free: 7.156 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.5317, allocations: 362.7 kB / 0.6546 GB, free: 6.793 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003347/0.532, allocations: 153.6 kB / 0.6547 GB, free: 6.645 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004314/0.5325, allocations: 287.7 kB / 0.655 GB, free: 6.312 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000758/0.5332, allocations: 437.6 kB / 0.6554 GB, free: 5.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.5333, allocations: 0 / 0.6554 GB, free: 5.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001159/0.5344, allocations: 0.5444 MB / 0.656 GB, free: 5.285 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.5345, allocations: 7.938 kB / 0.656 GB, free: 5.277 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.5345, allocations: 4 kB / 0.656 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001656/0.5361, allocations: 244.7 kB / 0.6562 GB, free: 5.031 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/0.5365, allocations: 107.7 kB / 0.6563 GB, free: 4.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005061/0.5371, allocations: 0.5992 MB / 0.6569 GB, free: 4.305 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000401/0.5375, allocations: 59.42 kB / 0.657 GB, free: 4.246 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.5376, allocations: 43.98 kB / 0.657 GB, free: 4.203 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.0003038/0.5379, allocations: 189.8 kB / 0.6572 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.538, allocations: 51.44 kB / 0.6572 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002217/0.5402, allocations: 1.099 MB / 0.6583 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.5403, allocations: 4 kB / 0.6583 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5403, allocations: 0 / 0.6583 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.5403, allocations: 3.984 kB / 0.6583 GB, free: 2.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.5419, allocations: 1.038 MB / 0.6593 GB, free: 1.707 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5419, allocations: 0 / 0.6593 GB, free: 1.707 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.5421, allocations: 51.97 kB / 0.6594 GB, free: 1.656 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003442/0.5456, allocations: 448.3 kB / 0.6598 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.751e-05/0.5456, allocations: 15.94 kB / 0.6598 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005471/0.5462, allocations: 0.611 MB / 0.6604 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.5462, allocations: 3.984 kB / 0.6604 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009063/0.5471, allocations: 0.5154 MB / 0.6609 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/0.5473, allocations: 136.3 kB / 0.661 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.5474, allocations: 8 kB / 0.6611 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000382/0.5478, allocations: 35.97 kB / 0.6611 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.711e-05/0.5479, allocations: 19.97 kB / 0.6611 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.372e-05/0.5479, allocations: 19.94 kB / 0.6611 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005224/0.5485, allocations: 426.8 kB / 0.6615 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5485, allocations: 0 / 0.6615 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008649/0.5493, allocations: 275.8 kB / 0.6618 GB, free: 15.09 MB / 0.4981 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.0009341/0.5503, allocations: 381.5 kB / 0.6622 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009931/0.5513, allocations: 387.5 kB / 0.6625 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.5513, allocations: 4.781 kB / 0.6625 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003795/0.5517, allocations: 172 kB / 0.6627 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/0.5535, allocations: 357.3 kB / 0.663 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.5551, allocations: 1.08 MB / 0.6641 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/0.5556, allocations: 0.8596 MB / 0.6649 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001274/0.5568, allocations: 0.5551 MB / 0.6655 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/0.5571, allocations: 87.39 kB / 0.6656 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.5572, allocations: 0 / 0.6656 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of Templates: time 0.02893/0.5861, allocations: 15.78 MB / 0.681 GB, free: 11.55 MB / 0.5137 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