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.001307/0.001307, allocations: 182.6 kB / 15.76 MB, free: 6.367 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.777/1.777, allocations: 205.4 MB / 221.9 MB, free: 13.86 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.001029/0.001029, allocations: 78.89 kB / 270.2 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2184/0.2184, allocations: 43.56 MB / 362.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003027/0.0003027, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1285, allocations: 58.85 MB / 490.3 MB, free: 8.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.48/1.608, allocations: 0.6127 GB / 1.091 GB, free: 16.98 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/1.609, allocations: 96.69 kB / 1.092 GB, free: 16.93 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.239/2.847, allocations: 272 MB / 1.357 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.312e-06/2.847, allocations: 0 / 1.357 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.42e-05/2.848, allocations: 18.91 kB / 1.357 GB, free: 102.5 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.003989/2.852, allocations: 1.283 MB / 1.359 GB, free: 102 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/2.852, allocations: 9.281 kB / 1.359 GB, free: 102 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/2.853, allocations: 160.2 kB / 1.359 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/2.854, allocations: 0.4907 MB / 1.359 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/2.854, allocations: 33.81 kB / 1.359 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.885e-05/2.854, allocations: 43.53 kB / 1.359 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/2.855, allocations: 0.6443 MB / 1.36 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/2.855, allocations: 2.812 kB / 1.36 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.462e-05/2.855, allocations: 27.2 kB / 1.36 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/2.855, allocations: 11.72 kB / 1.36 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008859/2.856, allocations: 0.5021 MB / 1.36 GB, free: 101.6 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.002908/2.859, allocations: 2.629 MB / 1.363 GB, free: 99.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006023/2.86, allocations: 314.8 kB / 1.363 GB, free: 99.87 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003416/2.86, allocations: 339.4 kB / 1.364 GB, free: 99.58 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/2.86, allocations: 38.84 kB / 1.364 GB, free: 99.54 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 3.336e-06/2.86, allocations: 0 / 1.364 GB, free: 99.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.001472/2.862, allocations: 0.7025 MB / 1.364 GB, free: 99.37 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/2.862, allocations: 161.1 kB / 1.364 GB, free: 99.18 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000502/2.862, allocations: 464.3 kB / 1.365 GB, free: 99.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.211e-05/2.862, allocations: 33.02 kB / 1.365 GB, free: 99.04 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/2.863, allocations: 297.4 kB / 1.365 GB, free: 98.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/2.863, allocations: 125 kB / 1.365 GB, free: 98.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/2.863, allocations: 6.562 kB / 1.365 GB, free: 98.84 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.333e-05/2.863, allocations: 372.2 kB / 1.366 GB, free: 98.53 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/2.863, allocations: 140.6 kB / 1.366 GB, free: 98.53 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/2.863, allocations: 313.8 kB / 1.366 GB, free: 98.33 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/2.864, allocations: 189.5 kB / 1.366 GB, free: 98.33 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/2.864, allocations: 7.141 kB / 1.366 GB, free: 98.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000854/2.865, allocations: 0.563 MB / 1.367 GB, free: 98.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/2.865, allocations: 7.781 kB / 1.367 GB, free: 98.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/2.865, allocations: 3.25 kB / 1.367 GB, free: 98.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/2.866, allocations: 244.6 kB / 1.367 GB, free: 98.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/2.866, allocations: 116.4 kB / 1.367 GB, free: 98.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004179/2.867, allocations: 0.5875 MB / 1.368 GB, free: 97.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005137/2.867, allocations: 69.38 kB / 1.368 GB, free: 97.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.391e-05/2.867, allocations: 58.41 kB / 1.368 GB, free: 97.7 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.0003059/2.868, allocations: 199.2 kB / 1.368 GB, free: 97.59 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/2.868, allocations: 59.69 kB / 1.368 GB, free: 97.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/2.869, allocations: 0.7028 MB / 1.369 GB, free: 97.44 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/2.869, allocations: 0 / 1.369 GB, free: 97.44 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/2.869, allocations: 5.844 kB / 1.369 GB, free: 97.44 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/2.869, allocations: 0 / 1.369 GB, free: 97.44 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/2.871, allocations: 0.9563 MB / 1.37 GB, free: 97.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/2.871, allocations: 5.969 kB / 1.37 GB, free: 97.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/2.871, allocations: 52.11 kB / 1.37 GB, free: 97.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001141/2.872, allocations: 236.5 kB / 1.37 GB, free: 97.06 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/2.872, allocations: 7.281 kB / 1.37 GB, free: 97.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002936/2.872, allocations: 0.581 MB / 1.371 GB, free: 96.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/2.872, allocations: 3.656 kB / 1.371 GB, free: 96.54 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006083/2.873, allocations: 0.5456 MB / 1.371 GB, free: 96.21 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/2.873, allocations: 156.2 kB / 1.371 GB, free: 96.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.569e-05/2.873, allocations: 7 kB / 1.371 GB, free: 96.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/2.874, allocations: 35.97 kB / 1.371 GB, free: 96.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/2.874, allocations: 24.12 kB / 1.371 GB, free: 96.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/2.874, allocations: 23.34 kB / 1.371 GB, free: 96.09 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004202/2.874, allocations: 402.9 kB / 1.372 GB, free: 96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/2.874, allocations: 0 / 1.372 GB, free: 96 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001635/2.876, allocations: 447.2 kB / 1.372 GB, free: 95.95 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.00277/2.879, allocations: 1.29 MB / 1.373 GB, free: 95.69 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007286/2.879, allocations: 362.3 kB / 1.374 GB, free: 95.68 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/2.879, allocations: 0 / 1.374 GB, free: 95.68 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002374/2.88, allocations: 141.3 kB / 1.374 GB, free: 95.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/2.881, allocations: 338 kB / 1.374 GB, free: 95.68 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/2.882, allocations: 1.094 MB / 1.375 GB, free: 95.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/2.883, allocations: 0.8751 MB / 1.376 GB, free: 94.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009443/2.884, allocations: 219.5 kB / 1.376 GB, free: 94.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/2.884, allocations: 74.17 kB / 1.376 GB, free: 94.38 MB / 0.5105 GB Notification: Performance of SimCode: time 4.41e-07/2.884, allocations: 3.938 kB / 1.376 GB, free: 94.38 MB / 0.5105 GB Notification: Performance of Templates: time 0.03733/2.921, allocations: 26.6 MB / 1.402 GB, free: 93.22 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/jenkins/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