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.001478/0.001478, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.00168/0.00168, allocations: 191 kB / 19.34 MB, free: 3.641 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.336/1.336, allocations: 222.9 MB / 243 MB, free: 15.14 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.2026/0.2026, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 57.69 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1035, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3803/0.4839, allocations: 183.1 MB / 0.6384 GB, free: 8.992 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005895/0.4898, allocations: 3.259 MB / 0.6416 GB, free: 5.723 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000489/0.4903, allocations: 15.88 kB / 0.6416 GB, free: 5.707 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008783/0.4913, allocations: 329.8 kB / 0.642 GB, free: 5.383 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003462/0.4947, allocations: 1.39 MB / 0.6433 GB, free: 3.992 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.4965, allocations: 0.7385 MB / 0.644 GB, free: 3.262 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001791/0.4983, allocations: 1.55 MB / 0.6456 GB, free: 1.703 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005523/0.4988, allocations: 435.4 kB / 0.646 GB, free: 1.277 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007783/0.4996, allocations: 0.576 MB / 0.6465 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005038/0.5001, allocations: 462.1 kB / 0.647 GB, free: 252 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.071e-05/0.5002, allocations: 56 kB / 0.647 GB, free: 196 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002207/0.5024, allocations: 1.19 MB / 0.6482 GB, free: 15 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.5026, allocations: 163.5 kB / 0.6483 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003653/0.503, allocations: 346.4 kB / 0.6487 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001957/0.505, allocations: 1.504 MB / 0.6501 GB, free: 12.99 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.505, allocations: 0 / 0.6501 GB, free: 12.99 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.505, allocations: 0 / 0.6501 GB, free: 12.99 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.689e-06/0.505, allocations: 4 kB / 0.6501 GB, free: 12.99 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.001791/0.5068, allocations: 1.049 MB / 0.6512 GB, free: 11.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.5069, allocations: 15.97 kB / 0.6512 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.5079, allocations: 139.2 kB / 0.6513 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008101/0.5087, allocations: 488.5 kB / 0.6518 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.5087, allocations: 29 kB / 0.6518 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.565e-05/0.5088, allocations: 47.94 kB / 0.6519 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.5099, allocations: 0.5945 MB / 0.6524 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.5099, allocations: 0 / 0.6524 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.606e-05/0.51, allocations: 20 kB / 0.6525 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.51, allocations: 12 kB / 0.6525 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009115/0.5109, allocations: 484.4 kB / 0.6529 GB, free: 10.01 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.002893/0.5138, allocations: 2.67 MB / 0.6555 GB, free: 7.117 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007191/0.5145, allocations: 351.5 kB / 0.6559 GB, free: 6.766 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/0.5148, allocations: 173.4 kB / 0.656 GB, free: 6.594 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000361/0.5152, allocations: 437.8 kB / 0.6565 GB, free: 6.074 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.5153, allocations: 38.84 kB / 0.6565 GB, free: 6.027 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.853e-06/0.5153, allocations: 0 / 0.6565 GB, free: 6.027 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.00171/0.517, allocations: 0.7303 MB / 0.6572 GB, free: 5.27 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.969e-05/0.5171, allocations: 136.5 kB / 0.6573 GB, free: 5.105 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005484/0.5176, allocations: 498 kB / 0.6578 GB, free: 4.609 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.466e-05/0.5177, allocations: 33.7 kB / 0.6578 GB, free: 4.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.5179, allocations: 279.8 kB / 0.6581 GB, free: 4.293 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.319e-05/0.518, allocations: 122.3 kB / 0.6582 GB, free: 4.172 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.5181, allocations: 106 kB / 0.6583 GB, free: 4.062 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.5183, allocations: 362.8 kB / 0.6587 GB, free: 3.699 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.5186, allocations: 140.8 kB / 0.6588 GB, free: 3.562 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/0.519, allocations: 295.6 kB / 0.6591 GB, free: 3.223 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000696/0.5197, allocations: 439.3 kB / 0.6595 GB, free: 2.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5197, allocations: 0 / 0.6595 GB, free: 2.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009839/0.5207, allocations: 0.5442 MB / 0.66 GB, free: 2.195 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.5207, allocations: 7.938 kB / 0.66 GB, free: 2.188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.5207, allocations: 4.438 kB / 0.6601 GB, free: 2.184 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001546/0.5223, allocations: 248.5 kB / 0.6603 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003694/0.5227, allocations: 99.83 kB / 0.6604 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004525/0.5231, allocations: 0.5954 MB / 0.661 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003283/0.5235, allocations: 39.53 kB / 0.661 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.158e-05/0.5236, allocations: 51.92 kB / 0.6611 GB, free: 1.129 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.0002638/0.5238, allocations: 185.8 kB / 0.6612 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.524, allocations: 59.42 kB / 0.6613 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001898/0.5259, allocations: 1.087 MB / 0.6623 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.5259, allocations: 4 kB / 0.6624 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5259, allocations: 4 kB / 0.6624 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.5259, allocations: 3.984 kB / 0.6624 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.5274, allocations: 1.028 MB / 0.6634 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.5274, allocations: 4.156 kB / 0.6634 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.5276, allocations: 59.84 kB / 0.6634 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003258/0.5309, allocations: 444.1 kB / 0.6638 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.5309, allocations: 12 kB / 0.6639 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004454/0.5314, allocations: 0.6069 MB / 0.6645 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.5314, allocations: 8.016 kB / 0.6645 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008266/0.5322, allocations: 0.5116 MB / 0.665 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.5324, allocations: 140.4 kB / 0.6651 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-05/0.5325, allocations: 15.84 kB / 0.6651 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003233/0.5328, allocations: 15.98 kB / 0.6651 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.896e-05/0.5329, allocations: 23.97 kB / 0.6651 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/0.533, allocations: 19.94 kB / 0.6652 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005075/0.5335, allocations: 426.7 kB / 0.6656 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.21e-07/0.5335, allocations: 0 / 0.6656 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008538/0.5343, allocations: 283.8 kB / 0.6658 GB, free: 12.03 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.0008813/0.5352, allocations: 384.7 kB / 0.6662 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008462/0.5361, allocations: 381 kB / 0.6666 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.5361, allocations: 0 / 0.6666 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003632/0.5365, allocations: 180 kB / 0.6667 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.538, allocations: 347 kB / 0.6671 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.5394, allocations: 0.9004 MB / 0.668 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.5399, allocations: 0.8596 MB / 0.6688 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009378/0.5408, allocations: 0.561 MB / 0.6693 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.541, allocations: 87.39 kB / 0.6694 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.5411, allocations: 0 / 0.6694 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of Templates: time 0.02528/0.5663, allocations: 15.86 MB / 0.6849 GB, free: 8.582 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/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