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.001365/0.001365, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.008464/0.008464, allocations: 160 kB / 24.7 MB, free: 9.441 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.9171/0.9171, allocations: 177 MB / 204.9 MB, free: 5.719 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.249/0.249, allocations: 34.24 MB / 295.6 MB, free: 0.6758 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.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.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_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 443.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.368e-05, allocations: 2.281 kB / 443.4 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.2892/0.2893, allocations: 159.9 MB / 0.5892 GB, free: 188 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004874/0.2941, allocations: 4.631 MB / 0.5937 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002381/0.2944, allocations: 23.75 kB / 0.5937 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000604/0.295, allocations: 333.6 kB / 0.5941 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00294/0.2979, allocations: 2.207 MB / 0.5962 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.2993, allocations: 0.9648 MB / 0.5971 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00107/0.3004, allocations: 1.701 MB / 0.5988 GB, free: 6.328 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003589/0.3007, allocations: 366.5 kB / 0.5992 GB, free: 5.969 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.302, allocations: 1.11 MB / 0.6002 GB, free: 4.855 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003676/0.3024, allocations: 454.7 kB / 0.6007 GB, free: 4.41 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.765e-05/0.3024, allocations: 56 kB / 0.6007 GB, free: 4.355 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.3038, allocations: 1.279 MB / 0.602 GB, free: 3.074 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.3039, allocations: 179.3 kB / 0.6022 GB, free: 2.898 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.3041, allocations: 279.4 kB / 0.6024 GB, free: 2.625 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001507/0.3056, allocations: 1.924 MB / 0.6043 GB, free: 0.6953 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3056, allocations: 0.8438 kB / 0.6043 GB, free: 0.6953 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3056, allocations: 0 / 0.6043 GB, free: 0.6953 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.3056, allocations: 0 / 0.6043 GB, free: 0.6953 MB / 0.4948 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.0012/0.3068, allocations: 1.084 MB / 0.6054 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.3068, allocations: 8.031 kB / 0.6054 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006114/0.3074, allocations: 163.5 kB / 0.6055 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005416/0.308, allocations: 445.5 kB / 0.6059 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.308, allocations: 35.69 kB / 0.606 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.35e-05/0.308, allocations: 40 kB / 0.606 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.3091, allocations: 1.051 MB / 0.607 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.3091, allocations: 3.938 kB / 0.607 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.243e-05/0.3091, allocations: 27.94 kB / 0.6071 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.3091, allocations: 12 kB / 0.6071 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00055/0.3097, allocations: 491.6 kB / 0.6076 GB, free: 13.15 MB / 0.5105 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.001559/0.3113, allocations: 1.997 MB / 0.6095 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.3117, allocations: 295.4 kB / 0.6098 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.3118, allocations: 140.8 kB / 0.6099 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001323/0.312, allocations: 59.94 kB / 0.61 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.312, allocations: 38.56 kB / 0.61 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 1.533e-06/0.312, allocations: 0 / 0.61 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.0009132/0.3129, allocations: 0.6156 MB / 0.6106 GB, free: 9.926 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.313, allocations: 162.2 kB / 0.6108 GB, free: 9.73 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000298/0.3133, allocations: 447.3 kB / 0.6112 GB, free: 9.285 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.3133, allocations: 33.7 kB / 0.6112 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.3134, allocations: 308.2 kB / 0.6115 GB, free: 8.941 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.554e-05/0.3135, allocations: 134.8 kB / 0.6117 GB, free: 8.809 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.3136, allocations: 110.2 kB / 0.6118 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.94e-05/0.3137, allocations: 358.8 kB / 0.6121 GB, free: 8.336 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.3138, allocations: 140.9 kB / 0.6122 GB, free: 8.199 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.3141, allocations: 422.4 kB / 0.6126 GB, free: 7.684 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004216/0.3145, allocations: 474.8 kB / 0.6131 GB, free: 7.156 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3145, allocations: 0 / 0.6131 GB, free: 7.156 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005877/0.3151, allocations: 0.5676 MB / 0.6136 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.3151, allocations: 4 kB / 0.6136 GB, free: 6.574 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3151, allocations: 8 kB / 0.6137 GB, free: 6.566 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009786/0.3161, allocations: 241.1 kB / 0.6139 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.3163, allocations: 119.8 kB / 0.614 GB, free: 6.211 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002894/0.3166, allocations: 0.5875 MB / 0.6146 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.3168, allocations: 51.59 kB / 0.6146 GB, free: 5.547 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.065e-05/0.3168, allocations: 55.94 kB / 0.6147 GB, free: 5.492 MB / 0.5105 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.0001582/0.317, allocations: 189.7 kB / 0.6149 GB, free: 5.297 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.54e-05/0.317, allocations: 59.61 kB / 0.6149 GB, free: 5.238 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.3181, allocations: 1.081 MB / 0.616 GB, free: 4.137 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3181, allocations: 4 kB / 0.616 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3181, allocations: 4.562 kB / 0.616 GB, free: 4.129 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3181, allocations: 3.984 kB / 0.616 GB, free: 4.125 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007458/0.3189, allocations: 0.8398 MB / 0.6168 GB, free: 3.227 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.3189, allocations: 4 kB / 0.6168 GB, free: 3.223 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.319, allocations: 58.34 kB / 0.6169 GB, free: 3.168 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001316/0.3203, allocations: 440.4 kB / 0.6173 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.3203, allocations: 12 kB / 0.6173 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002649/0.3206, allocations: 0.5997 MB / 0.6179 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3206, allocations: 3.938 kB / 0.6179 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004125/0.321, allocations: 489.3 kB / 0.6183 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.321, allocations: 55.53 kB / 0.6184 GB, free: 1.523 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.475e-05/0.3211, allocations: 15.88 kB / 0.6184 GB, free: 1.508 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.3212, allocations: 12 kB / 0.6184 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.3213, allocations: 27.95 kB / 0.6185 GB, free: 1.469 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.3213, allocations: 24.05 kB / 0.6185 GB, free: 1.445 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002551/0.3215, allocations: 342.9 kB / 0.6188 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3215, allocations: 4 kB / 0.6188 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000584/0.3221, allocations: 370.9 kB / 0.6192 GB, free: 0.7422 MB / 0.5105 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.000616/0.3227, allocations: 458.4 kB / 0.6196 GB, free: 296 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004809/0.3232, allocations: 351.6 kB / 0.6199 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3232, allocations: 4 kB / 0.6199 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.3234, allocations: 141.1 kB / 0.6201 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007911/0.3242, allocations: 328.6 kB / 0.6204 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.3255, allocations: 0.9214 MB / 0.6213 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.3257, allocations: 267.6 kB / 0.6215 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.3259, allocations: 132.4 kB / 0.6217 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of SimCode: time 8.21e-07/0.3259, allocations: 0 / 0.6217 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of Templates: time 0.1625/0.4884, allocations: 15.96 MB / 0.6372 GB, free: 165.9 MB / 0.5261 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.964117921888828]