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.00155/0.00155, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.001606/0.001606, allocations: 216.2 kB / 23.73 MB, free: 4.406 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.543/1.543, allocations: 230.5 MB / 257.4 MB, free: 7.773 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.2507/0.2507, allocations: 46.94 MB / 360.8 MB, free: 3.93 MB / 286.1 MB " [Timeout remaining time 179] 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.002334/0.002334, allocations: 79.88 kB / 0.4966 GB, free: 7.043 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4118, allocations: 66.08 MB / 0.5612 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.2286/0.6404, allocations: 160 MB / 0.7174 GB, free: 3.371 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009672/0.6501, allocations: 4.611 MB / 0.7219 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.6511, allocations: 27.75 kB / 0.722 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.6526, allocations: 329.8 kB / 0.7223 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007119/0.6597, allocations: 2.168 MB / 0.7244 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00288/0.6626, allocations: 0.9388 MB / 0.7253 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003038/0.6656, allocations: 1.691 MB / 0.727 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00142/0.6671, allocations: 374.5 kB / 0.7273 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003521/0.6706, allocations: 0.8838 MB / 0.7282 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001639/0.6722, allocations: 0.5058 MB / 0.7287 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002767/0.6725, allocations: 52 kB / 0.7287 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003806/0.6763, allocations: 1.267 MB / 0.73 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003272/0.6766, allocations: 179.3 kB / 0.7301 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006641/0.6773, allocations: 318.8 kB / 0.7304 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004247/0.6815, allocations: 1.807 MB / 0.7322 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.6815, allocations: 0 / 0.7322 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6815, allocations: 0 / 0.7322 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.336e-05/0.6816, allocations: 0 / 0.7322 GB, free: 4.203 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.002719/0.6843, allocations: 1.091 MB / 0.7333 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.569e-05/0.6844, allocations: 12.03 kB / 0.7333 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/0.6858, allocations: 163.5 kB / 0.7334 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.6869, allocations: 441.5 kB / 0.7339 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.792e-05/0.6869, allocations: 33 kB / 0.7339 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.824e-05/0.687, allocations: 40 kB / 0.7339 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.6886, allocations: 1.049 MB / 0.7349 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.6886, allocations: 3.984 kB / 0.735 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.529e-05/0.6887, allocations: 24 kB / 0.735 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.6887, allocations: 11.98 kB / 0.735 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.6898, allocations: 499.5 kB / 0.7355 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.3372/1.027, allocations: 1.989 MB / 0.7374 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009391/1.028, allocations: 298.7 kB / 0.7377 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003674/1.028, allocations: 143 kB / 0.7378 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002986/1.029, allocations: 58.95 kB / 0.7379 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/1.029, allocations: 38.44 kB / 0.7379 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.505e-06/1.029, allocations: 0 / 0.7379 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.00205/1.031, allocations: 0.6149 MB / 0.7385 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/1.031, allocations: 167.4 kB / 0.7387 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005978/1.031, allocations: 436 kB / 0.7391 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.242e-05/1.031, allocations: 37.17 kB / 0.7391 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/1.032, allocations: 312.6 kB / 0.7394 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/1.032, allocations: 131.5 kB / 0.7396 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/1.032, allocations: 119.6 kB / 0.7397 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.032, allocations: 356.8 kB / 0.74 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/1.032, allocations: 144 kB / 0.7401 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004891/1.033, allocations: 420.2 kB / 0.7405 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006886/1.034, allocations: 469.2 kB / 0.741 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/1.034, allocations: 4.672 kB / 0.741 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001125/1.035, allocations: 0.5586 MB / 0.7415 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/1.035, allocations: 16.64 kB / 0.7416 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/1.035, allocations: 8.5 kB / 0.7416 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001579/1.036, allocations: 243.8 kB / 0.7418 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/1.037, allocations: 112.4 kB / 0.7419 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005086/1.037, allocations: 0.5831 MB / 0.7425 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005046/1.038, allocations: 47.22 kB / 0.7425 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/1.038, allocations: 53.03 kB / 0.7426 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.0003806/1.038, allocations: 196.2 kB / 0.7428 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/1.038, allocations: 54.64 kB / 0.7428 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/1.04, allocations: 1.097 MB / 0.7439 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/1.04, allocations: 0 / 0.7439 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.04, allocations: 4 kB / 0.7439 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.04, allocations: 0 / 0.7439 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/1.042, allocations: 0.8539 MB / 0.7447 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/1.042, allocations: 4 kB / 0.7447 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/1.042, allocations: 49.89 kB / 0.7448 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00283/1.045, allocations: 439.8 kB / 0.7452 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/1.045, allocations: 12.98 kB / 0.7452 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003052/1.045, allocations: 0.5913 MB / 0.7458 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.045, allocations: 6.562 kB / 0.7458 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006564/1.046, allocations: 485.9 kB / 0.7463 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/1.046, allocations: 55.91 kB / 0.7463 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/1.046, allocations: 18.19 kB / 0.7463 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003357/1.046, allocations: 16 kB / 0.7463 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/1.046, allocations: 25.86 kB / 0.7464 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-05/1.046, allocations: 19.98 kB / 0.7464 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003607/1.047, allocations: 346.9 kB / 0.7467 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/1.047, allocations: 0 / 0.7467 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001062/1.048, allocations: 366.9 kB / 0.7471 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.001141/1.049, allocations: 436.7 kB / 0.7475 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007698/1.05, allocations: 360.6 kB / 0.7478 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/1.05, allocations: 0 / 0.7478 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002698/1.05, allocations: 143.8 kB / 0.748 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.001448/1.051, allocations: 317.2 kB / 0.7483 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/1.053, allocations: 0.9268 MB / 0.7492 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/1.053, allocations: 267.5 kB / 0.7494 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009078/1.054, allocations: 0.5633 MB / 0.75 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/1.054, allocations: 91.39 kB / 0.7501 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of SimCode: time 6.82e-07/1.054, allocations: 0 / 0.7501 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.02329/1.077, allocations: 18.42 MB / 0.768 GB, free: 146.6 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/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.668342888355255]