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.002336/0.002336, allocations: 181.1 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.126/2.126, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.00112/0.00112, allocations: 82.66 kB / 267.5 MB, free: 14.11 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.2844/0.2844, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.585e-05/3.593e-05, allocations: 8 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1118, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.817/1.929, allocations: 0.5913 GB / 1.064 GB, free: 42.86 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003331/1.929, allocations: 96.88 kB / 1.064 GB, free: 42.81 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.599/3.528, allocations: 268.1 MB / 1.326 GB, free: 96.92 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.965e-06/3.528, allocations: 2.734 kB / 1.326 GB, free: 96.92 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.607e-05/3.528, allocations: 19.03 kB / 1.326 GB, free: 96.92 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.004081/3.532, allocations: 1.194 MB / 1.327 GB, free: 96.55 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/3.532, allocations: 9.219 kB / 1.327 GB, free: 96.55 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001976/3.534, allocations: 156.1 kB / 1.327 GB, free: 96.52 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/3.536, allocations: 499.1 kB / 1.328 GB, free: 96.29 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.905e-05/3.536, allocations: 32.81 kB / 1.328 GB, free: 96.29 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/3.536, allocations: 44.31 kB / 1.328 GB, free: 96.29 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/3.538, allocations: 0.6342 MB / 1.329 GB, free: 96.13 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/3.538, allocations: 1.281 kB / 1.329 GB, free: 96.13 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/3.538, allocations: 29.77 kB / 1.329 GB, free: 96.13 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/3.538, allocations: 14.14 kB / 1.329 GB, free: 96.13 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/3.54, allocations: 489.5 kB / 1.329 GB, free: 96.13 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.005066/3.545, allocations: 2.628 MB / 1.332 GB, free: 94.48 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/3.546, allocations: 302.2 kB / 1.332 GB, free: 94.46 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003958/3.547, allocations: 150.6 kB / 1.332 GB, free: 94.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004707/3.547, allocations: 325.3 kB / 1.332 GB, free: 94.17 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/3.547, allocations: 42.28 kB / 1.332 GB, free: 94.13 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 3.216e-06/3.547, allocations: 0 / 1.332 GB, free: 94.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.001974/3.549, allocations: 471.5 kB / 1.333 GB, free: 94.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/3.549, allocations: 163.2 kB / 1.333 GB, free: 93.86 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/3.55, allocations: 456.9 kB / 1.333 GB, free: 93.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001642/3.55, allocations: 36.55 kB / 1.333 GB, free: 93.72 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/3.551, allocations: 330.5 kB / 1.334 GB, free: 93.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/3.551, allocations: 126.2 kB / 1.334 GB, free: 93.46 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/3.551, allocations: 8.125 kB / 1.334 GB, free: 93.46 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.46e-05/3.551, allocations: 330.5 kB / 1.334 GB, free: 93.15 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000418/3.551, allocations: 136.2 kB / 1.334 GB, free: 93.15 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005539/3.552, allocations: 308.2 kB / 1.335 GB, free: 92.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005404/3.553, allocations: 179.1 kB / 1.335 GB, free: 92.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/3.553, allocations: 1.438 kB / 1.335 GB, free: 92.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001636/3.554, allocations: 0.5095 MB / 1.335 GB, free: 92.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/3.554, allocations: 13.31 kB / 1.335 GB, free: 92.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/3.554, allocations: 5.594 kB / 1.335 GB, free: 92.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00241/3.557, allocations: 233.7 kB / 1.336 GB, free: 92.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008776/3.558, allocations: 118.6 kB / 1.336 GB, free: 92.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005829/3.558, allocations: 0.588 MB / 1.336 GB, free: 92.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008971/3.559, allocations: 64.45 kB / 1.336 GB, free: 92.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/3.559, allocations: 53.92 kB / 1.336 GB, free: 92.34 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 () * 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.0002179/3.56, allocations: 138.7 kB / 1.337 GB, free: 92.24 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/3.56, allocations: 62.2 kB / 1.337 GB, free: 92.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00253/3.562, allocations: 0.6878 MB / 1.337 GB, free: 92.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/3.562, allocations: 3.125 kB / 1.337 GB, free: 92.09 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/3.562, allocations: 0.8438 kB / 1.337 GB, free: 92.09 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/3.562, allocations: 1.453 kB / 1.337 GB, free: 92.09 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/3.565, allocations: 0.9484 MB / 1.338 GB, free: 91.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/3.565, allocations: 4.812 kB / 1.338 GB, free: 91.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003962/3.565, allocations: 48.92 kB / 1.338 GB, free: 91.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00215/3.567, allocations: 236.7 kB / 1.338 GB, free: 91.71 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.888e-05/3.567, allocations: 9.453 kB / 1.338 GB, free: 91.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005062/3.568, allocations: 0.5771 MB / 1.339 GB, free: 91.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/3.568, allocations: 2.547 kB / 1.339 GB, free: 91.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/3.569, allocations: 0.5316 MB / 1.34 GB, free: 90.87 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003188/3.57, allocations: 156.5 kB / 1.34 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/3.57, allocations: 10.22 kB / 1.34 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007484/3.57, allocations: 36.08 kB / 1.34 GB, free: 90.74 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.967e-05/3.571, allocations: 28.64 kB / 1.34 GB, free: 90.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.408e-05/3.571, allocations: 18.75 kB / 1.34 GB, free: 90.74 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008129/3.571, allocations: 406.7 kB / 1.34 GB, free: 90.65 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.31e-07/3.571, allocations: 0 / 1.34 GB, free: 90.65 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002305/3.574, allocations: 431.4 kB / 1.341 GB, free: 90.64 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 () * 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.003221/3.577, allocations: 1.282 MB / 1.342 GB, free: 90.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001335/3.578, allocations: 345.8 kB / 1.342 GB, free: 90.39 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/3.579, allocations: 5.219 kB / 1.342 GB, free: 90.39 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004207/3.579, allocations: 126.4 kB / 1.342 GB, free: 90.39 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003147/3.582, allocations: 337.4 kB / 1.343 GB, free: 90.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/3.584, allocations: 0.6253 MB / 1.343 GB, free: 90.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/3.584, allocations: 0.8759 MB / 1.344 GB, free: 89.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007099/3.585, allocations: 109.3 kB / 1.344 GB, free: 89.39 MB / 0.5105 GB Notification: Performance of SimCode: time 1.072e-06/3.585, allocations: 0 / 1.344 GB, free: 89.39 MB / 0.5105 GB Notification: Performance of Templates: time 0.03948/3.625, allocations: 19.7 MB / 1.363 GB, free: 88.86 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