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.001361/0.001361, allocations: 121.5 kB / 18.46 MB, free: 4.461 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.001413/0.001413, allocations: 205.8 kB / 21.41 MB, free: 1.516 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.51/1.51, allocations: 227.4 MB / 251.6 MB, free: 48 kB / 190.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.2593/0.2593, allocations: 46.16 MB / 351.1 MB, free: 14.27 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.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.00231/0.00231, allocations: 81.84 kB / 490.2 MB, free: 28.1 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1489, allocations: 62.45 MB / 0.5397 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.603/0.752, allocations: 186 MB / 0.7213 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00688/0.7589, allocations: 3.666 MB / 0.7249 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000781/0.7597, allocations: 15.88 kB / 0.7249 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.7609, allocations: 313.9 kB / 0.7252 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005421/0.7664, allocations: 1.73 MB / 0.7269 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002115/0.7685, allocations: 0.7075 MB / 0.7276 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002243/0.7708, allocations: 1.532 MB / 0.7291 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006562/0.7715, allocations: 427.3 kB / 0.7295 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000958/0.7724, allocations: 0.58 MB / 0.73 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005998/0.773, allocations: 454.1 kB / 0.7305 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.465e-05/0.7731, allocations: 48 kB / 0.7305 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003713/0.7769, allocations: 1.926 MB / 0.7324 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.7771, allocations: 159.5 kB / 0.7326 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003899/0.7775, allocations: 338.5 kB / 0.7329 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002934/0.7804, allocations: 1.831 MB / 0.7347 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.7804, allocations: 4 kB / 0.7347 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.294e-06/0.7804, allocations: 0 / 0.7347 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.598e-05/0.7805, allocations: 0 / 0.7347 GB, free: 7.887 MB / 0.5294 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.002051/0.7825, allocations: 1.108 MB / 0.7358 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.7826, allocations: 8.031 kB / 0.7358 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009908/0.7836, allocations: 143.5 kB / 0.7359 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000846/0.7844, allocations: 492.8 kB / 0.7364 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.198e-05/0.7845, allocations: 33 kB / 0.7364 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.218e-05/0.7845, allocations: 43.94 kB / 0.7364 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.7857, allocations: 0.5906 MB / 0.737 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.7857, allocations: 3.938 kB / 0.737 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-05/0.7858, allocations: 23.94 kB / 0.737 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.7858, allocations: 8 kB / 0.7371 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009841/0.7868, allocations: 471.6 kB / 0.7375 GB, free: 4.855 MB / 0.5294 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.003272/0.7901, allocations: 2.648 MB / 0.7401 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007779/0.7909, allocations: 347.4 kB / 0.7404 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003234/0.7912, allocations: 165.3 kB / 0.7406 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004713/0.7917, allocations: 441.8 kB / 0.741 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.972e-05/0.7918, allocations: 38.84 kB / 0.741 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.723e-06/0.7918, allocations: 0 / 0.741 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001821/0.7936, allocations: 0.7189 MB / 0.7417 GB, free: 164 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.7937, allocations: 132.5 kB / 0.7419 GB, free: 0 / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006065/0.7943, allocations: 466 kB / 0.7423 GB, free: 15.54 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.775e-05/0.7944, allocations: 29.7 kB / 0.7423 GB, free: 15.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/0.7946, allocations: 284.2 kB / 0.7426 GB, free: 15.22 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.7948, allocations: 119 kB / 0.7427 GB, free: 15.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/0.795, allocations: 110 kB / 0.7428 GB, free: 14.99 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002021/0.7952, allocations: 362.8 kB / 0.7432 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003308/0.7955, allocations: 148.8 kB / 0.7433 GB, free: 14.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004575/0.796, allocations: 281.7 kB / 0.7436 GB, free: 14.15 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00078/0.7968, allocations: 441.6 kB / 0.744 GB, free: 13.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.7968, allocations: 0 / 0.744 GB, free: 13.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001065/0.7978, allocations: 0.5369 MB / 0.7445 GB, free: 13.13 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.7979, allocations: 11.94 kB / 0.7445 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.7979, allocations: 7.984 kB / 0.7445 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001559/0.7995, allocations: 236.8 kB / 0.7448 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/0.7998, allocations: 103.9 kB / 0.7449 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000604/0.8004, allocations: 0.5922 MB / 0.7455 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.8008, allocations: 51.66 kB / 0.7455 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-05/0.8009, allocations: 40 kB / 0.7455 GB, free: 12.07 MB / 0.545 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.0002977/0.8012, allocations: 189.6 kB / 0.7457 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.8013, allocations: 51.67 kB / 0.7458 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/0.8034, allocations: 1.09 MB / 0.7468 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.8034, allocations: 7.984 kB / 0.7468 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.8034, allocations: 0 / 0.7468 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.8034, allocations: 3.984 kB / 0.7468 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/0.805, allocations: 0.999 MB / 0.7478 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.805, allocations: 4 kB / 0.7478 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.8053, allocations: 55.91 kB / 0.7479 GB, free: 9.566 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003093/0.8084, allocations: 436.3 kB / 0.7483 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/0.8084, allocations: 8 kB / 0.7483 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005243/0.8089, allocations: 0.6042 MB / 0.7489 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.8089, allocations: 4.031 kB / 0.7489 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008995/0.8098, allocations: 0.508 MB / 0.7494 GB, free: 7.953 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/0.81, allocations: 140.6 kB / 0.7495 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.885e-05/0.8101, allocations: 15.94 kB / 0.7495 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000318/0.8105, allocations: 19.98 kB / 0.7496 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.777e-05/0.8106, allocations: 23.97 kB / 0.7496 GB, free: 7.738 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/0.8106, allocations: 19.94 kB / 0.7496 GB, free: 7.719 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005332/0.8111, allocations: 398.8 kB / 0.75 GB, free: 7.332 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8112, allocations: 0 / 0.75 GB, free: 7.332 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001086/0.8122, allocations: 343 kB / 0.7503 GB, free: 6.996 MB / 0.545 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.001156/0.8134, allocations: 452.6 kB / 0.7507 GB, free: 6.547 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009167/0.8143, allocations: 366.5 kB / 0.7511 GB, free: 6.191 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.8143, allocations: 0 / 0.7511 GB, free: 6.191 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003694/0.8147, allocations: 171.8 kB / 0.7513 GB, free: 6.023 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/0.8165, allocations: 373.3 kB / 0.7516 GB, free: 5.668 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.818, allocations: 0.8832 MB / 0.7525 GB, free: 4.746 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005325/0.8186, allocations: 0.8634 MB / 0.7533 GB, free: 3.852 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001097/0.8197, allocations: 0.5555 MB / 0.7539 GB, free: 3.289 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002424/0.8199, allocations: 83.41 kB / 0.7539 GB, free: 3.207 MB / 0.545 GB Notification: Performance of SimCode: time 8.91e-07/0.82, allocations: 0 / 0.7539 GB, free: 3.207 MB / 0.545 GB Notification: Performance of Templates: time 0.03308/0.853, allocations: 17.66 MB / 0.7712 GB, free: 1.633 MB / 0.5606 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.484257291071117]