Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_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_3.2.3_cpp_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.001036/0.001036, allocations: 181.3 kB / 17.41 MB, free: 4.289 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.315/1.315, allocations: 205.4 MB / 223.6 MB, free: 9.039 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.0007524/0.0007526, allocations: 85.08 kB / 271.9 MB, free: 8.281 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.2924/0.2924, allocations: 43.56 MB / 363.8 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004446/0.0004449, allocations: 12 kB / 432.6 MB, free: 5.656 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1092, allocations: 58.85 MB / 491.5 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.288/1.397, allocations: 0.6129 GB / 1.093 GB, free: 176.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/1.397, allocations: 99.73 kB / 1.093 GB, free: 176.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7871/2.184, allocations: 270 MB / 1.357 GB, free: 97.06 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.492e-06/2.184, allocations: 0 / 1.357 GB, free: 97.06 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.257e-05/2.184, allocations: 15.09 kB / 1.357 GB, free: 97.06 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.004154/2.189, allocations: 1.278 MB / 1.358 GB, free: 96.37 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/2.189, allocations: 11.16 kB / 1.358 GB, free: 96.37 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/2.19, allocations: 155.7 kB / 1.358 GB, free: 96.34 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009457/2.191, allocations: 0.517 MB / 1.359 GB, free: 96.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.574e-05/2.191, allocations: 36.34 kB / 1.359 GB, free: 96.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.727e-05/2.191, allocations: 38.22 kB / 1.359 GB, free: 96.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/2.192, allocations: 0.6527 MB / 1.359 GB, free: 95.93 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/2.192, allocations: 5.438 kB / 1.359 GB, free: 95.92 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.553e-05/2.192, allocations: 23.62 kB / 1.359 GB, free: 95.92 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/2.192, allocations: 10.62 kB / 1.359 GB, free: 95.92 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009016/2.193, allocations: 0.5046 MB / 1.36 GB, free: 95.92 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.002754/2.196, allocations: 2.639 MB / 1.362 GB, free: 94.26 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005681/2.197, allocations: 320.5 kB / 1.363 GB, free: 94.23 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/2.197, allocations: 155.4 kB / 1.363 GB, free: 94.23 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009961/2.198, allocations: 1.308 MB / 1.364 GB, free: 93.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/2.198, allocations: 47.5 kB / 1.364 GB, free: 93.05 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 2.605e-06/2.198, allocations: 0 / 1.364 GB, free: 93.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.001471/2.199, allocations: 0.7033 MB / 1.365 GB, free: 92.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/2.199, allocations: 163.5 kB / 1.365 GB, free: 92.69 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005252/2.2, allocations: 0.5129 MB / 1.366 GB, free: 92.57 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.993e-05/2.2, allocations: 36.89 kB / 1.366 GB, free: 92.54 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/2.2, allocations: 299 kB / 1.366 GB, free: 92.41 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.769e-05/2.2, allocations: 122.5 kB / 1.366 GB, free: 92.35 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/2.2, allocations: 10.78 kB / 1.366 GB, free: 92.35 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.723e-05/2.2, allocations: 362 kB / 1.366 GB, free: 92.04 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/2.201, allocations: 145.3 kB / 1.366 GB, free: 92.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002883/2.201, allocations: 317.6 kB / 1.367 GB, free: 91.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005392/2.202, allocations: 468.2 kB / 1.367 GB, free: 91.67 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/2.202, allocations: 0 / 1.367 GB, free: 91.67 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008733/2.202, allocations: 0.579 MB / 1.368 GB, free: 91.58 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/2.202, allocations: 9.531 kB / 1.368 GB, free: 91.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/2.202, allocations: 3.562 kB / 1.368 GB, free: 91.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/2.204, allocations: 236.6 kB / 1.368 GB, free: 91.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003318/2.204, allocations: 115.4 kB / 1.368 GB, free: 91.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003308/2.204, allocations: 0.5969 MB / 1.369 GB, free: 91.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/2.205, allocations: 71.31 kB / 1.369 GB, free: 91.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.216e-05/2.205, allocations: 51.97 kB / 1.369 GB, free: 91.03 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.0002563/2.205, allocations: 194.5 kB / 1.369 GB, free: 90.92 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/2.205, allocations: 62.91 kB / 1.369 GB, free: 90.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/2.207, allocations: 0.6948 MB / 1.37 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/2.207, allocations: 0 / 1.37 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/2.207, allocations: 3.938 kB / 1.37 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/2.207, allocations: 6.906 kB / 1.37 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/2.208, allocations: 0.972 MB / 1.371 GB, free: 90.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/2.208, allocations: 3.031 kB / 1.371 GB, free: 90.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/2.208, allocations: 48.52 kB / 1.371 GB, free: 90.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001088/2.209, allocations: 227.8 kB / 1.371 GB, free: 90.37 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/2.209, allocations: 11.16 kB / 1.371 GB, free: 90.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003058/2.21, allocations: 0.5796 MB / 1.372 GB, free: 89.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/2.21, allocations: 6.125 kB / 1.372 GB, free: 89.85 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005661/2.21, allocations: 490.1 kB / 1.372 GB, free: 89.62 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/2.21, allocations: 164.7 kB / 1.372 GB, free: 89.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/2.21, allocations: 10.81 kB / 1.372 GB, free: 89.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/2.211, allocations: 36.17 kB / 1.372 GB, free: 89.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/2.211, allocations: 27.62 kB / 1.372 GB, free: 89.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/2.211, allocations: 17.28 kB / 1.372 GB, free: 89.48 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004195/2.211, allocations: 409.9 kB / 1.373 GB, free: 89.39 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/2.211, allocations: 0 / 1.373 GB, free: 89.39 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001381/2.213, allocations: 434.7 kB / 1.373 GB, free: 89.32 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.002266/2.215, allocations: 1.297 MB / 1.374 GB, free: 89.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007435/2.216, allocations: 364.2 kB / 1.375 GB, free: 89.04 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/2.216, allocations: 0 / 1.375 GB, free: 89.04 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002481/2.216, allocations: 139.6 kB / 1.375 GB, free: 89.04 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/2.218, allocations: 329.2 kB / 1.375 GB, free: 89.04 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/2.219, allocations: 1.122 MB / 1.376 GB, free: 88.43 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/2.219, allocations: 0.866 MB / 1.377 GB, free: 87.73 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000334/2.22, allocations: 107.6 kB / 1.377 GB, free: 87.73 MB / 0.5105 GB Notification: Performance of SimCode: time 6.51e-07/2.22, allocations: 0 / 1.377 GB, free: 87.73 MB / 0.5105 GB Notification: Performance of Templates: time 0.02363/2.243, allocations: 19.35 MB / 1.396 GB, free: 86.49 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches