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.001442/0.001442, allocations: 113.3 kB / 18.45 MB, free: 4.602 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.001433/0.001433, allocations: 181.1 kB / 19.38 MB, free: 3.684 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.333/1.333, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.1982/0.1982, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 59.89 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4216, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2153/0.637, allocations: 183.1 MB / 0.6983 GB, free: 4.34 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006988/0.644, allocations: 3.263 MB / 0.7015 GB, free: 1.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009717/0.6451, allocations: 15.94 kB / 0.7015 GB, free: 1.055 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.6464, allocations: 321.8 kB / 0.7018 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005014/0.6514, allocations: 1.397 MB / 0.7032 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002342/0.6538, allocations: 0.7284 MB / 0.7039 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002663/0.6565, allocations: 1.567 MB / 0.7055 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008573/0.6574, allocations: 427.5 kB / 0.7059 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.6586, allocations: 0.5838 MB / 0.7064 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008767/0.6595, allocations: 466.1 kB / 0.7069 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.6597, allocations: 55.94 kB / 0.7069 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002843/0.6625, allocations: 1.189 MB / 0.7081 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00025/0.6628, allocations: 155.5 kB / 0.7082 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006312/0.6634, allocations: 362.4 kB / 0.7086 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003374/0.6668, allocations: 1.5 MB / 0.71 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.6668, allocations: 0 / 0.71 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.495e-06/0.6668, allocations: 0 / 0.71 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.915e-05/0.6669, allocations: 4 kB / 0.7101 GB, free: 8.316 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.002571/0.6695, allocations: 1.048 MB / 0.7111 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.6695, allocations: 12.03 kB / 0.7111 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.6707, allocations: 143.2 kB / 0.7112 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.6717, allocations: 492.5 kB / 0.7117 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.6718, allocations: 36.88 kB / 0.7117 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.282e-05/0.6718, allocations: 40 kB / 0.7118 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.6731, allocations: 0.5945 MB / 0.7123 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.6731, allocations: 0 / 0.7123 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.195e-05/0.6732, allocations: 23.98 kB / 0.7124 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.6732, allocations: 8 kB / 0.7124 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009798/0.6742, allocations: 479.6 kB / 0.7128 GB, free: 5.336 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.00335/0.6776, allocations: 2.678 MB / 0.7155 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007521/0.6783, allocations: 347.5 kB / 0.7158 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/0.6787, allocations: 169.4 kB / 0.7159 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004086/0.6791, allocations: 445.8 kB / 0.7164 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.6791, allocations: 38.84 kB / 0.7164 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 4.088e-06/0.6791, allocations: 3.984 kB / 0.7164 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001753/0.6809, allocations: 0.7303 MB / 0.7171 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.44e-05/0.681, allocations: 136.5 kB / 0.7173 GB, free: 428 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3395/1.021, allocations: 493.4 kB / 0.7177 GB, free: 191.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001431/1.021, allocations: 31.55 kB / 0.7178 GB, free: 191.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/1.021, allocations: 278.1 kB / 0.718 GB, free: 191 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/1.021, allocations: 118.9 kB / 0.7181 GB, free: 191 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002297/1.021, allocations: 105.2 kB / 0.7182 GB, free: 190.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001155/1.021, allocations: 366.2 kB / 0.7186 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004406/1.022, allocations: 149.3 kB / 0.7187 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005062/1.022, allocations: 280.4 kB / 0.719 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008548/1.023, allocations: 439.9 kB / 0.7194 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/1.023, allocations: 1 kB / 0.7194 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00118/1.024, allocations: 0.5553 MB / 0.72 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/1.025, allocations: 6.812 kB / 0.72 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/1.025, allocations: 3.25 kB / 0.72 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001645/1.026, allocations: 241.1 kB / 0.7202 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003797/1.027, allocations: 106.7 kB / 0.7203 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004057/1.027, allocations: 0.5883 MB / 0.7209 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003721/1.027, allocations: 54.17 kB / 0.7209 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.106e-05/1.027, allocations: 46.33 kB / 0.721 GB, free: 189.3 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.0002878/1.028, allocations: 185.6 kB / 0.7211 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/1.028, allocations: 51.47 kB / 0.7212 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/1.03, allocations: 1.09 MB / 0.7223 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/1.03, allocations: 6.969 kB / 0.7223 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.03, allocations: 0 / 0.7223 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/1.03, allocations: 6.594 kB / 0.7223 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/1.032, allocations: 1.033 MB / 0.7233 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.032, allocations: 1.219 kB / 0.7233 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/1.032, allocations: 50.88 kB / 0.7233 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003207/1.035, allocations: 439.7 kB / 0.7237 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.654e-05/1.035, allocations: 21.47 kB / 0.7238 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003601/1.035, allocations: 0.6069 MB / 0.7244 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.036, allocations: 2.094 kB / 0.7244 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008181/1.036, allocations: 0.5137 MB / 0.7249 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/1.036, allocations: 141.7 kB / 0.725 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/1.037, allocations: 10.36 kB / 0.725 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003209/1.037, allocations: 21.52 kB / 0.725 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.687e-05/1.037, allocations: 25.11 kB / 0.7251 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/1.037, allocations: 18.83 kB / 0.7251 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005088/1.038, allocations: 424.7 kB / 0.7255 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.038, allocations: 0 / 0.7255 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009361/1.039, allocations: 281 kB / 0.7257 GB, free: 186.8 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.0008868/1.039, allocations: 382.8 kB / 0.7261 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008985/1.04, allocations: 375.3 kB / 0.7265 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.04, allocations: 1.219 kB / 0.7265 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003517/1.041, allocations: 172.8 kB / 0.7266 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/1.042, allocations: 353.8 kB / 0.727 GB, free: 186.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/1.044, allocations: 0.9288 MB / 0.7279 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/1.044, allocations: 0.8649 MB / 0.7287 GB, free: 185.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003551/1.044, allocations: 127.6 kB / 0.7288 GB, free: 185.1 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/1.044, allocations: 0 / 0.7288 GB, free: 185.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.02082/1.065, allocations: 14.66 MB / 0.7432 GB, free: 176.2 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/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