Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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: 106.5 kB / 21.23 MB, free: 0.6562 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.001612/0.001612, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.457/1.457, allocations: 230.3 MB / 258 MB, free: 8.25 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.2409/0.2409, allocations: 46.89 MB / 361.3 MB, free: 4.449 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.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003523/0.003523, allocations: 79.86 kB / 0.4971 GB, free: 7.586 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.4197, allocations: 66.02 MB / 0.5615 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.6/1.02, allocations: 186.8 MB / 0.744 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005489/1.025, allocations: 3.69 MB / 0.7476 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006859/1.026, allocations: 26.34 kB / 0.7476 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000876/1.027, allocations: 324.3 kB / 0.7479 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004466/1.031, allocations: 1.751 MB / 0.7497 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001996/1.033, allocations: 0.7355 MB / 0.7504 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002166/1.035, allocations: 1.545 MB / 0.7519 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004831/1.036, allocations: 363.5 kB / 0.7522 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009391/1.037, allocations: 0.5997 MB / 0.7528 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000611/1.037, allocations: 475.3 kB / 0.7533 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.461e-05/1.038, allocations: 50.47 kB / 0.7533 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003485/1.041, allocations: 1.964 MB / 0.7552 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001702/1.041, allocations: 162.7 kB / 0.7554 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003513/1.042, allocations: 340.7 kB / 0.7557 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002474/1.044, allocations: 1.831 MB / 0.7575 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.044, allocations: 0.7812 kB / 0.7575 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.413e-06/1.044, allocations: 2.781 kB / 0.7575 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.849e-06/1.044, allocations: 0.6562 kB / 0.7575 GB, free: 1.562 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001969/1.046, allocations: 1.027 MB / 0.7585 GB, free: 16.99 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/1.046, allocations: 12.33 kB / 0.7585 GB, free: 16.99 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009664/1.047, allocations: 146.9 kB / 0.7587 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007017/1.048, allocations: 426.4 kB / 0.7591 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/1.048, allocations: 28.03 kB / 0.7591 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.29e-05/1.048, allocations: 39.53 kB / 0.7591 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/1.049, allocations: 0.5849 MB / 0.7597 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/1.049, allocations: 6.656 kB / 0.7597 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.05e-05/1.049, allocations: 19.61 kB / 0.7597 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/1.049, allocations: 11.09 kB / 0.7597 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000832/1.05, allocations: 480.2 kB / 0.7602 GB, free: 16.64 MB / 0.5762 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.003548/1.053, allocations: 2.61 MB / 0.7627 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/1.054, allocations: 326.7 kB / 0.7631 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004479/1.055, allocations: 156.6 kB / 0.7632 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000276/1.055, allocations: 55.12 kB / 0.7633 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.917e-05/1.055, allocations: 40.91 kB / 0.7633 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.565e-06/1.055, allocations: 1.062 kB / 0.7633 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.002484/1.058, allocations: 0.64 MB / 0.7639 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/1.058, allocations: 139.4 kB / 0.7641 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006596/1.058, allocations: 472 kB / 0.7645 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.658e-05/1.058, allocations: 32.77 kB / 0.7645 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/1.059, allocations: 278.7 kB / 0.7648 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/1.059, allocations: 117.5 kB / 0.7649 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002281/1.059, allocations: 107.8 kB / 0.765 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002232/1.059, allocations: 365.1 kB / 0.7654 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004152/1.06, allocations: 143.9 kB / 0.7655 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005743/1.06, allocations: 283.4 kB / 0.7658 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009622/1.061, allocations: 437.9 kB / 0.7662 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/1.061, allocations: 0 / 0.7662 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001541/1.063, allocations: 0.5366 MB / 0.7667 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/1.063, allocations: 5.062 kB / 0.7667 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.063, allocations: 6.281 kB / 0.7667 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002186/1.065, allocations: 241.7 kB / 0.767 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005049/1.065, allocations: 100.3 kB / 0.7671 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006328/1.066, allocations: 0.5993 MB / 0.7676 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005435/1.067, allocations: 44.48 kB / 0.7677 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/1.067, allocations: 50.08 kB / 0.7677 GB, free: 12.96 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * 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.0004097/1.067, allocations: 180.2 kB / 0.7679 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/1.067, allocations: 56.33 kB / 0.768 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002569/1.07, allocations: 1.084 MB / 0.769 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/1.07, allocations: 5.031 kB / 0.769 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.07, allocations: 0.8438 kB / 0.769 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/1.07, allocations: 2.484 kB / 0.769 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/1.072, allocations: 0.9811 MB / 0.77 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/1.072, allocations: 0 / 0.77 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/1.072, allocations: 55.97 kB / 0.77 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004158/1.077, allocations: 429.8 kB / 0.7704 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.027e-05/1.077, allocations: 18.78 kB / 0.7705 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007291/1.077, allocations: 0.6027 MB / 0.771 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.077, allocations: 3.375 kB / 0.7711 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/1.079, allocations: 0.5132 MB / 0.7716 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002555/1.079, allocations: 56.41 kB / 0.7716 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/1.079, allocations: 18.77 kB / 0.7716 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/1.079, allocations: 25.31 kB / 0.7717 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.417e-05/1.08, allocations: 26.67 kB / 0.7717 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.95e-05/1.08, allocations: 18.06 kB / 0.7717 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007399/1.08, allocations: 401.2 kB / 0.7721 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/1.08, allocations: 1 kB / 0.7721 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001554/1.082, allocations: 341.9 kB / 0.7724 GB, free: 11.36 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * 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.001345/1.083, allocations: 430 kB / 0.7728 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001132/1.084, allocations: 362 kB / 0.7732 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.084, allocations: 0.9062 kB / 0.7732 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004897/1.085, allocations: 155.2 kB / 0.7733 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/1.087, allocations: 365 kB / 0.7737 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/1.09, allocations: 0.8963 MB / 0.7745 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000638/1.09, allocations: 0.8634 MB / 0.7754 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001467/1.092, allocations: 0.5478 MB / 0.7759 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003444/1.092, allocations: 93.75 kB / 0.776 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of SimCode: time 1.012e-06/1.092, allocations: 0 / 0.776 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of Templates: time 0.04026/1.132, allocations: 17.97 MB / 0.7935 GB, free: 5.102 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.724292195402086]