Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.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.Fittings.TestSharpEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|orifice1.port_b.m_flow|orifice1.port_b.p|orifice1.port_b.h_outflow|orifice2.port_b.m_flow|orifice2.port_b.p|orifice2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|orifice1.port_b.m_flow|orifice1.port_b.p|orifice1.port_b.h_outflow|orifice2.port_b.m_flow|orifice2.port_b.p|orifice2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 109.4 kB / 18.45 MB, free: 4.594 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.001386, allocations: 184.3 kB / 19.38 MB, free: 3.672 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.351/1.351, allocations: 222.9 MB / 243.1 MB, free: 15.18 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.2012/0.2012, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 63.88 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3588, allocations: 60.83 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice): time 0.1906/0.5494, allocations: 176.5 MB / 0.6919 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00566/0.5551, allocations: 3.77 MB / 0.6956 GB, free: 7.199 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006781/0.5558, allocations: 19.88 kB / 0.6956 GB, free: 7.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.5569, allocations: 333.8 kB / 0.6959 GB, free: 6.852 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003702/0.5607, allocations: 1.364 MB / 0.6973 GB, free: 5.488 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002702/0.5634, allocations: 1.074 MB / 0.6983 GB, free: 4.418 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002189/0.5656, allocations: 1.598 MB / 0.6999 GB, free: 2.809 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007457/0.5663, allocations: 410 kB / 0.7003 GB, free: 2.402 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.5675, allocations: 0.5955 MB / 0.7008 GB, free: 1.805 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007933/0.5683, allocations: 478 kB / 0.7013 GB, free: 1.336 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.5685, allocations: 52 kB / 0.7014 GB, free: 1.285 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002311/0.5708, allocations: 1.279 MB / 0.7026 GB, free: 4 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002718/0.5711, allocations: 163.5 kB / 0.7028 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005471/0.5716, allocations: 374.2 kB / 0.7031 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00245/0.5741, allocations: 1.553 MB / 0.7046 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5741, allocations: 0 / 0.7046 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5741, allocations: 4 kB / 0.7046 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.891e-05/0.5742, allocations: 4 kB / 0.7046 GB, free: 13.91 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002276/0.5765, allocations: 1.199 MB / 0.7058 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.5765, allocations: 8.031 kB / 0.7058 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.5778, allocations: 163.4 kB / 0.706 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.5789, allocations: 0.6107 MB / 0.7066 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.579, allocations: 36.98 kB / 0.7066 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.874e-05/0.579, allocations: 44 kB / 0.7066 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009945/0.58, allocations: 0.6023 MB / 0.7072 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.5801, allocations: 0 / 0.7072 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.895e-05/0.5801, allocations: 16 kB / 0.7072 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.5802, allocations: 12 kB / 0.7073 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007753/0.5809, allocations: 459.6 kB / 0.7077 GB, free: 10.64 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.003171/0.5841, allocations: 2.631 MB / 0.7103 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005259/0.5847, allocations: 293.8 kB / 0.7105 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002987/0.585, allocations: 177 kB / 0.7107 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003203/0.5853, allocations: 336.4 kB / 0.711 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000507/0.5858, allocations: 350 kB / 0.7114 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 1.873e-06/0.5858, allocations: 0 / 0.7114 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.001149/0.587, allocations: 0.6207 MB / 0.712 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.5871, allocations: 294.7 kB / 0.7123 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006102/0.5877, allocations: 0.5743 MB / 0.7128 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.396e-05/0.5878, allocations: 33.7 kB / 0.7129 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002489/0.5881, allocations: 340 kB / 0.7132 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.5882, allocations: 115 kB / 0.7133 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.5884, allocations: 138.1 kB / 0.7134 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.5885, allocations: 378.7 kB / 0.7138 GB, free: 4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003039/0.5888, allocations: 167 kB / 0.7139 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004732/0.5893, allocations: 390.6 kB / 0.7143 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007554/0.5901, allocations: 0.5667 MB / 0.7149 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.5901, allocations: 0 / 0.7149 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001071/0.5912, allocations: 0.67 MB / 0.7155 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/0.5912, allocations: 33.7 kB / 0.7156 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.5912, allocations: 8 kB / 0.7156 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.5913, allocations: 8 kB / 0.7156 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003281/0.5945, allocations: 424.1 kB / 0.716 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004346/0.595, allocations: 0.6328 MB / 0.7166 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000436/0.5954, allocations: 63.7 kB / 0.7166 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.109e-05/0.5955, allocations: 48 kB / 0.7167 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004115/0.596, allocations: 293.2 kB / 0.717 GB, free: 496 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003891/0.5964, allocations: 370.7 kB / 0.7173 GB, free: 24 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2561/0.8525, allocations: 0.5254 MB / 0.7178 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.252e-05/0.8525, allocations: 2.344 kB / 0.7178 GB, free: 189.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.002423/0.855, allocations: 0.6231 MB / 0.7185 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.195e-05/0.855, allocations: 37.22 kB / 0.7185 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.8551, allocations: 6.125 kB / 0.7185 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.8551, allocations: 12.31 kB / 0.7185 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007795/0.8559, allocations: 128.4 kB / 0.7186 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.437e-05/0.8559, allocations: 18.38 kB / 0.7186 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009922/0.8569, allocations: 50.28 kB / 0.7187 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/0.8571, allocations: 48.95 kB / 0.7187 GB, free: 189.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 7 (p_table.nextEventScaled,p_table.nextEvent,$PRE.p_table.nextEvent,p_table.last,p_table.b,p_table.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004107/0.8575, allocations: 250 kB / 0.719 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003061/0.8579, allocations: 70.73 kB / 0.719 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003983/0.8619, allocations: 1.205 MB / 0.7202 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.8619, allocations: 3.75 kB / 0.7202 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.8619, allocations: 0 / 0.7202 GB, free: 188.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/0.8622, allocations: 144.4 kB / 0.7204 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/0.8624, allocations: 9.875 kB / 0.7204 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005504/0.863, allocations: 12.69 kB / 0.7204 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.8631, allocations: 33.28 kB / 0.7204 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001797/0.8649, allocations: 0.6487 MB / 0.721 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002101/0.8671, allocations: 0.9286 MB / 0.722 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005209/0.8676, allocations: 215 kB / 0.7222 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007808/0.8684, allocations: 414.4 kB / 0.7226 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of Backend: time 7.31e-07/0.8684, allocations: 0 / 0.7226 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01197/0.8804, allocations: 1.605 MB / 0.7241 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of SimCode: time 0.004361/0.8848, allocations: 1.755 MB / 0.7258 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.05339/0.9382, allocations: 20.34 MB / 0.7457 GB, free: 172.5 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestSharpEdgedOrifice/TestSharpEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches