Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001895/0.001895, allocations: 103.6 kB / 21.19 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00252/0.00252, allocations: 209.2 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2209/0.2209, allocations: 44.94 MB / 359.6 MB, free: 6.059 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 67.91 kB / 0.4943 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3362, allocations: 65.46 MB / 0.5582 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.2114/0.5476, allocations: 161.7 MB / 0.7161 GB, free: 5.172 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007581/0.5551, allocations: 3.397 MB / 0.7194 GB, free: 1.762 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006988/0.5558, allocations: 19.81 kB / 0.7195 GB, free: 1.742 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.5569, allocations: 309.9 kB / 0.7197 GB, free: 1.438 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00493/0.5618, allocations: 1.752 MB / 0.7215 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002149/0.5639, allocations: 0.7276 MB / 0.7222 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002292/0.5662, allocations: 1.54 MB / 0.7237 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006433/0.5669, allocations: 359.9 kB / 0.724 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001071/0.5679, allocations: 0.6033 MB / 0.7246 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006706/0.5686, allocations: 450 kB / 0.725 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.258e-05/0.5687, allocations: 52 kB / 0.7251 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00277/0.5715, allocations: 1.139 MB / 0.7262 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002054/0.5717, allocations: 163.4 kB / 0.7264 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000352/0.572, allocations: 286.9 kB / 0.7266 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002731/0.5748, allocations: 1.636 MB / 0.7282 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.5748, allocations: 7.938 kB / 0.7282 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.205e-06/0.5748, allocations: 0 / 0.7282 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.5748, allocations: 0 / 0.7282 GB, free: 8.734 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.002094/0.5769, allocations: 1.021 MB / 0.7292 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.5769, allocations: 16.02 kB / 0.7292 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009597/0.5779, allocations: 143.4 kB / 0.7294 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009052/0.5788, allocations: 413.7 kB / 0.7298 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.067e-05/0.5788, allocations: 36.94 kB / 0.7298 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-05/0.5789, allocations: 40 kB / 0.7298 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.5802, allocations: 0.8918 MB / 0.7307 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.5802, allocations: 0 / 0.7307 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.039e-05/0.5803, allocations: 23.98 kB / 0.7307 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.5803, allocations: 12 kB / 0.7308 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009176/0.5812, allocations: 471.6 kB / 0.7312 GB, free: 5.516 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.00278/0.584, allocations: 1.877 MB / 0.733 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000732/0.5847, allocations: 317 kB / 0.7333 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/0.585, allocations: 161.4 kB / 0.7335 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002381/0.5852, allocations: 44.25 kB / 0.7335 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/0.5853, allocations: 42.84 kB / 0.7336 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.984e-06/0.5853, allocations: 0 / 0.7336 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001755/0.5871, allocations: 0.6319 MB / 0.7342 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.187e-05/0.5871, allocations: 136.5 kB / 0.7343 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004837/0.5876, allocations: 401.9 kB / 0.7347 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.948e-05/0.5877, allocations: 33.7 kB / 0.7347 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/0.5879, allocations: 288.4 kB / 0.735 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.588, allocations: 122.9 kB / 0.7351 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.5882, allocations: 106.1 kB / 0.7352 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.5883, allocations: 346.8 kB / 0.7356 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/0.5887, allocations: 152.8 kB / 0.7357 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004751/0.5891, allocations: 356.7 kB / 0.736 GB, free: 328 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2921/0.8813, allocations: 439.9 kB / 0.7365 GB, free: 178.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.8813, allocations: 1.562 kB / 0.7365 GB, free: 178.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001483/0.8827, allocations: 0.5274 MB / 0.737 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.8828, allocations: 10.72 kB / 0.737 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.8828, allocations: 3.25 kB / 0.737 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001698/0.8845, allocations: 243.7 kB / 0.7372 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004628/0.885, allocations: 103.7 kB / 0.7373 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004181/0.8854, allocations: 0.5898 MB / 0.7379 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003844/0.8858, allocations: 38.95 kB / 0.7379 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/0.8859, allocations: 44.64 kB / 0.738 GB, free: 178.2 MB / 0.5606 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.0002927/0.8862, allocations: 184.8 kB / 0.7382 GB, free: 178.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.8863, allocations: 49.06 kB / 0.7382 GB, free: 178.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002001/0.8883, allocations: 1.091 MB / 0.7393 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.8883, allocations: 8.688 kB / 0.7393 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.8883, allocations: 1.078 kB / 0.7393 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.8883, allocations: 5.75 kB / 0.7393 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.8895, allocations: 0.8496 MB / 0.7401 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.8895, allocations: 3.75 kB / 0.7401 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.8897, allocations: 48.58 kB / 0.7402 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002841/0.8926, allocations: 437.9 kB / 0.7406 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.664e-05/0.8926, allocations: 13.72 kB / 0.7406 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000329/0.8929, allocations: 0.604 MB / 0.7412 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.8929, allocations: 1.469 kB / 0.7412 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000714/0.8936, allocations: 0.4933 MB / 0.7417 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.831e-05/0.8937, allocations: 50.95 kB / 0.7417 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.651e-05/0.8938, allocations: 11.69 kB / 0.7417 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.8941, allocations: 19 kB / 0.7417 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.56e-05/0.8942, allocations: 26.03 kB / 0.7418 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.8942, allocations: 18.25 kB / 0.7418 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002985/0.8945, allocations: 319.7 kB / 0.7421 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.8945, allocations: 4 kB / 0.7421 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008887/0.8954, allocations: 359.8 kB / 0.7424 GB, free: 175.8 MB / 0.5606 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.0007351/0.8961, allocations: 437.8 kB / 0.7429 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007259/0.8968, allocations: 357.6 kB / 0.7432 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.8968, allocations: 3.344 kB / 0.7432 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002796/0.8971, allocations: 152.2 kB / 0.7434 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.8983, allocations: 292.9 kB / 0.7436 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.8995, allocations: 0.9234 MB / 0.7445 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.8997, allocations: 250.9 kB / 0.7448 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003037/0.9, allocations: 124.7 kB / 0.7449 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.9, allocations: 0 / 0.7449 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.01597/0.916, allocations: 14.78 MB / 0.7593 GB, free: 158.8 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 11.012602827046067]