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.001462/0.001462, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.505/1.505, allocations: 205.3 MB / 213.7 MB, free: 1.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007922/0.0007921, allocations: 95.53 kB / 261.7 MB, free: 1.621 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.2371/0.2371, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.32e-05/1.312e-05, allocations: 0 / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 58.86 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.343/1.454, allocations: 0.5907 GB / 1.057 GB, free: 42.18 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/1.454, allocations: 96.75 kB / 1.057 GB, free: 42.09 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.055/2.509, allocations: 265.1 MB / 1.316 GB, free: 90.49 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.282e-06/2.509, allocations: 0 / 1.316 GB, free: 90.49 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.715e-05/2.51, allocations: 18.44 kB / 1.316 GB, free: 90.49 MB / 0.4948 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.003313/2.513, allocations: 1.197 MB / 1.317 GB, free: 90.05 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/2.513, allocations: 7.562 kB / 1.317 GB, free: 90.05 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/2.514, allocations: 152.7 kB / 1.317 GB, free: 90.01 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009942/2.515, allocations: 0.4971 MB / 1.317 GB, free: 89.79 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/2.515, allocations: 17.28 kB / 1.317 GB, free: 89.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.73e-05/2.515, allocations: 25.66 kB / 1.317 GB, free: 89.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006874/2.516, allocations: 428.7 kB / 1.318 GB, free: 89.79 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007731/2.517, allocations: 0.5452 MB / 1.318 GB, free: 89.61 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/2.517, allocations: 3.094 kB / 1.318 GB, free: 89.61 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.146e-05/2.517, allocations: 7.688 kB / 1.318 GB, free: 89.61 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/2.517, allocations: 11.75 kB / 1.318 GB, free: 89.61 MB / 0.4948 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.002762/2.52, allocations: 2.584 MB / 1.321 GB, free: 88 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/2.52, allocations: 240.8 kB / 1.321 GB, free: 87.96 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/2.52, allocations: 124.1 kB / 1.321 GB, free: 87.96 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004016/2.521, allocations: 318.3 kB / 1.322 GB, free: 87.67 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/2.521, allocations: 42.11 kB / 1.322 GB, free: 87.63 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 2.625e-06/2.521, allocations: 3.469 kB / 1.322 GB, free: 87.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31): time 0.002698/2.524, allocations: 0.7708 MB / 1.322 GB, free: 87.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/2.524, allocations: 158.1 kB / 1.322 GB, free: 87.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004721/2.524, allocations: 387.5 kB / 1.323 GB, free: 87.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.956e-05/2.524, allocations: 29.36 kB / 1.323 GB, free: 87.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/2.524, allocations: 318.3 kB / 1.323 GB, free: 87.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.911e-05/2.524, allocations: 113.1 kB / 1.323 GB, free: 87.03 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/2.524, allocations: 0 / 1.323 GB, free: 87.03 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.719e-05/2.525, allocations: 362.4 kB / 1.324 GB, free: 86.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/2.525, allocations: 118.1 kB / 1.324 GB, free: 86.71 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/2.525, allocations: 303.4 kB / 1.324 GB, free: 86.51 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001988/2.527, allocations: 0.5954 MB / 1.325 GB, free: 86.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/2.527, allocations: 3.969 kB / 1.325 GB, free: 86.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002483/2.53, allocations: 0.9151 MB / 1.326 GB, free: 86.44 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.58e-05/2.53, allocations: 13.03 kB / 1.326 GB, free: 86.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/2.53, allocations: 7.172 kB / 1.326 GB, free: 86.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002147/2.53, allocations: 46.36 kB / 1.326 GB, free: 86.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000375/2.53, allocations: 125.5 kB / 1.326 GB, free: 86.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004872/2.531, allocations: 0.6135 MB / 1.326 GB, free: 85.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000514/2.531, allocations: 46.31 kB / 1.326 GB, free: 85.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.097e-05/2.531, allocations: 57.39 kB / 1.326 GB, free: 85.89 MB / 0.4948 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.0001395/2.531, allocations: 112.5 kB / 1.327 GB, free: 85.79 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/2.532, allocations: 52.98 kB / 1.327 GB, free: 85.77 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001498/2.533, allocations: 0.6196 MB / 1.327 GB, free: 85.67 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/2.533, allocations: 3.969 kB / 1.327 GB, free: 85.67 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/2.533, allocations: 3.953 kB / 1.327 GB, free: 85.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/2.533, allocations: 3.703 kB / 1.327 GB, free: 85.66 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/2.535, allocations: 1.14 MB / 1.328 GB, free: 85.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/2.535, allocations: 3.594 kB / 1.328 GB, free: 85.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/2.535, allocations: 48.7 kB / 1.328 GB, free: 85.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001386/2.535, allocations: 47.19 kB / 1.328 GB, free: 85.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/2.535, allocations: 3.969 kB / 1.328 GB, free: 85.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000398/2.536, allocations: 0.6017 MB / 1.329 GB, free: 84.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/2.536, allocations: 5.906 kB / 1.329 GB, free: 84.61 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/2.537, allocations: 0.637 MB / 1.33 GB, free: 84.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/2.537, allocations: 147.4 kB / 1.33 GB, free: 84.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.644e-05/2.537, allocations: 2.812 kB / 1.33 GB, free: 84.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003833/2.538, allocations: 26.48 kB / 1.33 GB, free: 84.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.066e-05/2.538, allocations: 29.89 kB / 1.33 GB, free: 84.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.914e-05/2.538, allocations: 18.83 kB / 1.33 GB, free: 84.11 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000329/2.538, allocations: 324.5 kB / 1.33 GB, free: 84.03 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.8e-07/2.538, allocations: 3.281 kB / 1.33 GB, free: 84.03 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00141/2.539, allocations: 410 kB / 1.331 GB, free: 83.98 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.002636/2.542, allocations: 1.448 MB / 1.332 GB, free: 83.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006465/2.543, allocations: 306.8 kB / 1.332 GB, free: 83.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/2.543, allocations: 3.062 kB / 1.332 GB, free: 83.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002016/2.543, allocations: 125.3 kB / 1.332 GB, free: 83.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/2.544, allocations: 253.5 kB / 1.333 GB, free: 83.71 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/2.545, allocations: 0.5845 MB / 1.333 GB, free: 83.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/2.546, allocations: 0.8718 MB / 1.334 GB, free: 82.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008777/2.547, allocations: 202.4 kB / 1.334 GB, free: 82.74 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/2.547, allocations: 71.12 kB / 1.334 GB, free: 82.73 MB / 0.4948 GB Notification: Performance of SimCode: time 2.8e-07/2.547, allocations: 2.625 kB / 1.334 GB, free: 82.73 MB / 0.4948 GB Notification: Performance of Templates: time 0.02624/2.573, allocations: 17.76 MB / 1.352 GB, free: 81.96 MB / 0.4948 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