Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001396/0.001395, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001359/0.001359, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2139/0.2139, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 81.11 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1139, allocations: 62.45 MB / 481.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3789/0.4929, allocations: 186 MB / 0.6518 GB, free: 8.734 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005563/0.4985, allocations: 3.253 MB / 0.655 GB, free: 5.473 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007022/0.4992, allocations: 15.88 kB / 0.655 GB, free: 5.457 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.5003, allocations: 333.8 kB / 0.6553 GB, free: 5.129 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003592/0.5039, allocations: 1.392 MB / 0.6567 GB, free: 3.738 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.5056, allocations: 0.7317 MB / 0.6574 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001795/0.5074, allocations: 1.559 MB / 0.6589 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005654/0.508, allocations: 431.5 kB / 0.6593 GB, free: 1.027 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007488/0.5088, allocations: 0.5877 MB / 0.6599 GB, free: 448 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004855/0.5092, allocations: 462.2 kB / 0.6603 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.567e-05/0.5093, allocations: 52 kB / 0.6604 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001921/0.5113, allocations: 1.193 MB / 0.6616 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.5114, allocations: 163.4 kB / 0.6617 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003239/0.5118, allocations: 346.5 kB / 0.662 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001691/0.5135, allocations: 1.508 MB / 0.6635 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5135, allocations: 0 / 0.6635 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.824e-06/0.5135, allocations: 0 / 0.6635 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.5135, allocations: 0 / 0.6635 GB, free: 12.73 MB / 0.4981 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.001602/0.5151, allocations: 1.056 MB / 0.6646 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.5151, allocations: 12.92 kB / 0.6646 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009467/0.5161, allocations: 135.2 kB / 0.6647 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000773/0.5169, allocations: 0.4887 MB / 0.6652 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.5169, allocations: 32.94 kB / 0.6652 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.41e-05/0.517, allocations: 47.94 kB / 0.6652 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009836/0.518, allocations: 0.5906 MB / 0.6658 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.518, allocations: 1.312 kB / 0.6658 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.253e-05/0.5181, allocations: 16 kB / 0.6658 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.5181, allocations: 12 kB / 0.6659 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008652/0.519, allocations: 483.6 kB / 0.6663 GB, free: 9.738 MB / 0.4981 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.002731/0.5217, allocations: 2.674 MB / 0.6689 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006814/0.5224, allocations: 355.4 kB / 0.6693 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.5227, allocations: 173.3 kB / 0.6694 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003663/0.5231, allocations: 441.8 kB / 0.6699 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.5231, allocations: 34.84 kB / 0.6699 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/0.5231, allocations: 4 kB / 0.6699 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001634/0.5248, allocations: 0.7303 MB / 0.6706 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/0.5249, allocations: 136.5 kB / 0.6707 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005637/0.5254, allocations: 498 kB / 0.6712 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.5255, allocations: 33.7 kB / 0.6712 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.5257, allocations: 279.8 kB / 0.6715 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.243e-05/0.5258, allocations: 118.3 kB / 0.6716 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.526, allocations: 106 kB / 0.6717 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.5261, allocations: 366.7 kB / 0.6721 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002944/0.5264, allocations: 144.8 kB / 0.6722 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003781/0.5268, allocations: 291.7 kB / 0.6725 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00068/0.5275, allocations: 441.6 kB / 0.6729 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5275, allocations: 0 / 0.6729 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009463/0.5284, allocations: 0.5444 MB / 0.6734 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.5285, allocations: 7.938 kB / 0.6734 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.5285, allocations: 5.875 kB / 0.6735 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001455/0.5299, allocations: 240.8 kB / 0.6737 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003563/0.5303, allocations: 103.8 kB / 0.6738 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004247/0.5308, allocations: 0.5992 MB / 0.6744 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/0.5311, allocations: 47.44 kB / 0.6744 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.5e-05/0.5311, allocations: 47.98 kB / 0.6745 GB, free: 0.8281 MB / 0.4981 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.0002174/0.5314, allocations: 181.7 kB / 0.6746 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.5315, allocations: 51.44 kB / 0.6747 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001823/0.5333, allocations: 1.09 MB / 0.6757 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.5333, allocations: 4 kB / 0.6757 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5333, allocations: 0 / 0.6757 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.5333, allocations: 7.922 kB / 0.6758 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/0.5348, allocations: 1.03 MB / 0.6768 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.5348, allocations: 0 / 0.6768 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.535, allocations: 51.97 kB / 0.6768 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003032/0.538, allocations: 448.2 kB / 0.6772 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.5381, allocations: 12 kB / 0.6772 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000426/0.5385, allocations: 0.6161 MB / 0.6778 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5385, allocations: 4.031 kB / 0.6779 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007743/0.5393, allocations: 0.5156 MB / 0.6784 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.5394, allocations: 136.4 kB / 0.6785 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.601e-05/0.5395, allocations: 15.94 kB / 0.6785 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/0.5398, allocations: 15.98 kB / 0.6785 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.314e-05/0.5399, allocations: 23.97 kB / 0.6785 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/0.5399, allocations: 23.94 kB / 0.6786 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004637/0.5404, allocations: 422.8 kB / 0.679 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.372e-06/0.5404, allocations: 0 / 0.679 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007904/0.5412, allocations: 279.7 kB / 0.6792 GB, free: 11.75 MB / 0.5137 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.0007576/0.542, allocations: 376.5 kB / 0.6796 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008135/0.5428, allocations: 381 kB / 0.68 GB, free: 11 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.5428, allocations: 0 / 0.68 GB, free: 11 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003367/0.5432, allocations: 172.2 kB / 0.6801 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/0.5446, allocations: 361 kB / 0.6805 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.5459, allocations: 0.9093 MB / 0.6814 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.5463, allocations: 0.8596 MB / 0.6822 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009522/0.5473, allocations: 0.5422 MB / 0.6827 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.5475, allocations: 91.33 kB / 0.6828 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.5475, allocations: 0 / 0.6828 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of Templates: time 0.02603/0.5735, allocations: 15.91 MB / 0.6983 GB, free: 8.211 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches