Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.001134/0.001134, allocations: 84.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.001/0.001, allocations: 159.7 kB / 24.91 MB, free: 8.711 MB / 18.57 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 0.9831/0.9831, allocations: 177 MB / 205.2 MB, free: 5.438 MB / 186.7 MB " [Timeout remaining time 179] 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.2609/0.2609, allocations: 34.87 MB / 296.6 MB, free: 0.5078 MB / 266.7 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.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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 326 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.324e-05/1.453e-05, allocations: 2.312 kB / 326 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.3228/0.3228, allocations: 148.5 MB / 474.5 MB, free: 16.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005895/0.3287, allocations: 4.194 MB / 478.7 MB, free: 16.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003718/0.3291, allocations: 28.05 kB / 478.7 MB, free: 16.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004553/0.3295, allocations: 196.4 kB / 478.9 MB, free: 16.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002764/0.3323, allocations: 1.666 MB / 480.6 MB, free: 15.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.3333, allocations: 0.7531 MB / 481.3 MB, free: 15.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001422/0.3347, allocations: 1.729 MB / 483.1 MB, free: 15.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005398/0.3353, allocations: 395 kB / 483.4 MB, free: 15.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.3364, allocations: 0.971 MB / 484.4 MB, free: 15.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005975/0.337, allocations: 0.5081 MB / 484.9 MB, free: 15.56 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.098e-05/0.3371, allocations: 54.72 kB / 485 MB, free: 15.56 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001559/0.3387, allocations: 1.192 MB / 486.2 MB, free: 15.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.3388, allocations: 179.2 kB / 486.3 MB, free: 15.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002123/0.339, allocations: 272.8 kB / 486.6 MB, free: 15.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.3406, allocations: 1.522 MB / 488.1 MB, free: 15.31 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3406, allocations: 4 kB / 488.1 MB, free: 15.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3406, allocations: 0 / 488.1 MB, free: 15.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.3406, allocations: 0 / 488.1 MB, free: 15.3 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.001147/0.3418, allocations: 1.027 MB / 489.2 MB, free: 14.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.3418, allocations: 8.844 kB / 489.2 MB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007459/0.3425, allocations: 260.7 kB / 489.4 MB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004088/0.3429, allocations: 387.1 kB / 489.8 MB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.343, allocations: 41.47 kB / 489.8 MB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.942e-05/0.343, allocations: 46.44 kB / 489.9 MB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005488/0.3436, allocations: 0.8856 MB / 490.8 MB, free: 13.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.3436, allocations: 0 / 490.8 MB, free: 13.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.732e-05/0.3436, allocations: 25.53 kB / 490.8 MB, free: 13.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.3436, allocations: 10.69 kB / 490.8 MB, free: 13.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002776/0.3439, allocations: 230.1 kB / 491 MB, free: 13.8 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.001228/0.3451, allocations: 1.674 MB / 492.7 MB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.3454, allocations: 178.4 kB / 492.9 MB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.074e-05/0.3455, allocations: 108.6 kB / 493 MB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001683/0.3456, allocations: 92.7 kB / 493.1 MB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.3457, allocations: 42.78 kB / 493.1 MB, free: 12.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.493e-06/0.3457, allocations: 0 / 493.1 MB, free: 12.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0005942/0.3463, allocations: 360.6 kB / 493.5 MB, free: 12.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.3463, allocations: 165.1 kB / 493.6 MB, free: 12.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.3465, allocations: 381.4 kB / 494 MB, free: 12.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.3465, allocations: 35.11 kB / 494 MB, free: 12.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.775e-05/0.3466, allocations: 267.5 kB / 494.3 MB, free: 12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.237e-05/0.3467, allocations: 124.2 kB / 494.4 MB, free: 11.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.966e-05/0.3468, allocations: 103.5 kB / 494.5 MB, free: 11.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.178e-05/0.3468, allocations: 362.1 kB / 494.9 MB, free: 11.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.989e-05/0.3469, allocations: 54.81 kB / 494.9 MB, free: 11.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.347, allocations: 336.9 kB / 495.3 MB, free: 11.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.3473, allocations: 303.5 kB / 495.6 MB, free: 11.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.3473, allocations: 2.969 kB / 495.6 MB, free: 11.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003204/0.3476, allocations: 317.6 kB / 495.9 MB, free: 11.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.3476, allocations: 5.875 kB / 495.9 MB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3476, allocations: 5.031 kB / 495.9 MB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005559/0.3482, allocations: 195.8 kB / 496.1 MB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.3484, allocations: 118.5 kB / 496.2 MB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001729/0.3485, allocations: 0.5477 MB / 496.7 MB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.3487, allocations: 56.89 kB / 496.8 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.783e-05/0.3487, allocations: 49.75 kB / 496.8 MB, free: 10.46 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.0001009/0.3488, allocations: 143.3 kB / 497 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.108e-05/0.3489, allocations: 44.41 kB / 497 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000846/0.3497, allocations: 0.9128 MB / 497.9 MB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3497, allocations: 5.562 kB / 497.9 MB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.3497, allocations: 0 / 497.9 MB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.3497, allocations: 3.938 kB / 497.9 MB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004397/0.3502, allocations: 0.5452 MB / 498.5 MB, free: 9.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3502, allocations: 0 / 498.5 MB, free: 9.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.3503, allocations: 56 kB / 498.5 MB, free: 9.906 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009732/0.3513, allocations: 312.2 kB / 498.8 MB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.3513, allocations: 16.06 kB / 498.9 MB, free: 9.871 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001375/0.3514, allocations: 0.5437 MB / 499.4 MB, free: 9.344 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3514, allocations: 5.781 kB / 499.4 MB, free: 9.344 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.3516, allocations: 333.8 kB / 499.7 MB, free: 9.109 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.3516, allocations: 49.42 kB / 499.8 MB, free: 9.074 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.3517, allocations: 11.66 kB / 499.8 MB, free: 9.074 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.3518, allocations: 17.7 kB / 499.8 MB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.3519, allocations: 29.84 kB / 499.8 MB, free: 9.051 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.3519, allocations: 17.19 kB / 499.9 MB, free: 9.043 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001265/0.352, allocations: 191.5 kB / 0.4883 GB, free: 8.984 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.352, allocations: 0 / 0.4883 GB, free: 8.984 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005147/0.3525, allocations: 358.5 kB / 0.4887 GB, free: 8.906 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.0005211/0.353, allocations: 388.9 kB / 0.489 GB, free: 8.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002996/0.3533, allocations: 223.5 kB / 0.4892 GB, free: 8.684 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.3534, allocations: 5.562 kB / 0.4893 GB, free: 8.684 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.576e-05/0.3534, allocations: 94.5 kB / 0.4893 GB, free: 8.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006708/0.3541, allocations: 329.7 kB / 0.4897 GB, free: 8.539 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009717/0.3551, allocations: 0.884 MB / 0.4905 GB, free: 7.969 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.627e-05/0.3551, allocations: 129.8 kB / 0.4906 GB, free: 7.863 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005512/0.3557, allocations: 0.5433 MB / 0.4912 GB, free: 7.609 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000513/0.3562, allocations: 339.3 kB / 0.4915 GB, free: 7.473 MB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/0.3562, allocations: 0 / 0.4915 GB, free: 7.473 MB / 410.7 MB Notification: Performance of Templates: time 0.01867/0.3749, allocations: 18.91 MB / 0.51 GB, free: 9.449 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 3.907052371185273]