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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 76.84 kB / 19.93 MB, free: 1.77 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 169 kB / 23.22 MB, free: 4.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 158.6 MB / 185 MB, free: 6.406 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2348/0.2348, allocations: 32.38 MB / 269.6 MB, free: 4.664 MB / 254.1 MB " [Timeout remaining time 179] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,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=5050,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 407.4 MB, free: 3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.228e-05/3.393e-05, allocations: 2.281 kB / 407.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5629/0.563, allocations: 162.8 MB / 0.5568 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01178/0.5747, allocations: 6.474 MB / 0.5631 GB, free: 7.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009635/0.5757, allocations: 23.75 kB / 0.5631 GB, free: 7.566 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.5769, allocations: 337.6 kB / 0.5634 GB, free: 7.234 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00819/0.5851, allocations: 2.466 MB / 0.5659 GB, free: 4.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003556/0.5887, allocations: 0.9873 MB / 0.5668 GB, free: 3.789 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003858/0.5925, allocations: 1.722 MB / 0.5685 GB, free: 2.066 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008326/0.5934, allocations: 378.9 kB / 0.5689 GB, free: 1.695 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002472/0.5958, allocations: 1.091 MB / 0.5699 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00096/0.5968, allocations: 458.7 kB / 0.5704 GB, free: 156 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.5969, allocations: 52 kB / 0.5704 GB, free: 104 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003599/0.6005, allocations: 1.189 MB / 0.5716 GB, free: 14.91 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000287/0.6008, allocations: 191.2 kB / 0.5718 GB, free: 14.72 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004991/0.6013, allocations: 263.5 kB / 0.572 GB, free: 14.46 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0038/0.6051, allocations: 1.823 MB / 0.5738 GB, free: 12.64 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.6051, allocations: 4 kB / 0.5738 GB, free: 12.63 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.6051, allocations: 0 / 0.5738 GB, free: 12.63 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.6051, allocations: 0 / 0.5738 GB, free: 12.63 MB / 462.1 MB 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.002341/0.6075, allocations: 1.088 MB / 0.5749 GB, free: 11.51 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.6075, allocations: 8.031 kB / 0.5749 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.6087, allocations: 163.4 kB / 0.575 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009835/0.6097, allocations: 457.5 kB / 0.5755 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.82e-05/0.6098, allocations: 29 kB / 0.5755 GB, free: 10.85 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.421e-05/0.6098, allocations: 44 kB / 0.5755 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.6113, allocations: 1.042 MB / 0.5765 GB, free: 9.617 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.6113, allocations: 0 / 0.5765 GB, free: 9.617 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.9e-05/0.6114, allocations: 20 kB / 0.5766 GB, free: 9.598 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.6114, allocations: 20.44 kB / 0.5766 GB, free: 9.578 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009752/0.6124, allocations: 0.4956 MB / 0.5771 GB, free: 9.082 MB / 462.1 MB 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.003194/0.6156, allocations: 2.025 MB / 0.579 GB, free: 6.984 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000743/0.6163, allocations: 294.8 kB / 0.5793 GB, free: 6.688 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003183/0.6167, allocations: 148.6 kB / 0.5795 GB, free: 6.539 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/0.6178, allocations: 410.5 kB / 0.5799 GB, free: 6.141 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.038e-05/0.6179, allocations: 40.25 kB / 0.5799 GB, free: 6.094 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 3.026e-06/0.6179, allocations: 4 kB / 0.5799 GB, free: 6.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.001856/0.6197, allocations: 0.6187 MB / 0.5805 GB, free: 5.461 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.6198, allocations: 162.2 kB / 0.5807 GB, free: 5.266 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005829/0.6204, allocations: 445.8 kB / 0.5811 GB, free: 4.82 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.086e-05/0.6205, allocations: 37.7 kB / 0.5811 GB, free: 4.777 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002772/0.6208, allocations: 312.2 kB / 0.5814 GB, free: 4.465 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.6209, allocations: 134.8 kB / 0.5815 GB, free: 4.332 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002251/0.6211, allocations: 114.1 kB / 0.5817 GB, free: 4.211 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.6213, allocations: 354.8 kB / 0.582 GB, free: 3.855 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/0.6216, allocations: 144.9 kB / 0.5821 GB, free: 3.715 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005366/0.6221, allocations: 429.1 kB / 0.5825 GB, free: 3.195 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007923/0.6229, allocations: 478.6 kB / 0.583 GB, free: 2.664 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-05/0.623, allocations: 0 / 0.583 GB, free: 2.664 MB / 462.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001155/0.6241, allocations: 0.5602 MB / 0.5835 GB, free: 2.094 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.6241, allocations: 8 kB / 0.5836 GB, free: 2.086 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.6242, allocations: 4 kB / 0.5836 GB, free: 2.082 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001702/0.6259, allocations: 241 kB / 0.5838 GB, free: 1.844 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004318/0.6263, allocations: 115.8 kB / 0.5839 GB, free: 1.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007038/0.627, allocations: 0.5914 MB / 0.5845 GB, free: 1.113 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003943/0.6274, allocations: 51.69 kB / 0.5845 GB, free: 1.062 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.6275, allocations: 55.98 kB / 0.5846 GB, free: 1.008 MB / 462.1 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003776/0.6279, allocations: 189.6 kB / 0.5848 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.628, allocations: 55.66 kB / 0.5848 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/0.6296, allocations: 0.7372 MB / 0.5855 GB, free: 0 / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.739e-05/0.6296, allocations: 4.047 kB / 0.5855 GB, free: 15.99 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.6296, allocations: 0 / 0.5855 GB, free: 15.99 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.6296, allocations: 11.88 kB / 0.5855 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/0.6312, allocations: 0.8568 MB / 0.5864 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.6312, allocations: 0 / 0.5864 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.6315, allocations: 55.91 kB / 0.5864 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00358/0.635, allocations: 436.4 kB / 0.5869 GB, free: 14.59 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.166e-05/0.6351, allocations: 8 kB / 0.5869 GB, free: 14.58 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005676/0.6357, allocations: 0.6186 MB / 0.5875 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.6357, allocations: 0 / 0.5875 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008979/0.6366, allocations: 0.4895 MB / 0.5879 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.6367, allocations: 39.66 kB / 0.588 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.655e-05/0.6368, allocations: 15.89 kB / 0.588 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/0.6371, allocations: 15.98 kB / 0.588 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.059e-05/0.6372, allocations: 27.95 kB / 0.588 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-05/0.6372, allocations: 19.98 kB / 0.5881 GB, free: 13.29 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000483/0.6377, allocations: 358.9 kB / 0.5884 GB, free: 12.94 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6377, allocations: 0 / 0.5884 GB, free: 12.94 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00119/0.6389, allocations: 355 kB / 0.5887 GB, free: 12.59 MB / 478.1 MB 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001401/0.6403, allocations: 487.1 kB / 0.5892 GB, free: 12.11 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009586/0.6412, allocations: 364.3 kB / 0.5895 GB, free: 11.75 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/0.6413, allocations: 4.312 kB / 0.5896 GB, free: 11.75 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003397/0.6416, allocations: 147.8 kB / 0.5897 GB, free: 11.61 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/0.6433, allocations: 316.2 kB / 0.59 GB, free: 11.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.6454, allocations: 0.8849 MB / 0.5909 GB, free: 10.37 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.6457, allocations: 263.5 kB / 0.5911 GB, free: 10.09 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000769/0.6465, allocations: 208.5 kB / 0.5913 GB, free: 9.879 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002524/0.6467, allocations: 72.48 kB / 0.5914 GB, free: 9.805 MB / 478.1 MB Notification: Performance of SimCode: time 8.31e-07/0.6467, allocations: 0 / 0.5914 GB, free: 9.805 MB / 478.1 MB Notification: Performance of Templates: time 0.03374/0.6805, allocations: 16.23 MB / 0.6072 GB, free: 9.637 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.7055242247879505]