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.001761/0.001761, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.00236/0.00236, allocations: 213.9 kB / 24.48 MB, free: 3.836 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.469/1.469, allocations: 230.5 MB / 258.1 MB, free: 7.805 MB / 206.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.2321/0.2321, allocations: 46.96 MB / 361.6 MB, free: 4.02 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.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 0.002379/0.002379, allocations: 79.86 kB / 0.4974 GB, free: 7.055 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3236, allocations: 66.07 MB / 0.5619 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.2061/0.5297, allocations: 160 MB / 0.7182 GB, free: 3.371 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008728/0.5385, allocations: 4.618 MB / 0.7227 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009113/0.5394, allocations: 27.75 kB / 0.7227 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.5407, allocations: 325.8 kB / 0.723 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006958/0.5477, allocations: 2.17 MB / 0.7251 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002969/0.5507, allocations: 0.9409 MB / 0.726 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002774/0.5534, allocations: 1.702 MB / 0.7277 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009869/0.5544, allocations: 362.6 kB / 0.728 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002403/0.5568, allocations: 0.8955 MB / 0.7289 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.558, allocations: 0.494 MB / 0.7294 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002186/0.5582, allocations: 52 kB / 0.7295 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003675/0.5619, allocations: 1.275 MB / 0.7307 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003442/0.5622, allocations: 179.3 kB / 0.7309 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007394/0.5629, allocations: 314.8 kB / 0.7312 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004329/0.5673, allocations: 1.807 MB / 0.7329 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5673, allocations: 0 / 0.7329 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5673, allocations: 0 / 0.7329 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.418e-05/0.5673, allocations: 0 / 0.7329 GB, free: 4.195 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.002915/0.5702, allocations: 1.087 MB / 0.734 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.5703, allocations: 8.031 kB / 0.734 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/0.5717, allocations: 163.5 kB / 0.7342 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.5729, allocations: 449.5 kB / 0.7346 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.173e-05/0.5729, allocations: 33 kB / 0.7346 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.573, allocations: 40 kB / 0.7347 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.5748, allocations: 1.045 MB / 0.7357 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.5748, allocations: 3.938 kB / 0.7357 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.62e-05/0.5749, allocations: 28 kB / 0.7357 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.5749, allocations: 12 kB / 0.7357 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.5761, allocations: 491.6 kB / 0.7362 GB, free: 0.6602 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.2727/0.8488, allocations: 1.999 MB / 0.7381 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008851/0.8496, allocations: 295.4 kB / 0.7384 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003112/0.85, allocations: 141.9 kB / 0.7386 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002659/0.8502, allocations: 51.31 kB / 0.7386 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.8503, allocations: 39.31 kB / 0.7386 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.785e-06/0.8503, allocations: 4.469 kB / 0.7387 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.001897/0.8522, allocations: 0.6185 MB / 0.7393 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.8522, allocations: 159.1 kB / 0.7394 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005553/0.8528, allocations: 436.2 kB / 0.7398 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.778e-05/0.8528, allocations: 32.02 kB / 0.7399 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.853, allocations: 317.8 kB / 0.7402 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.945e-05/0.8531, allocations: 131.8 kB / 0.7403 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/0.8533, allocations: 121.5 kB / 0.7404 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.8534, allocations: 358 kB / 0.7407 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.8536, allocations: 140 kB / 0.7409 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/0.854, allocations: 422.9 kB / 0.7413 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005714/0.8546, allocations: 470.3 kB / 0.7417 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.8546, allocations: 3.938 kB / 0.7417 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008302/0.8554, allocations: 0.5634 MB / 0.7423 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.8554, allocations: 7.641 kB / 0.7423 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.8554, allocations: 3.812 kB / 0.7423 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001482/0.8569, allocations: 243.5 kB / 0.7425 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003802/0.8573, allocations: 128.1 kB / 0.7426 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003376/0.8576, allocations: 0.5772 MB / 0.7432 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/0.858, allocations: 45.8 kB / 0.7433 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-05/0.8581, allocations: 55.64 kB / 0.7433 GB, free: 171.6 MB / 0.5606 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.0002475/0.8583, allocations: 194.2 kB / 0.7435 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.8584, allocations: 58.02 kB / 0.7435 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/0.8599, allocations: 1.097 MB / 0.7446 GB, free: 171 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.8599, allocations: 4 kB / 0.7446 GB, free: 171 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.86, allocations: 0 / 0.7446 GB, free: 171 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.86, allocations: 3.891 kB / 0.7446 GB, free: 171 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.861, allocations: 0.8479 MB / 0.7455 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.861, allocations: 0 / 0.7455 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.8612, allocations: 54.45 kB / 0.7455 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00297/0.8642, allocations: 434.9 kB / 0.7459 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.845e-05/0.8642, allocations: 17.09 kB / 0.7459 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003152/0.8646, allocations: 0.6025 MB / 0.7465 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.8646, allocations: 4 kB / 0.7465 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006733/0.8652, allocations: 486.2 kB / 0.747 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.8653, allocations: 63.98 kB / 0.7471 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.276e-05/0.8654, allocations: 14.06 kB / 0.7471 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003156/0.8657, allocations: 15.98 kB / 0.7471 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/0.8658, allocations: 23.97 kB / 0.7471 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.8658, allocations: 21.7 kB / 0.7471 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003429/0.8662, allocations: 346.8 kB / 0.7475 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.8662, allocations: 1.75 kB / 0.7475 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00107/0.8672, allocations: 361.2 kB / 0.7478 GB, free: 167.8 MB / 0.5606 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.0008531/0.8681, allocations: 443.4 kB / 0.7482 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007178/0.8688, allocations: 358 kB / 0.7486 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.8688, allocations: 7.938 kB / 0.7486 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002572/0.8691, allocations: 138.2 kB / 0.7487 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.8704, allocations: 316.1 kB / 0.749 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.8716, allocations: 0.9508 MB / 0.7499 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001686/0.8718, allocations: 267.5 kB / 0.7502 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003123/0.8721, allocations: 128.5 kB / 0.7503 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of SimCode: time 9.21e-07/0.8721, allocations: 0 / 0.7503 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.017/0.8891, allocations: 15.9 MB / 0.7658 GB, free: 149.4 MB / 0.5606 GB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Bend/Bend.csv","/var/lib/jenkins1/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: 11.221366729121655]