Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_trunk_cpp_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_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000985/0.0009849, allocations: 197.7 kB / 16.79 MB, free: 5.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 226.5 MB / 244.1 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008429/0.0008429, allocations: 109.9 kB / 296.2 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3316/0.3316, allocations: 44.82 MB / 393 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000282/0.000282, allocations: 7.938 kB / 465.9 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3269, allocations: 62.96 MB / 0.5165 GB, free: 37.08 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.005/1.332, allocations: 0.4957 GB / 1.012 GB, free: 110 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/1.332, allocations: 95.94 kB / 1.012 GB, free: 109.9 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.7264/2.059, allocations: 236.3 MB / 1.243 GB, free: 95.34 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.884e-06/2.059, allocations: 0 / 1.243 GB, free: 95.34 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.857e-05/2.059, allocations: 16 kB / 1.243 GB, free: 95.32 MB / 0.5417 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.003259/2.062, allocations: 1.131 MB / 1.244 GB, free: 94.14 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/2.062, allocations: 11.97 kB / 1.244 GB, free: 94.13 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001592/2.064, allocations: 184 kB / 1.244 GB, free: 93.95 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/2.065, allocations: 0.5093 MB / 1.245 GB, free: 93.41 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/2.065, allocations: 30.12 kB / 1.245 GB, free: 93.38 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/2.065, allocations: 47.94 kB / 1.245 GB, free: 93.33 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/2.066, allocations: 0.662 MB / 1.246 GB, free: 92.61 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/2.066, allocations: 0 / 1.246 GB, free: 92.61 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.783e-05/2.066, allocations: 23.94 kB / 1.246 GB, free: 92.59 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/2.066, allocations: 12 kB / 1.246 GB, free: 92.57 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008771/2.067, allocations: 0.5035 MB / 1.246 GB, free: 92.07 MB / 0.5417 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.002881/2.07, allocations: 2.617 MB / 1.249 GB, free: 89.27 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000657/2.071, allocations: 330.5 kB / 1.249 GB, free: 88.93 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/2.071, allocations: 152.8 kB / 1.249 GB, free: 88.78 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003321/2.071, allocations: 441.5 kB / 1.249 GB, free: 88.26 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/2.071, allocations: 42.56 kB / 1.25 GB, free: 88.21 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=35): time 2.254e-06/2.071, allocations: 3.938 kB / 1.25 GB, free: 88.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35): time 0.001595/2.073, allocations: 0.7053 MB / 1.25 GB, free: 87.47 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/2.073, allocations: 162.2 kB / 1.25 GB, free: 87.27 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005658/2.074, allocations: 0.5145 MB / 1.251 GB, free: 86.75 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.39e-05/2.074, allocations: 33.7 kB / 1.251 GB, free: 86.71 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/2.074, allocations: 295.7 kB / 1.251 GB, free: 86.42 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.9e-05/2.074, allocations: 130.2 kB / 1.251 GB, free: 86.29 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/2.074, allocations: 8 kB / 1.251 GB, free: 86.28 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.566e-05/2.074, allocations: 362.8 kB / 1.252 GB, free: 85.92 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/2.074, allocations: 149 kB / 1.252 GB, free: 85.77 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002934/2.075, allocations: 319.3 kB / 1.252 GB, free: 85.38 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005478/2.075, allocations: 474.8 kB / 1.253 GB, free: 84.86 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/2.075, allocations: 0 / 1.253 GB, free: 84.86 MB / 0.5417 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009167/2.076, allocations: 0.5711 MB / 1.253 GB, free: 84.27 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/2.076, allocations: 8 kB / 1.253 GB, free: 84.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/2.076, allocations: 4 kB / 1.253 GB, free: 84.26 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/2.077, allocations: 241.2 kB / 1.253 GB, free: 84.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/2.078, allocations: 115.9 kB / 1.253 GB, free: 83.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003538/2.078, allocations: 0.5875 MB / 1.254 GB, free: 83.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004858/2.079, allocations: 67.36 kB / 1.254 GB, free: 83.23 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.792e-05/2.079, allocations: 55.98 kB / 1.254 GB, free: 83.18 MB / 0.5417 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.0002812/2.079, allocations: 197.6 kB / 1.254 GB, free: 82.97 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/2.079, allocations: 63.25 kB / 1.254 GB, free: 82.91 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/2.081, allocations: 1.063 MB / 1.255 GB, free: 81.81 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/2.081, allocations: 8 kB / 1.255 GB, free: 81.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/2.081, allocations: 0 / 1.255 GB, free: 81.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/2.081, allocations: 3.938 kB / 1.255 GB, free: 81.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/2.082, allocations: 0.9602 MB / 1.256 GB, free: 80.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/2.082, allocations: 3.938 kB / 1.256 GB, free: 80.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/2.082, allocations: 51.91 kB / 1.256 GB, free: 80.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00111/2.083, allocations: 228.8 kB / 1.257 GB, free: 80.48 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/2.083, allocations: 12 kB / 1.257 GB, free: 80.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003212/2.084, allocations: 0.5797 MB / 1.257 GB, free: 79.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/2.084, allocations: 7.875 kB / 1.257 GB, free: 79.85 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005896/2.084, allocations: 481.5 kB / 1.258 GB, free: 79.34 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/2.085, allocations: 164.3 kB / 1.258 GB, free: 79.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/2.085, allocations: 7.984 kB / 1.258 GB, free: 79.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003949/2.085, allocations: 31.89 kB / 1.258 GB, free: 79.12 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.916e-05/2.085, allocations: 27.84 kB / 1.258 GB, free: 79.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/2.085, allocations: 27.92 kB / 1.258 GB, free: 79.07 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004438/2.086, allocations: 406.8 kB / 1.258 GB, free: 78.68 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.11e-07/2.086, allocations: 0 / 1.258 GB, free: 78.68 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001363/2.087, allocations: 399.5 kB / 1.259 GB, free: 78.29 MB / 0.5417 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.001952/2.089, allocations: 1.122 MB / 1.26 GB, free: 77.18 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007701/2.09, allocations: 368.8 kB / 1.26 GB, free: 76.82 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/2.09, allocations: 0 / 1.26 GB, free: 76.82 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002474/2.09, allocations: 139.7 kB / 1.26 GB, free: 76.68 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/2.092, allocations: 343.9 kB / 1.261 GB, free: 76.35 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/2.093, allocations: 1.128 MB / 1.262 GB, free: 75.17 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/2.093, allocations: 0.8556 MB / 1.263 GB, free: 74.29 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004206/2.094, allocations: 135.3 kB / 1.263 GB, free: 74.15 MB / 0.5417 GB Notification: Performance of SimCode: time 7.41e-07/2.094, allocations: 0 / 1.263 GB, free: 74.15 MB / 0.5417 GB Notification: Performance of Templates: time 0.02312/2.117, allocations: 18.73 MB / 1.281 GB, free: 55.46 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches