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.001507/0.001507, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001101/0.001101, allocations: 148.8 kB / 24.89 MB, free: 8.703 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.919/0.919, allocations: 173.4 MB / 201.5 MB, free: 9.211 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.382e-06/1.382e-06, allocations: 0 / 268.5 MB, free: 6.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.663e-05/1.801e-05, allocations: 6.25 kB / 268.5 MB, free: 6.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.01713/0.01715, allocations: 18.27 MB / 286.8 MB, free: 3.828 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1211/0.1382, allocations: 6.11 MB / 292.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003442/0.1417, allocations: 192.4 kB / 293.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007575/0.1492, allocations: 6.293 MB / 299.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005991/0.1552, allocations: 3.634 MB / 303 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002245/0.1575, allocations: 1.823 MB / 304.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01082/0.1683, allocations: 14.21 MB / 319 MB, free: 3.832 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007379/0.1757, allocations: 7.882 MB / 326.9 MB, free: 12.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01083/0.1865, allocations: 8.33 MB / 335.2 MB, free: 4.645 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005943/0.1925, allocations: 5.48 MB / 340.7 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001577/0.194, allocations: 0.75 MB / 341.5 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002614/0.1966, allocations: 1.678 MB / 343.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003151/0.1998, allocations: 4.623 MB / 347.8 MB, free: 8.617 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003761/0.2036, allocations: 2.832 MB / 350.6 MB, free: 5.906 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009077/0.2126, allocations: 9.041 MB / 359.6 MB, free: 13.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2126, allocations: 4 kB / 359.6 MB, free: 13.22 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2126, allocations: 0 / 359.6 MB, free: 13.22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002634/0.2129, allocations: 0 / 359.6 MB, free: 13.22 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.0107/0.2236, allocations: 9.014 MB / 368.7 MB, free: 4.422 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.2236, allocations: 12.91 kB / 368.7 MB, free: 4.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006461/0.2301, allocations: 2.229 MB / 370.9 MB, free: 2.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006643/0.2367, allocations: 5.011 MB / 375.9 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000197/0.2369, allocations: 427.4 kB / 376.3 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006669/0.2376, allocations: 0.582 MB / 376.9 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009066/0.2467, allocations: 8.389 MB / 385.3 MB, free: 2.578 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001515/0.2468, allocations: 87.33 kB / 385.4 MB, free: 2.492 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006688/0.2475, allocations: 263.8 kB / 385.6 MB, free: 2.234 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002018/0.2495, allocations: 2.518 MB / 388.2 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007151/0.2567, allocations: 4.06 MB / 392.2 MB, free: 11.62 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.2548/0.5114, allocations: 50.86 MB / 443.1 MB, free: 82.01 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007364/0.5188, allocations: 3.089 MB / 446.2 MB, free: 81.78 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/0.52, allocations: 0.7316 MB / 446.9 MB, free: 81.73 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01068/0.5306, allocations: 6.625 MB / 453.5 MB, free: 81.05 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.5307, allocations: 64.75 kB / 453.6 MB, free: 81.01 MB / 378.8 MB Notification: Performance of pre-optimization done (n=248): time 4.95e-06/0.5307, allocations: 3.438 kB / 453.6 MB, free: 81.01 MB / 378.8 MB Notification: Performance of matching and sorting (n=298): time 0.03639/0.5671, allocations: 14.94 MB / 468.5 MB, free: 80.31 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.5671, allocations: 396.7 kB / 468.9 MB, free: 79.87 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004514/0.5717, allocations: 5.553 MB / 474.5 MB, free: 76.34 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001762/0.5718, allocations: 71.14 kB / 474.5 MB, free: 76.3 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00149/0.5733, allocations: 4.642 MB / 479.2 MB, free: 72.31 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005515/0.5739, allocations: 1.167 MB / 480.4 MB, free: 71.27 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001198/0.5751, allocations: 1.72 MB / 482.1 MB, free: 69.66 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.026e-05/0.5751, allocations: 301.1 kB / 482.4 MB, free: 69.36 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001624/0.5767, allocations: 1.143 MB / 483.5 MB, free: 68.21 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00251/0.5792, allocations: 6.235 MB / 489.7 MB, free: 59.55 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00424/0.5835, allocations: 7.935 MB / 497.7 MB, free: 49.74 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.983e-05/0.5835, allocations: 48 kB / 497.7 MB, free: 49.7 MB / 378.8 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.007309/0.5908, allocations: 6.539 MB / 0.4924 GB, free: 43.06 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.699e-05/0.5909, allocations: 86.91 kB / 0.4925 GB, free: 42.98 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001347/0.5911, allocations: 172 kB / 0.4927 GB, free: 42.81 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004082/0.5951, allocations: 1.254 MB / 0.4939 GB, free: 41.54 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005637/0.6008, allocations: 1.981 MB / 0.4959 GB, free: 39.55 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007892/0.6087, allocations: 5.457 MB / 0.5012 GB, free: 33.89 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007211/0.6159, allocations: 379.7 kB / 0.5015 GB, free: 33.52 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006852/0.6166, allocations: 443 kB / 0.502 GB, free: 33.09 MB / 378.8 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.002653/0.6192, allocations: 0.8399 MB / 0.5028 GB, free: 32.24 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001359/0.6206, allocations: 417.7 kB / 0.5032 GB, free: 31.84 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004512/0.6251, allocations: 2.189 MB / 0.5053 GB, free: 29.61 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.278e-05/0.6251, allocations: 43.97 kB / 0.5054 GB, free: 29.56 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/0.6251, allocations: 8 kB / 0.5054 GB, free: 29.55 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.246e-05/0.6252, allocations: 15.95 kB / 0.5054 GB, free: 29.54 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01548/0.6406, allocations: 9.109 MB / 0.5143 GB, free: 20.03 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/0.6407, allocations: 20 kB / 0.5143 GB, free: 20.01 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008955/0.6415, allocations: 435.3 kB / 0.5147 GB, free: 19.58 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002539/0.6441, allocations: 1.302 MB / 0.516 GB, free: 18.26 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001359/0.6442, allocations: 68 kB / 0.5161 GB, free: 18.2 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004052/0.6483, allocations: 4.533 MB / 0.5205 GB, free: 13.45 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/0.6483, allocations: 27.88 kB / 0.5205 GB, free: 13.43 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004369/0.6527, allocations: 3.91 MB / 0.5243 GB, free: 9.043 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009137/0.6536, allocations: 0.6245 MB / 0.5249 GB, free: 8.414 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004669/0.654, allocations: 79.92 kB / 0.525 GB, free: 8.336 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.6552, allocations: 80.02 kB / 0.5251 GB, free: 8.258 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000272/0.6555, allocations: 273 kB / 0.5254 GB, free: 7.992 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.6556, allocations: 80 kB / 0.5254 GB, free: 7.914 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001765/0.6574, allocations: 2.263 MB / 0.5276 GB, free: 5.664 MB / 378.8 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6574, allocations: 0 / 0.5276 GB, free: 5.664 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.005109/0.6625, allocations: 2.047 MB / 0.5296 GB, free: 3.617 MB / 378.8 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.0004448/0.6629, allocations: 247.5 kB / 0.5299 GB, free: 3.367 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.00487/0.6678, allocations: 4.166 MB / 0.5339 GB, free: 15.17 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002237/0.668, allocations: 128.2 kB / 0.5341 GB, free: 15.04 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002097/0.6701, allocations: 1.368 MB / 0.5354 GB, free: 13.64 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004505/0.6746, allocations: 1.313 MB / 0.5367 GB, free: 12.35 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01732/0.6919, allocations: 14.04 MB / 0.5504 GB, free: 13.92 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002301/0.6942, allocations: 2.279 MB / 0.5526 GB, free: 11.61 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.002394/0.6966, allocations: 0.8375 MB / 0.5534 GB, free: 10.77 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001595/0.6982, allocations: 1.011 MB / 0.5544 GB, free: 9.746 MB / 410.8 MB Notification: Performance of SimCode: time 2.245e-06/0.6982, allocations: 0 / 0.5544 GB, free: 9.746 MB / 410.8 MB Notification: Performance of Templates: time 0.1968/0.895, allocations: 69.61 MB / 0.6224 GB, free: 127.4 MB / 426.8 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: 4.831215505953878]