Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001647/0.001647, allocations: 171.9 kB / 16.76 MB, free: 4.902 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.4 MB / 222.9 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007942/0.0007945, allocations: 97.39 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3609/0.3609, allocations: 43.57 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.0003851, allocations: 15.98 kB / 432.6 MB, free: 4.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1269, allocations: 58.85 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.612/1.739, allocations: 0.6129 GB / 1.093 GB, free: 176.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/1.739, allocations: 95.45 kB / 1.093 GB, free: 176.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9028/2.642, allocations: 270.1 MB / 1.357 GB, free: 97.32 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.336e-06/2.642, allocations: 0 / 1.357 GB, free: 97.32 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.875e-05/2.642, allocations: 15.72 kB / 1.357 GB, free: 97.32 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.004539/2.646, allocations: 1.28 MB / 1.358 GB, free: 96.63 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.02e-05/2.646, allocations: 9.219 kB / 1.358 GB, free: 96.63 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/2.648, allocations: 157.8 kB / 1.358 GB, free: 96.59 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/2.649, allocations: 0.5143 MB / 1.359 GB, free: 96.36 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.151e-05/2.649, allocations: 33.69 kB / 1.359 GB, free: 96.36 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/2.65, allocations: 40.59 kB / 1.359 GB, free: 96.36 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/2.651, allocations: 0.6517 MB / 1.359 GB, free: 96.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/2.651, allocations: 8.547 kB / 1.359 GB, free: 96.18 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/2.651, allocations: 25.88 kB / 1.359 GB, free: 96.18 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/2.651, allocations: 12 kB / 1.359 GB, free: 96.18 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/2.652, allocations: 0.5 MB / 1.36 GB, free: 96.18 MB / 0.5105 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.003343/2.656, allocations: 2.646 MB / 1.362 GB, free: 94.52 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006181/2.656, allocations: 314.2 kB / 1.363 GB, free: 94.49 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/2.657, allocations: 157.4 kB / 1.363 GB, free: 94.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/2.658, allocations: 1.311 MB / 1.364 GB, free: 93.35 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/2.658, allocations: 47.02 kB / 1.364 GB, free: 93.31 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 3.817e-06/2.658, allocations: 0 / 1.364 GB, free: 93.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.001646/2.659, allocations: 0.7147 MB / 1.365 GB, free: 93.13 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.92e-05/2.66, allocations: 161.9 kB / 1.365 GB, free: 92.94 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006483/2.66, allocations: 0.5099 MB / 1.366 GB, free: 92.82 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.781e-05/2.66, allocations: 36.17 kB / 1.366 GB, free: 92.79 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/2.66, allocations: 300.8 kB / 1.366 GB, free: 92.66 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/2.661, allocations: 120.1 kB / 1.366 GB, free: 92.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/2.661, allocations: 11.22 kB / 1.366 GB, free: 92.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000116/2.661, allocations: 368.1 kB / 1.366 GB, free: 92.29 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/2.661, allocations: 138.5 kB / 1.366 GB, free: 92.29 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003504/2.661, allocations: 322.3 kB / 1.367 GB, free: 92.09 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000621/2.662, allocations: 462.7 kB / 1.367 GB, free: 91.92 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/2.662, allocations: 7.5 kB / 1.367 GB, free: 91.92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001102/2.663, allocations: 0.5714 MB / 1.368 GB, free: 91.83 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/2.663, allocations: 7.781 kB / 1.368 GB, free: 91.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/2.663, allocations: 3.625 kB / 1.368 GB, free: 91.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/2.664, allocations: 232.7 kB / 1.368 GB, free: 91.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/2.665, allocations: 118.8 kB / 1.368 GB, free: 91.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004184/2.665, allocations: 0.5869 MB / 1.369 GB, free: 91.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006099/2.666, allocations: 75.16 kB / 1.369 GB, free: 91.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.036e-05/2.666, allocations: 57.27 kB / 1.369 GB, free: 91.29 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003343/2.666, allocations: 186.7 kB / 1.369 GB, free: 91.17 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/2.666, allocations: 62 kB / 1.369 GB, free: 91.14 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/2.668, allocations: 0.69 MB / 1.37 GB, free: 91.01 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/2.668, allocations: 6.891 kB / 1.37 GB, free: 91.01 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/2.668, allocations: 7.875 kB / 1.37 GB, free: 91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/2.668, allocations: 0 / 1.37 GB, free: 91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/2.669, allocations: 0.9705 MB / 1.371 GB, free: 90.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/2.669, allocations: 0 / 1.371 GB, free: 90.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/2.67, allocations: 51.94 kB / 1.371 GB, free: 90.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001115/2.671, allocations: 229.5 kB / 1.371 GB, free: 90.62 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/2.671, allocations: 14.66 kB / 1.371 GB, free: 90.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003189/2.671, allocations: 0.5818 MB / 1.372 GB, free: 90.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/2.671, allocations: 3.844 kB / 1.372 GB, free: 90.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006191/2.672, allocations: 483.6 kB / 1.372 GB, free: 89.87 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002712/2.672, allocations: 167.1 kB / 1.372 GB, free: 89.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/2.672, allocations: 7.219 kB / 1.372 GB, free: 89.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004081/2.673, allocations: 39.34 kB / 1.372 GB, free: 89.74 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.06e-05/2.673, allocations: 32.48 kB / 1.372 GB, free: 89.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/2.673, allocations: 18.42 kB / 1.372 GB, free: 89.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004844/2.673, allocations: 403.7 kB / 1.373 GB, free: 89.65 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/2.673, allocations: 0 / 1.373 GB, free: 89.65 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001799/2.675, allocations: 442.7 kB / 1.373 GB, free: 89.58 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003244/2.678, allocations: 1.293 MB / 1.374 GB, free: 89.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009837/2.679, allocations: 366.5 kB / 1.375 GB, free: 89.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/2.679, allocations: 0 / 1.375 GB, free: 89.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002751/2.68, allocations: 133.4 kB / 1.375 GB, free: 89.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/2.682, allocations: 342.8 kB / 1.375 GB, free: 89.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/2.683, allocations: 1.085 MB / 1.376 GB, free: 88.72 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/2.684, allocations: 0.8659 MB / 1.377 GB, free: 88.02 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00109/2.685, allocations: 215.3 kB / 1.377 GB, free: 88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/2.685, allocations: 75.27 kB / 1.377 GB, free: 87.99 MB / 0.5105 GB Notification: Performance of SimCode: time 4.8e-07/2.685, allocations: 0 / 1.377 GB, free: 87.99 MB / 0.5105 GB Notification: Performance of Templates: time 0.0413/2.726, allocations: 27.07 MB / 1.404 GB, free: 83.35 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches