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.001071/0.001071, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001135/0.001135, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.3/1.3, allocations: 222.9 MB / 242.2 MB, free: 15.2 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.19 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 64.77 kB / 408.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1463, allocations: 60.82 MB / 469.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.5504/0.6968, allocations: 183.1 MB / 0.637 GB, free: 9.477 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005677/0.7025, allocations: 3.263 MB / 0.6402 GB, free: 6.203 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005726/0.7031, allocations: 19.88 kB / 0.6402 GB, free: 6.184 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.7042, allocations: 321.8 kB / 0.6405 GB, free: 5.867 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003702/0.7079, allocations: 1.386 MB / 0.6419 GB, free: 4.48 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00196/0.7099, allocations: 0.7462 MB / 0.6426 GB, free: 3.742 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001922/0.7118, allocations: 1.555 MB / 0.6441 GB, free: 2.176 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005639/0.7124, allocations: 419.5 kB / 0.6445 GB, free: 1.766 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007675/0.7132, allocations: 0.576 MB / 0.6451 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005121/0.7137, allocations: 462.1 kB / 0.6455 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.251e-05/0.7138, allocations: 56 kB / 0.6456 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002182/0.716, allocations: 1.151 MB / 0.6467 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.7162, allocations: 163.4 kB / 0.6469 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003406/0.7165, allocations: 346.5 kB / 0.6472 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001924/0.7184, allocations: 1.488 MB / 0.6487 GB, free: 13.54 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.319e-06/0.7185, allocations: 4 kB / 0.6487 GB, free: 13.53 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.7185, allocations: 0 / 0.6487 GB, free: 13.53 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.7185, allocations: 0 / 0.6487 GB, free: 13.53 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.001825/0.7203, allocations: 1.06 MB / 0.6497 GB, free: 12.42 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.7204, allocations: 8.031 kB / 0.6497 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009422/0.7213, allocations: 139.2 kB / 0.6498 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007207/0.722, allocations: 480.4 kB / 0.6503 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.7221, allocations: 29 kB / 0.6503 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.258e-05/0.7222, allocations: 51.92 kB / 0.6504 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.7232, allocations: 0.5945 MB / 0.6509 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.7233, allocations: 0 / 0.6509 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.276e-05/0.7233, allocations: 24 kB / 0.651 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.7233, allocations: 12 kB / 0.651 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009093/0.7243, allocations: 483.6 kB / 0.6514 GB, free: 10.55 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.003123/0.7274, allocations: 2.682 MB / 0.6541 GB, free: 7.645 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007735/0.7282, allocations: 351.5 kB / 0.6544 GB, free: 7.293 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003295/0.7285, allocations: 169.3 kB / 0.6546 GB, free: 7.125 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006343/0.7292, allocations: 437.8 kB / 0.655 GB, free: 6.605 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.357e-05/0.7292, allocations: 38.84 kB / 0.655 GB, free: 6.559 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.453e-06/0.7292, allocations: 7.938 kB / 0.655 GB, free: 6.551 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001763/0.731, allocations: 0.7265 MB / 0.6557 GB, free: 5.797 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.747e-05/0.7311, allocations: 132.5 kB / 0.6559 GB, free: 5.637 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005755/0.7317, allocations: 0.4903 MB / 0.6563 GB, free: 5.137 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.529e-05/0.7317, allocations: 33.7 kB / 0.6564 GB, free: 5.098 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.732, allocations: 279.8 kB / 0.6566 GB, free: 4.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.7321, allocations: 118.3 kB / 0.6567 GB, free: 4.703 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002803/0.7324, allocations: 106 kB / 0.6568 GB, free: 4.594 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.7325, allocations: 362.8 kB / 0.6572 GB, free: 4.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.7328, allocations: 144.8 kB / 0.6573 GB, free: 4.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003956/0.7333, allocations: 287.7 kB / 0.6576 GB, free: 3.758 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007165/0.734, allocations: 437.6 kB / 0.658 GB, free: 3.285 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.734, allocations: 4 kB / 0.658 GB, free: 3.281 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009882/0.735, allocations: 0.5403 MB / 0.6586 GB, free: 2.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.735, allocations: 8.375 kB / 0.6586 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.735, allocations: 8 kB / 0.6586 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001528/0.7366, allocations: 245.3 kB / 0.6588 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003522/0.7369, allocations: 103.9 kB / 0.6589 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005475/0.7375, allocations: 0.5993 MB / 0.6595 GB, free: 1.746 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/0.7378, allocations: 43.58 kB / 0.6595 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.089e-05/0.7379, allocations: 52 kB / 0.6596 GB, free: 1.652 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.0002737/0.7382, allocations: 181.7 kB / 0.6598 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.7384, allocations: 55.34 kB / 0.6598 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002194/0.7406, allocations: 1.093 MB / 0.6609 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.7406, allocations: 7.984 kB / 0.6609 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.7406, allocations: 0 / 0.6609 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.7406, allocations: 0 / 0.6609 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.7423, allocations: 1.04 MB / 0.6619 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.7424, allocations: 0 / 0.6619 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.7426, allocations: 51.97 kB / 0.6619 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003026/0.7456, allocations: 448.2 kB / 0.6624 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/0.7457, allocations: 19.98 kB / 0.6624 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005322/0.7462, allocations: 0.5992 MB / 0.663 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.628e-06/0.7462, allocations: 8.094 kB / 0.663 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009322/0.7472, allocations: 0.5077 MB / 0.6635 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/0.7474, allocations: 140.4 kB / 0.6636 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.7475, allocations: 19.84 kB / 0.6636 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/0.7478, allocations: 15.98 kB / 0.6636 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.777e-05/0.7479, allocations: 23.97 kB / 0.6637 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.331e-05/0.748, allocations: 23.92 kB / 0.6637 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005828/0.7485, allocations: 422.8 kB / 0.6641 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7486, allocations: 0 / 0.6641 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00109/0.7497, allocations: 283.8 kB / 0.6644 GB, free: 12.55 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.0009778/0.7506, allocations: 379.4 kB / 0.6647 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009288/0.7516, allocations: 392 kB / 0.6651 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7516, allocations: 0 / 0.6651 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003281/0.7519, allocations: 169.2 kB / 0.6653 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/0.7535, allocations: 366.7 kB / 0.6656 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.7548, allocations: 0.9199 MB / 0.6665 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.7552, allocations: 0.8596 MB / 0.6674 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00108/0.7563, allocations: 0.5591 MB / 0.6679 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.7566, allocations: 91.39 kB / 0.668 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.7566, allocations: 0 / 0.668 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of Templates: time 0.02833/0.7849, allocations: 15.87 MB / 0.6835 GB, free: 9.082 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