Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009818/0.0009818, allocations: 80.62 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 142.1 kB / 25.59 MB, free: 8.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9353/0.9353, allocations: 173.4 MB / 202.2 MB, free: 8.309 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 269.2 MB, free: 9.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.628e-05, allocations: 2.312 kB / 269.2 MB, free: 9.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.01334/0.01337, allocations: 18.25 MB / 287.5 MB, free: 7.414 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01038/0.02374, allocations: 5.867 MB / 293.3 MB, free: 1.543 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002369/0.02611, allocations: 190.9 kB / 293.5 MB, free: 1.355 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005716/0.03183, allocations: 6.199 MB / 299.7 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004901/0.03673, allocations: 3.573 MB / 303.3 MB, free: 7.547 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001848/0.03858, allocations: 1.833 MB / 305.1 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01076/0.04934, allocations: 14.28 MB / 319.4 MB, free: 7.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007072/0.05641, allocations: 7.735 MB / 327.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008448/0.06486, allocations: 8.419 MB / 335.6 MB, free: 7.152 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004786/0.06965, allocations: 5.733 MB / 341.3 MB, free: 1.406 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000805/0.07045, allocations: 0.75 MB / 342 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1183/0.1888, allocations: 1.678 MB / 343.7 MB, free: 40.7 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00439/0.1931, allocations: 4.619 MB / 348.3 MB, free: 40.7 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002948/0.1961, allocations: 2.833 MB / 351.2 MB, free: 40.7 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006263/0.2024, allocations: 9.037 MB / 360.2 MB, free: 39.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2024, allocations: 0 / 360.2 MB, free: 39.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2024, allocations: 3.875 kB / 360.2 MB, free: 39.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001115/0.2025, allocations: 0.5625 kB / 360.2 MB, free: 39.91 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.009598/0.2121, allocations: 9.938 MB / 370.2 MB, free: 35.67 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2121, allocations: 7.625 kB / 370.2 MB, free: 35.67 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01945/0.2316, allocations: 5.026 MB / 375.2 MB, free: 34.78 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006987/0.2385, allocations: 5.323 MB / 380.5 MB, free: 31.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/0.2387, allocations: 424.4 kB / 380.9 MB, free: 31.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006561/0.2394, allocations: 0.5862 MB / 381.5 MB, free: 30.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009278/0.2486, allocations: 9.303 MB / 390.8 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001543/0.2488, allocations: 97.28 kB / 390.9 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004158/0.2492, allocations: 263.9 kB / 391.2 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001688/0.2509, allocations: 2.515 MB / 393.7 MB, free: 18.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006366/0.2573, allocations: 4.06 MB / 397.7 MB, free: 14.52 MB / 314.7 MB 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.04604/0.3033, allocations: 69.56 MB / 467.3 MB, free: 9.223 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00733/0.3106, allocations: 3.217 MB / 470.5 MB, free: 6.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/0.3118, allocations: 0.9077 MB / 471.4 MB, free: 5.113 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009497/0.3213, allocations: 6.94 MB / 478.4 MB, free: 14.28 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/0.3213, allocations: 63.39 kB / 478.4 MB, free: 14.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=248): time 4.268e-06/0.3213, allocations: 0 / 478.4 MB, free: 14.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=298): time 0.1792/0.5006, allocations: 17.56 MB / 496 MB, free: 131.9 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/0.5006, allocations: 394.7 kB / 496.4 MB, free: 131.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005622/0.5063, allocations: 6.122 MB / 0.4907 GB, free: 130.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000176/0.5064, allocations: 73.55 kB / 0.4908 GB, free: 130.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002133/0.5086, allocations: 5.618 MB / 0.4963 GB, free: 127.9 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007136/0.5093, allocations: 1.211 MB / 0.4975 GB, free: 127.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001845/0.5111, allocations: 1.992 MB / 0.4994 GB, free: 127 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.023e-05/0.5112, allocations: 482.3 kB / 0.4999 GB, free: 126.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/0.5126, allocations: 0.9201 MB / 0.5008 GB, free: 126.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003521/0.5161, allocations: 8.615 MB / 0.5092 GB, free: 116.4 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005883/0.522, allocations: 10.08 MB / 0.519 GB, free: 106.4 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.647e-05/0.5221, allocations: 50.03 kB / 0.5191 GB, free: 106.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.008936/0.531, allocations: 7.623 MB / 0.5265 GB, free: 103.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.998e-05/0.5311, allocations: 82.81 kB / 0.5266 GB, free: 103.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001333/0.5312, allocations: 172 kB / 0.5268 GB, free: 103.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002728/0.5339, allocations: 1.267 MB / 0.528 GB, free: 102.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003024/0.5369, allocations: 1.981 MB / 0.5299 GB, free: 100.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005312/0.5422, allocations: 6.72 MB / 0.5365 GB, free: 94.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00416/0.5464, allocations: 383.7 kB / 0.5369 GB, free: 93.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003831/0.5468, allocations: 438 kB / 0.5373 GB, free: 93.33 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 792 * Number of states: 0 () * Number of discrete variables: 66 (cylinder.boxColor[3],cylinder.boxColor[2],cylinder.boxColor[1],b2.cylinderColor[3],b2.cylinderColor[2],b2.cylinderColor[1],b1.cylinderColor[3],b1.cylinderColor[2],b1.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],mid.color[3],mid.color[2],mid.color[1],crank4.color[3],crank4.color[2],crank4.color[1],crank4.body.sphereColor[3],crank4.body.sphereColor[2],crank4.body.sphereColor[1],crank3.color[3],crank3.color[2],crank3.color[1],crank3.body.sphereColor[3],crank3.body.sphereColor[2],crank3.body.sphereColor[1],crank2.color[3],crank2.color[2],crank2.color[1],crank2.body.sphereColor[3],crank2.body.sphereColor[2],crank2.body.sphereColor[1],crank1.color[3],crank1.color[2],crank1.color[1],crank1.body.sphereColor[3],crank1.body.sphereColor[2],crank1.body.sphereColor[1],bearing.cylinderColor[3],bearing.cylinderColor[2],bearing.cylinderColor[1],connectingRod.color[3],connectingRod.color[2],connectingRod.color[1],connectingRod.body.sphereColor[3],connectingRod.body.sphereColor[2],connectingRod.body.sphereColor[1],piston.color[3],piston.color[2],piston.color[1],piston.body.sphereColor[3],piston.body.sphereColor[2],piston.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1106): * Single equations (assignments): 1099 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,42,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00218/0.549, allocations: 0.8861 MB / 0.5382 GB, free: 92.44 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007777/0.5497, allocations: 0.6991 MB / 0.5388 GB, free: 91.74 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003863/0.5536, allocations: 2.484 MB / 0.5413 GB, free: 89.78 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.5536, allocations: 31.98 kB / 0.5413 GB, free: 89.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.5536, allocations: 15.94 kB / 0.5413 GB, free: 89.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.5537, allocations: 17.03 kB / 0.5413 GB, free: 89.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01208/0.5657, allocations: 10.56 MB / 0.5516 GB, free: 78.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/0.5658, allocations: 20.88 kB / 0.5517 GB, free: 78.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008566/0.5666, allocations: 435.3 kB / 0.5521 GB, free: 78.42 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002383/0.569, allocations: 1.025 MB / 0.5531 GB, free: 77.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.5691, allocations: 72 kB / 0.5531 GB, free: 77.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004178/0.5733, allocations: 5.793 MB / 0.5588 GB, free: 71.29 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.176e-06/0.5733, allocations: 27.88 kB / 0.5588 GB, free: 71.26 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004236/0.5775, allocations: 4.566 MB / 0.5633 GB, free: 66.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007849/0.5783, allocations: 0.6519 MB / 0.5639 GB, free: 65.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004744/0.5788, allocations: 75.98 kB / 0.564 GB, free: 65.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/0.58, allocations: 83.95 kB / 0.5641 GB, free: 65.36 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002595/0.5803, allocations: 269.1 kB / 0.5643 GB, free: 65.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.5804, allocations: 83.69 kB / 0.5644 GB, free: 65.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001914/0.5823, allocations: 2.656 MB / 0.567 GB, free: 62.38 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5823, allocations: 3.938 kB / 0.567 GB, free: 62.38 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005009/0.5873, allocations: 2.043 MB / 0.569 GB, free: 60.33 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 89 * Number of states: 2 (inertia.phi,inertia.w) * 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 (246): * Single equations (assignments): 239 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,38,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003566/0.5877, allocations: 266.4 kB / 0.5693 GB, free: 60.06 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004414/0.5921, allocations: 4.603 MB / 0.5738 GB, free: 55.44 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.5921, allocations: 0 / 0.5738 GB, free: 55.44 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.5935, allocations: 1.598 MB / 0.5753 GB, free: 53.79 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002624/0.5961, allocations: 0.9649 MB / 0.5763 GB, free: 52.85 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/0.6082, allocations: 14.3 MB / 0.5902 GB, free: 38.06 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001566/0.6098, allocations: 2.294 MB / 0.5925 GB, free: 35.74 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001757/0.6115, allocations: 0.8297 MB / 0.5933 GB, free: 34.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001373/0.6129, allocations: 1.088 MB / 0.5943 GB, free: 33.81 MB / 394.7 MB Notification: Performance of SimCode: time 1.523e-06/0.6129, allocations: 0 / 0.5943 GB, free: 33.81 MB / 394.7 MB Notification: Performance of Templates: time 0.211/0.8239, allocations: 71.25 MB / 0.6639 GB, free: 91.23 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.264084786642343]