Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.0009096/0.0009096, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009013/0.0009013, allocations: 164.2 kB / 24.91 MB, free: 8.758 MB / 18.57 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 0.8708/0.8708, allocations: 177 MB / 205.2 MB, free: 5.055 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 273.4 MB, free: 1.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.16e-05/1.277e-05, allocations: 9.344 kB / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.105/0.105, allocations: 18.19 MB / 291.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009156/0.1142, allocations: 6.141 MB / 297.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001822/0.116, allocations: 188.4 kB / 297.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005408/0.1214, allocations: 6.258 MB / 304.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004291/0.1257, allocations: 3.603 MB / 307.8 MB, free: 9.496 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001886/0.1276, allocations: 1.818 MB / 309.6 MB, free: 8.363 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00892/0.1365, allocations: 14.73 MB / 324.3 MB, free: 13.7 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00688/0.1434, allocations: 7.888 MB / 332.2 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007509/0.1509, allocations: 8.314 MB / 340.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004787/0.1557, allocations: 5.484 MB / 346 MB, free: 8.043 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009755/0.1566, allocations: 0.7539 MB / 346.8 MB, free: 7.289 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001862/0.1585, allocations: 1.647 MB / 348.4 MB, free: 5.641 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002879/0.1614, allocations: 4.602 MB / 353 MB, free: 1.027 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002074/0.1635, allocations: 2.813 MB / 355.8 MB, free: 14.2 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006153/0.1696, allocations: 8.974 MB / 364.8 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1696, allocations: 0 / 364.8 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1696, allocations: 0 / 364.8 MB, free: 5.199 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.629e-05/0.1697, allocations: 0 / 364.8 MB, free: 5.199 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.009224/0.1789, allocations: 9.009 MB / 373.8 MB, free: 12.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.179, allocations: 15.98 kB / 373.8 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006201/0.1852, allocations: 2.226 MB / 376.1 MB, free: 9.871 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005459/0.1906, allocations: 5.014 MB / 381.1 MB, free: 4.773 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001898/0.1908, allocations: 423.4 kB / 381.5 MB, free: 4.359 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006092/0.1914, allocations: 0.5897 MB / 382.1 MB, free: 3.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008004/0.1994, allocations: 8.381 MB / 390.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001407/0.1996, allocations: 95.22 kB / 390.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004236/0.2, allocations: 267.8 kB / 390.8 MB, free: 9.914 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00194/0.2019, allocations: 2.51 MB / 393.3 MB, free: 7.398 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006074/0.208, allocations: 4.067 MB / 397.4 MB, free: 3.297 MB / 346.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.1358/0.3438, allocations: 50.85 MB / 448.3 MB, free: 79.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006636/0.3504, allocations: 3.088 MB / 451.3 MB, free: 79.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009091/0.3513, allocations: 0.7273 MB / 452.1 MB, free: 79.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007905/0.3592, allocations: 6.626 MB / 458.7 MB, free: 78.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.3593, allocations: 68.16 kB / 458.8 MB, free: 78.63 MB / 378.7 MB Notification: Performance of pre-optimization done (n=248): time 4.348e-06/0.3593, allocations: 0 / 458.8 MB, free: 78.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=298): time 0.04244/0.4017, allocations: 14.95 MB / 473.7 MB, free: 75.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.4018, allocations: 397.2 kB / 474.1 MB, free: 75.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004261/0.406, allocations: 5.543 MB / 479.6 MB, free: 71.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001543/0.4062, allocations: 69.7 kB / 479.7 MB, free: 71.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001441/0.4076, allocations: 4.646 MB / 484.4 MB, free: 66.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005354/0.4082, allocations: 1.163 MB / 485.5 MB, free: 65.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001518/0.4097, allocations: 1.726 MB / 487.2 MB, free: 63.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 2.192e-05/0.4097, allocations: 305.1 kB / 487.5 MB, free: 63.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00204/0.4117, allocations: 1.143 MB / 488.7 MB, free: 62.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003062/0.4148, allocations: 6.229 MB / 494.9 MB, free: 53.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005024/0.4198, allocations: 7.931 MB / 0.4911 GB, free: 43.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-05/0.4199, allocations: 48 kB / 0.4911 GB, free: 43.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.008284/0.4282, allocations: 6.545 MB / 0.4975 GB, free: 37.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.015e-05/0.4282, allocations: 80 kB / 0.4976 GB, free: 37.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001087/0.4283, allocations: 172 kB / 0.4977 GB, free: 36.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003238/0.4316, allocations: 1.25 MB / 0.499 GB, free: 35.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003365/0.4349, allocations: 1.981 MB / 0.5009 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004557/0.4395, allocations: 5.446 MB / 0.5062 GB, free: 28.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002734/0.4422, allocations: 379.7 kB / 0.5066 GB, free: 27.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003139/0.4426, allocations: 436 kB / 0.507 GB, free: 27.21 MB / 378.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.001301/0.4439, allocations: 0.8389 MB / 0.5078 GB, free: 26.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004508/0.4443, allocations: 419.5 kB / 0.5082 GB, free: 25.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002728/0.447, allocations: 2.189 MB / 0.5103 GB, free: 23.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.447, allocations: 39.94 kB / 0.5104 GB, free: 23.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.4471, allocations: 8 kB / 0.5104 GB, free: 23.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.4471, allocations: 22.75 kB / 0.5104 GB, free: 23.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009196/0.4563, allocations: 9.109 MB / 0.5193 GB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/0.4563, allocations: 20 kB / 0.5193 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008262/0.4571, allocations: 435.3 kB / 0.5197 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002437/0.4595, allocations: 1.294 MB / 0.521 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.4597, allocations: 83.91 kB / 0.5211 GB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003729/0.4634, allocations: 4.528 MB / 0.5255 GB, free: 7.586 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.4634, allocations: 31.88 kB / 0.5255 GB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003437/0.4668, allocations: 3.91 MB / 0.5294 GB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005093/0.4673, allocations: 0.6245 MB / 0.53 GB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004449/0.4678, allocations: 75.98 kB / 0.53 GB, free: 2.465 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.4689, allocations: 88 kB / 0.5301 GB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002387/0.4692, allocations: 265 kB / 0.5304 GB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.4693, allocations: 87.98 kB / 0.5305 GB, free: 2.035 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001461/0.4707, allocations: 2.259 MB / 0.5327 GB, free: 15.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4707, allocations: 0 / 0.5327 GB, free: 15.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004384/0.4751, allocations: 2.016 MB / 0.5346 GB, free: 13.77 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.0003465/0.4755, allocations: 242.5 kB / 0.5349 GB, free: 13.53 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004026/0.4795, allocations: 4.157 MB / 0.5389 GB, free: 9.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001708/0.4797, allocations: 132.2 kB / 0.5391 GB, free: 9.203 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001401/0.4811, allocations: 1.376 MB / 0.5404 GB, free: 7.801 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002918/0.484, allocations: 1.314 MB / 0.5417 GB, free: 6.523 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.013/0.497, allocations: 14.02 MB / 0.5554 GB, free: 8.105 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001888/0.4989, allocations: 2.278 MB / 0.5576 GB, free: 5.797 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001642/0.5005, allocations: 0.8257 MB / 0.5584 GB, free: 4.965 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001471/0.502, allocations: 1.011 MB / 0.5594 GB, free: 3.945 MB / 410.7 MB Notification: Performance of SimCode: time 6.82e-07/0.502, allocations: 3.062 kB / 0.5594 GB, free: 3.945 MB / 410.7 MB Notification: Performance of Templates: time 0.1692/0.6712, allocations: 69.46 MB / 0.6272 GB, free: 121.1 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 4.399080220144242]