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.001277/0.001277, allocations: 85.05 kB / 21.5 MB, free: 2.984 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.001298/0.001298, allocations: 145.5 kB / 24.89 MB, free: 8.73 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.8872/0.8872, allocations: 173.4 MB / 201.5 MB, free: 8.266 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.302e-06/1.302e-06, allocations: 0 / 268.5 MB, free: 9.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.366e-05/1.496e-05, allocations: 5.266 kB / 268.5 MB, free: 9.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.01843/0.01845, allocations: 18.29 MB / 286.8 MB, free: 7.379 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01172/0.03017, allocations: 6.115 MB / 293 MB, free: 1.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.03121, allocations: 198.9 kB / 293.1 MB, free: 1.055 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005256/0.03647, allocations: 6.19 MB / 299.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004341/0.04081, allocations: 3.596 MB / 302.9 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.04267, allocations: 1.833 MB / 304.8 MB, free: 5.395 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00974/0.05241, allocations: 14.21 MB / 319 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005182/0.05759, allocations: 7.219 MB / 326.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006316/0.06391, allocations: 8.122 MB / 334.3 MB, free: 7.688 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004681/0.06859, allocations: 5.484 MB / 339.8 MB, free: 2.191 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007464/0.06934, allocations: 0.7539 MB / 340.6 MB, free: 1.438 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1212/0.1905, allocations: 1.713 MB / 342.3 MB, free: 40.32 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004547/0.1951, allocations: 4.626 MB / 346.9 MB, free: 40.32 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003156/0.1982, allocations: 2.828 MB / 349.7 MB, free: 40.32 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005963/0.2042, allocations: 9.039 MB / 358.8 MB, free: 39.56 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2042, allocations: 0 / 358.8 MB, free: 39.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2042, allocations: 0 / 358.8 MB, free: 39.56 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.954e-05/0.2043, allocations: 0 / 358.8 MB, free: 39.56 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.007854/0.2121, allocations: 9.018 MB / 367.8 MB, free: 35.88 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.2122, allocations: 12.38 kB / 367.8 MB, free: 35.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006096/0.2183, allocations: 2.226 MB / 370 MB, free: 35.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005936/0.2242, allocations: 5.014 MB / 375 MB, free: 33.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000203/0.2244, allocations: 426.7 kB / 375.5 MB, free: 33.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007319/0.2251, allocations: 0.5934 MB / 376 MB, free: 33.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009572/0.2347, allocations: 8.373 MB / 384.4 MB, free: 26.92 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001634/0.2349, allocations: 94.28 kB / 384.5 MB, free: 26.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00053/0.2354, allocations: 269.1 kB / 384.8 MB, free: 26.65 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002168/0.2376, allocations: 2.515 MB / 387.3 MB, free: 24.17 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007761/0.2453, allocations: 4.057 MB / 391.3 MB, free: 20.43 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.04093/0.2862, allocations: 50.87 MB / 442.2 MB, free: 1.898 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006365/0.2926, allocations: 3.091 MB / 445.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008867/0.2935, allocations: 0.7241 MB / 446 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008676/0.3022, allocations: 6.622 MB / 452.7 MB, free: 7.617 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.3022, allocations: 60.56 kB / 452.7 MB, free: 7.551 MB / 362.7 MB Notification: Performance of pre-optimization done (n=248): time 3.868e-06/0.3022, allocations: 7.562 kB / 452.7 MB, free: 7.547 MB / 362.7 MB Notification: Performance of matching and sorting (n=298): time 0.03578/0.338, allocations: 15.03 MB / 467.7 MB, free: 9.008 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.3381, allocations: 393.8 kB / 468.1 MB, free: 8.539 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005898/0.344, allocations: 5.557 MB / 473.7 MB, free: 4.004 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004883/0.3445, allocations: 73.7 kB / 473.8 MB, free: 3.926 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002129/0.3466, allocations: 4.643 MB / 478.4 MB, free: 15.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001136/0.3478, allocations: 1.17 MB / 479.6 MB, free: 14.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001646/0.3494, allocations: 1.722 MB / 481.3 MB, free: 12.94 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.613e-05/0.3495, allocations: 301.1 kB / 481.6 MB, free: 12.64 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001865/0.3514, allocations: 1.139 MB / 482.7 MB, free: 11.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003851/0.3552, allocations: 6.23 MB / 489 MB, free: 3.055 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1167/0.4719, allocations: 7.924 MB / 496.9 MB, free: 118.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001221/0.472, allocations: 49.72 kB / 496.9 MB, free: 118.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.01107/0.4831, allocations: 6.542 MB / 0.4917 GB, free: 117 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.375e-05/0.4832, allocations: 80.91 kB / 0.4918 GB, free: 117 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001604/0.4834, allocations: 175.6 kB / 0.4919 GB, free: 117 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002765/0.4861, allocations: 1.25 MB / 0.4931 GB, free: 116.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00338/0.4895, allocations: 2.106 MB / 0.4952 GB, free: 116.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005462/0.495, allocations: 5.461 MB / 0.5005 GB, free: 114 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004668/0.4996, allocations: 376.7 kB / 0.5009 GB, free: 114 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007018/0.5003, allocations: 444.3 kB / 0.5013 GB, free: 114 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.002307/0.5026, allocations: 0.8355 MB / 0.5021 GB, free: 113.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008794/0.5035, allocations: 424.8 kB / 0.5025 GB, free: 113.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003136/0.5067, allocations: 2.197 MB / 0.5047 GB, free: 113.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/0.5067, allocations: 31.5 kB / 0.5047 GB, free: 113.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.5067, allocations: 7.688 kB / 0.5047 GB, free: 113.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/0.5067, allocations: 14.34 kB / 0.5047 GB, free: 113.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01233/0.519, allocations: 9.116 MB / 0.5136 GB, free: 110 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.329e-05/0.5191, allocations: 20.88 kB / 0.5137 GB, free: 110 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001483/0.5205, allocations: 0.7631 MB / 0.5144 GB, free: 109.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002381/0.5229, allocations: 1.012 MB / 0.5154 GB, free: 108.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001686/0.5231, allocations: 68 kB / 0.5154 GB, free: 108.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004103/0.5272, allocations: 4.555 MB / 0.5199 GB, free: 104.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/0.5272, allocations: 31.81 kB / 0.5199 GB, free: 104.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004456/0.5317, allocations: 3.906 MB / 0.5237 GB, free: 100.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/0.5329, allocations: 0.6268 MB / 0.5244 GB, free: 100.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005895/0.5335, allocations: 84.33 kB / 0.5244 GB, free: 99.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/0.5348, allocations: 75.98 kB / 0.5245 GB, free: 99.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003386/0.5351, allocations: 269.1 kB / 0.5248 GB, free: 99.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/0.5352, allocations: 80.03 kB / 0.5248 GB, free: 99.56 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002375/0.5376, allocations: 2.266 MB / 0.5271 GB, free: 97.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5376, allocations: 0 / 0.5271 GB, free: 97.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005524/0.5431, allocations: 2.047 MB / 0.5291 GB, free: 95.54 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.0005072/0.5436, allocations: 245.2 kB / 0.5293 GB, free: 95.31 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004871/0.5485, allocations: 4.175 MB / 0.5334 GB, free: 91.21 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002406/0.5487, allocations: 130.1 kB / 0.5335 GB, free: 91.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00153/0.5503, allocations: 1.369 MB / 0.5348 GB, free: 89.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004856/0.5551, allocations: 1.3 MB / 0.5361 GB, free: 88.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01576/0.5709, allocations: 14.02 MB / 0.5498 GB, free: 74.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002319/0.5732, allocations: 2.286 MB / 0.552 GB, free: 71.76 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002259/0.5755, allocations: 0.8377 MB / 0.5528 GB, free: 70.92 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001535/0.577, allocations: 1.003 MB / 0.5538 GB, free: 69.91 MB / 394.7 MB Notification: Performance of SimCode: time 1.864e-06/0.577, allocations: 4 kB / 0.5538 GB, free: 69.91 MB / 394.7 MB Notification: Performance of Templates: time 0.1845/0.7615, allocations: 69.62 MB / 0.6218 GB, free: 120.3 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 -s gbode -gbm=radauIIA3 -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.694655621889979]