Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001979/0.001979, allocations: 77.7 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001859/0.001859, allocations: 161.3 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 177.1 MB / 204.7 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2378/0.2378, allocations: 34.26 MB / 295.4 MB, free: 14.46 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003365/0.003365, allocations: 87.8 kB / 443.2 MB, free: 6.445 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.372, allocations: 66.06 MB / 0.4973 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.196/0.568, allocations: 160 MB / 0.6535 GB, free: 5.023 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007131/0.5751, allocations: 4.261 MB / 0.6577 GB, free: 0.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000447/0.5755, allocations: 19.81 kB / 0.6577 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.5766, allocations: 333.8 kB / 0.658 GB, free: 412 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00467/0.5812, allocations: 1.83 MB / 0.6598 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002447/0.5837, allocations: 0.9738 MB / 0.6607 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002452/0.5861, allocations: 1.73 MB / 0.6624 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006163/0.5867, allocations: 378.4 kB / 0.6628 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001666/0.5884, allocations: 0.88 MB / 0.6637 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008022/0.5892, allocations: 0.498 MB / 0.6641 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.5893, allocations: 56 kB / 0.6642 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002182/0.5915, allocations: 0.979 MB / 0.6652 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000213/0.5917, allocations: 179.3 kB / 0.6653 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004209/0.5921, allocations: 318.7 kB / 0.6656 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002303/0.5944, allocations: 1.585 MB / 0.6672 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.5945, allocations: 0 / 0.6672 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5945, allocations: 0 / 0.6672 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.5945, allocations: 0 / 0.6672 GB, free: 6.996 MB / 0.5606 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.002022/0.5965, allocations: 1.057 MB / 0.6682 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.5965, allocations: 8.031 kB / 0.6682 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.5978, allocations: 171.5 kB / 0.6684 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009046/0.5987, allocations: 449.5 kB / 0.6688 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.634e-05/0.5988, allocations: 33 kB / 0.6688 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.538e-05/0.5988, allocations: 44 kB / 0.6689 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.6003, allocations: 1.053 MB / 0.6699 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.6003, allocations: 0 / 0.6699 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.862e-05/0.6004, allocations: 24 kB / 0.6699 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.6004, allocations: 8 kB / 0.6699 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009679/0.6013, allocations: 499.6 kB / 0.6704 GB, free: 3.477 MB / 0.5606 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.002978/0.6043, allocations: 2.017 MB / 0.6724 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007083/0.605, allocations: 295.3 kB / 0.6727 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.6053, allocations: 144.9 kB / 0.6728 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002164/0.6055, allocations: 51.95 kB / 0.6729 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.6056, allocations: 38.56 kB / 0.6729 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 1.423e-06/0.6056, allocations: 3.938 kB / 0.6729 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.001634/0.6072, allocations: 0.6273 MB / 0.6735 GB, free: 212 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.6073, allocations: 162.2 kB / 0.6737 GB, free: 12 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005716/0.6079, allocations: 453.8 kB / 0.6741 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.514e-05/0.6079, allocations: 29.7 kB / 0.6741 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002709/0.6082, allocations: 312.1 kB / 0.6744 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.6083, allocations: 134.9 kB / 0.6745 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001928/0.6085, allocations: 110.2 kB / 0.6747 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.6087, allocations: 358.8 kB / 0.675 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/0.609, allocations: 148.9 kB / 0.6751 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005348/0.6096, allocations: 433.1 kB / 0.6756 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007774/0.6103, allocations: 466.7 kB / 0.676 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.6103, allocations: 4 kB / 0.676 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001059/0.6114, allocations: 0.5682 MB / 0.6766 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.6114, allocations: 12.09 kB / 0.6766 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.6114, allocations: 7.938 kB / 0.6766 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00158/0.613, allocations: 240.5 kB / 0.6768 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004132/0.6134, allocations: 123.8 kB / 0.6769 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005274/0.6139, allocations: 0.5991 MB / 0.6775 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003305/0.6143, allocations: 43.67 kB / 0.6775 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.86e-05/0.6144, allocations: 55.98 kB / 0.6776 GB, free: 11.74 MB / 0.5762 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 (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.0002839/0.6147, allocations: 195 kB / 0.6778 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.6148, allocations: 59.73 kB / 0.6778 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/0.6168, allocations: 1.101 MB / 0.6789 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.6168, allocations: 7.938 kB / 0.6789 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.6168, allocations: 0 / 0.6789 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.6168, allocations: 3.984 kB / 0.6789 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.6182, allocations: 0.8437 MB / 0.6798 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.6182, allocations: 7.984 kB / 0.6798 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.6184, allocations: 52.11 kB / 0.6798 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003273/0.6217, allocations: 440.2 kB / 0.6802 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.6217, allocations: 12 kB / 0.6802 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005019/0.6222, allocations: 0.603 MB / 0.6808 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.6222, allocations: 0 / 0.6808 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007788/0.623, allocations: 0.4972 MB / 0.6813 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.422e-05/0.6231, allocations: 51.59 kB / 0.6814 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.621e-05/0.6231, allocations: 16.02 kB / 0.6814 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003137/0.6235, allocations: 15.98 kB / 0.6814 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.6235, allocations: 23.97 kB / 0.6814 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.91e-05/0.6236, allocations: 19.98 kB / 0.6814 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000478/0.624, allocations: 362.8 kB / 0.6818 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.624, allocations: 0 / 0.6818 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009342/0.625, allocations: 311.1 kB / 0.6821 GB, free: 6.984 MB / 0.5762 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 (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.0007265/0.6257, allocations: 397.4 kB / 0.6825 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007661/0.6265, allocations: 360.6 kB / 0.6828 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.6265, allocations: 4 kB / 0.6828 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003074/0.6268, allocations: 140.7 kB / 0.6829 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/0.6283, allocations: 302.5 kB / 0.6832 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.6298, allocations: 0.934 MB / 0.6841 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.6301, allocations: 279.6 kB / 0.6844 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001058/0.6312, allocations: 0.5636 MB / 0.685 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/0.6314, allocations: 88.47 kB / 0.685 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of SimCode: time 4.5e-07/0.6314, allocations: 0 / 0.685 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of Templates: time 0.2468/0.8782, allocations: 15.43 MB / 0.7001 GB, free: 166.2 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.16901270695962]