Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.001868/0.001868, allocations: 69.34 kB / 19.93 MB, free: 1.766 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.002754/0.002754, allocations: 167.5 kB / 23.22 MB, free: 4.863 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.662/1.662, allocations: 158.6 MB / 185 MB, free: 6.379 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.2329/0.2329, allocations: 32.38 MB / 269.6 MB, free: 4.645 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.Bend,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.Bend") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,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.Bend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.256e-06/3.256e-06, allocations: 0 / 407.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.721e-05/6.046e-05, allocations: 6.219 kB / 407.4 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.562/0.5621, allocations: 162.8 MB / 0.5568 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01394/0.576, allocations: 6.804 MB / 0.5635 GB, free: 7.195 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.5772, allocations: 19.81 kB / 0.5635 GB, free: 7.176 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.5787, allocations: 337.5 kB / 0.5638 GB, free: 6.844 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01169/0.5904, allocations: 2.789 MB / 0.5665 GB, free: 4.055 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003545/0.5939, allocations: 0.9627 MB / 0.5675 GB, free: 3.098 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003396/0.5973, allocations: 1.69 MB / 0.5691 GB, free: 1.402 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001446/0.5987, allocations: 374.9 kB / 0.5695 GB, free: 1.035 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005178/0.6039, allocations: 1.087 MB / 0.5705 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001779/0.6057, allocations: 462.7 kB / 0.571 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003193/0.606, allocations: 52 kB / 0.571 GB, free: 15.44 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005476/0.6115, allocations: 1.446 MB / 0.5724 GB, free: 13.99 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004925/0.612, allocations: 180.2 kB / 0.5726 GB, free: 13.81 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009001/0.6129, allocations: 283.3 kB / 0.5729 GB, free: 13.54 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005928/0.6188, allocations: 2.034 MB / 0.5749 GB, free: 11.5 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.6188, allocations: 3.938 kB / 0.5749 GB, free: 11.5 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6188, allocations: 0 / 0.5749 GB, free: 11.5 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.567e-05/0.6189, allocations: 0 / 0.5749 GB, free: 11.5 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.003364/0.6222, allocations: 1.115 MB / 0.576 GB, free: 10.35 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.6223, allocations: 8.031 kB / 0.576 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/0.6237, allocations: 163.9 kB / 0.5761 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.625, allocations: 445.5 kB / 0.5765 GB, free: 9.723 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.562e-05/0.625, allocations: 36.94 kB / 0.5766 GB, free: 9.688 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.6251, allocations: 44 kB / 0.5766 GB, free: 9.645 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.6268, allocations: 1.038 MB / 0.5776 GB, free: 8.461 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.6269, allocations: 0 / 0.5776 GB, free: 8.461 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-05/0.6269, allocations: 25.69 kB / 0.5777 GB, free: 8.438 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.627, allocations: 12 kB / 0.5777 GB, free: 8.426 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.6281, allocations: 495.5 kB / 0.5781 GB, free: 7.941 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.003779/0.6319, allocations: 2.021 MB / 0.5801 GB, free: 5.848 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007893/0.6327, allocations: 290.6 kB / 0.5804 GB, free: 5.555 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003133/0.633, allocations: 148.8 kB / 0.5805 GB, free: 5.406 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/0.6341, allocations: 417.9 kB / 0.5809 GB, free: 5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.111e-05/0.6342, allocations: 38.56 kB / 0.581 GB, free: 4.953 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.425e-06/0.6342, allocations: 0 / 0.581 GB, free: 4.953 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.002013/0.6362, allocations: 0.5993 MB / 0.5816 GB, free: 4.344 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/0.6363, allocations: 170.1 kB / 0.5817 GB, free: 4.141 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006643/0.637, allocations: 437.7 kB / 0.5821 GB, free: 3.703 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.487e-05/0.6371, allocations: 37.7 kB / 0.5822 GB, free: 3.66 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003551/0.6374, allocations: 308.2 kB / 0.5825 GB, free: 3.352 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.6376, allocations: 126.9 kB / 0.5826 GB, free: 3.227 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/0.6378, allocations: 114.1 kB / 0.5827 GB, free: 3.105 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002277/0.6381, allocations: 354.8 kB / 0.583 GB, free: 2.75 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/0.6384, allocations: 140.9 kB / 0.5832 GB, free: 2.613 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006131/0.639, allocations: 417.2 kB / 0.5836 GB, free: 2.105 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009058/0.6399, allocations: 474.5 kB / 0.584 GB, free: 1.578 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.6399, allocations: 0 / 0.584 GB, free: 1.578 MB / 462.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001267/0.6412, allocations: 0.5561 MB / 0.5846 GB, free: 1.012 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.6412, allocations: 8 kB / 0.5846 GB, free: 1.004 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.6412, allocations: 4 kB / 0.5846 GB, free: 1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001739/0.643, allocations: 241.2 kB / 0.5848 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004439/0.6434, allocations: 115.8 kB / 0.5849 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007468/0.6442, allocations: 0.5974 MB / 0.5855 GB, free: 28 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005721/0.6447, allocations: 51.7 kB / 0.5855 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/0.6449, allocations: 51.98 kB / 0.5856 GB, free: 15.92 MB / 478.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.0004885/0.6453, allocations: 185.7 kB / 0.5858 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002191/0.6456, allocations: 55.66 kB / 0.5858 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001766/0.6473, allocations: 0.7236 MB / 0.5865 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.6473, allocations: 15.92 kB / 0.5865 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.6473, allocations: 0 / 0.5865 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.6474, allocations: 3.984 kB / 0.5865 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.6489, allocations: 0.8523 MB / 0.5874 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.6489, allocations: 0 / 0.5874 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.6491, allocations: 51.91 kB / 0.5874 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003392/0.6525, allocations: 440.4 kB / 0.5878 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.094e-05/0.6525, allocations: 20 kB / 0.5879 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005313/0.6531, allocations: 0.5875 MB / 0.5884 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.6531, allocations: 3.984 kB / 0.5884 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008612/0.6539, allocations: 494.8 kB / 0.5889 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.6541, allocations: 51.64 kB / 0.589 GB, free: 12.31 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.6542, allocations: 19.83 kB / 0.589 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003298/0.6545, allocations: 15.98 kB / 0.589 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.363e-05/0.6546, allocations: 24.03 kB / 0.589 GB, free: 12.25 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.491e-05/0.6546, allocations: 23.98 kB / 0.589 GB, free: 12.23 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005227/0.6551, allocations: 346.8 kB / 0.5894 GB, free: 11.89 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6551, allocations: 3.938 kB / 0.5894 GB, free: 11.88 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001519/0.6567, allocations: 390.9 kB / 0.5898 GB, free: 11.5 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.001415/0.6581, allocations: 0.5489 MB / 0.5903 GB, free: 10.95 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009006/0.659, allocations: 360.7 kB / 0.5906 GB, free: 10.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.659, allocations: 0 / 0.5906 GB, free: 10.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000355/0.6593, allocations: 143.8 kB / 0.5908 GB, free: 10.46 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.661, allocations: 310.5 kB / 0.5911 GB, free: 10.16 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.6627, allocations: 0.8842 MB / 0.5919 GB, free: 9.227 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.663, allocations: 271.5 kB / 0.5922 GB, free: 8.934 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000705/0.6637, allocations: 204.5 kB / 0.5924 GB, free: 8.73 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.6639, allocations: 76.47 kB / 0.5925 GB, free: 8.652 MB / 478.1 MB Notification: Performance of SimCode: time 5.62e-07/0.6639, allocations: 3.938 kB / 0.5925 GB, free: 8.648 MB / 478.1 MB Notification: Performance of Templates: time 0.03456/0.6985, allocations: 18.06 MB / 0.6101 GB, free: 6.66 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Bend/Bend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.952245272696018]