Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001153/0.001153, allocations: 80.92 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001357/0.001357, allocations: 172.5 kB / 24.91 MB, free: 9.195 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.001/1.001, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2868/0.2868, allocations: 34.27 MB / 296.1 MB, free: 0.7383 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.[0-9,]+..m_flow|IN_p.ports.[0-9,]+..p|IN_p.ports.[0-9,]+..h_outflow|OUT_dp.ports.[0-9,]+..m_flow|OUT_dp.ports.[0-9,]+..p|OUT_dp.ports.[0-9,]+..h_outflow|OUT_mflow.ports.[0-9,]+..m_flow|OUT_mflow.ports.[0-9,]+..p|OUT_mflow.ports.[0-9,]+..h_outflow|IN_mflow.ports.[0-9,]+..m_flow|IN_mflow.ports.[0-9,]+..p|IN_mflow.ports.[0-9,]+..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_4.1.0_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.[0-9,]+..m_flow|IN_p.ports.[0-9,]+..p|IN_p.ports.[0-9,]+..h_outflow|OUT_dp.ports.[0-9,]+..m_flow|OUT_dp.ports.[0-9,]+..p|OUT_dp.ports.[0-9,]+..h_outflow|OUT_mflow.ports.[0-9,]+..m_flow|OUT_mflow.ports.[0-9,]+..p|OUT_mflow.ports.[0-9,]+..h_outflow|IN_mflow.ports.[0-9,]+..m_flow|IN_mflow.ports.[0-9,]+..p|IN_mflow.ports.[0-9,]+..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_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 325.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.258e-05/1.366e-05, allocations: 2.312 kB / 325.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.3236/0.3236, allocations: 148.5 MB / 473.7 MB, free: 16.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005627/0.3292, allocations: 4.2 MB / 477.9 MB, free: 16.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007402/0.33, allocations: 25.94 kB / 477.9 MB, free: 16.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000579/0.3305, allocations: 194 kB / 478.1 MB, free: 16.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004073/0.3346, allocations: 1.713 MB / 479.8 MB, free: 16.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.3362, allocations: 0.7599 MB / 480.6 MB, free: 16.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002127/0.3383, allocations: 1.721 MB / 482.3 MB, free: 15.87 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006633/0.339, allocations: 390.1 kB / 482.7 MB, free: 15.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/0.3406, allocations: 0.9849 MB / 483.7 MB, free: 15.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008189/0.3414, allocations: 0.5078 MB / 484.2 MB, free: 15.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001556/0.3416, allocations: 55.81 kB / 484.3 MB, free: 15.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0024/0.344, allocations: 1.129 MB / 485.4 MB, free: 15.65 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002051/0.3442, allocations: 181.3 kB / 485.6 MB, free: 15.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003656/0.3445, allocations: 270.9 kB / 485.8 MB, free: 15.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002836/0.3474, allocations: 1.527 MB / 487.4 MB, free: 15.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/0.3474, allocations: 2.578 kB / 487.4 MB, free: 15.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3474, allocations: 0 / 487.4 MB, free: 15.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.782e-05/0.3474, allocations: 0 / 487.4 MB, free: 15.45 MB / 410.7 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.001656/0.3491, allocations: 1.025 MB / 488.4 MB, free: 14.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3491, allocations: 8.875 kB / 488.4 MB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008415/0.3499, allocations: 262.6 kB / 488.6 MB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004787/0.3504, allocations: 386 kB / 489 MB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.3504, allocations: 35.44 kB / 489.1 MB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.749e-05/0.3505, allocations: 52.72 kB / 489.1 MB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005839/0.3511, allocations: 0.8888 MB / 490 MB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.3511, allocations: 9.719 kB / 490 MB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.945e-05/0.3511, allocations: 18.5 kB / 490 MB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.3512, allocations: 11.25 kB / 490 MB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.3514, allocations: 232.2 kB / 490.3 MB, free: 13.93 MB / 410.7 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.001439/0.3529, allocations: 1.677 MB / 491.9 MB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.3532, allocations: 168.8 kB / 492.1 MB, free: 12.83 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.04e-05/0.3532, allocations: 107.6 kB / 492.2 MB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000215/0.3534, allocations: 99.61 kB / 492.3 MB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.3535, allocations: 40.34 kB / 492.3 MB, free: 12.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.645e-06/0.3535, allocations: 0 / 492.3 MB, free: 12.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007122/0.3542, allocations: 360.5 kB / 492.7 MB, free: 12.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.3542, allocations: 157 kB / 492.9 MB, free: 12.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.3544, allocations: 390.1 kB / 493.2 MB, free: 12.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.3545, allocations: 41 kB / 493.3 MB, free: 12.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.3546, allocations: 265.4 kB / 493.5 MB, free: 12.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.989e-05/0.3546, allocations: 127.4 kB / 493.7 MB, free: 12.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.3548, allocations: 107.2 kB / 493.8 MB, free: 12.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.732e-05/0.3548, allocations: 359.8 kB / 494.1 MB, free: 11.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.847e-05/0.3549, allocations: 51.34 kB / 494.2 MB, free: 11.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.3551, allocations: 333.1 kB / 494.5 MB, free: 11.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.3553, allocations: 304.1 kB / 494.8 MB, free: 11.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3553, allocations: 0 / 494.8 MB, free: 11.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003466/0.3557, allocations: 315.5 kB / 495.1 MB, free: 11.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3557, allocations: 7.594 kB / 495.1 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3557, allocations: 5.25 kB / 495.1 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006069/0.3563, allocations: 205.7 kB / 495.3 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.3565, allocations: 105.6 kB / 495.4 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002014/0.3567, allocations: 0.5446 MB / 496 MB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.3569, allocations: 49.3 kB / 496 MB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.459e-05/0.3569, allocations: 52.44 kB / 496.1 MB, free: 10.59 MB / 410.7 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.0001182/0.357, allocations: 148.7 kB / 496.2 MB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-05/0.3571, allocations: 47.16 kB / 496.2 MB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009221/0.358, allocations: 0.9093 MB / 497.2 MB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.358, allocations: 5.656 kB / 497.2 MB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.358, allocations: 0 / 497.2 MB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.358, allocations: 5.438 kB / 497.2 MB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005381/0.3586, allocations: 0.539 MB / 497.7 MB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3586, allocations: 7.031 kB / 497.7 MB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.3587, allocations: 51.72 kB / 497.8 MB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001005/0.3597, allocations: 309.2 kB / 498.1 MB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.3597, allocations: 17.38 kB / 498.1 MB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001729/0.3599, allocations: 0.5503 MB / 498.6 MB, free: 9.492 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3599, allocations: 6.375 kB / 498.6 MB, free: 9.488 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.3601, allocations: 332.8 kB / 499 MB, free: 9.285 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.3601, allocations: 47.8 kB / 499 MB, free: 9.254 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.793e-05/0.3602, allocations: 9.375 kB / 499 MB, free: 9.254 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.3603, allocations: 14.48 kB / 499 MB, free: 9.254 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.3604, allocations: 30.77 kB / 499.1 MB, free: 9.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.3604, allocations: 21 kB / 499.1 MB, free: 9.242 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001421/0.3605, allocations: 184.9 kB / 499.3 MB, free: 9.219 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3605, allocations: 0 / 499.3 MB, free: 9.219 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008578/0.3614, allocations: 362.6 kB / 499.6 MB, free: 9.145 MB / 410.7 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.0006339/0.362, allocations: 389.4 kB / 500 MB, free: 8.965 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003573/0.3624, allocations: 228.8 kB / 0.4885 GB, free: 8.918 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/0.3624, allocations: 7.906 kB / 0.4885 GB, free: 8.918 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.371e-05/0.3625, allocations: 88.22 kB / 0.4886 GB, free: 8.895 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007553/0.3633, allocations: 336.3 kB / 0.4889 GB, free: 8.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.3644, allocations: 0.8715 MB / 0.4898 GB, free: 8.215 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.6e-05/0.3645, allocations: 137.6 kB / 0.4899 GB, free: 8.102 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006459/0.3651, allocations: 0.5455 MB / 0.4904 GB, free: 7.848 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005344/0.3657, allocations: 336.4 kB / 0.4907 GB, free: 7.707 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3657, allocations: 0 / 0.4907 GB, free: 7.707 MB / 410.7 MB Notification: Performance of Templates: time 0.02079/0.3865, allocations: 18.91 MB / 0.5092 GB, free: 9.781 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Bend/Bend.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.058904280886054]