Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.0008922/0.0008922, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0008916/0.0008916, allocations: 175.7 kB / 24.92 MB, free: 8.727 MB / 18.57 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 0.9327/0.9327, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.022e-06/1.022e-06, allocations: 0 / 273.5 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009e-05/1.111e-05, allocations: 2.312 kB / 273.5 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.1102/0.1102, allocations: 18.24 MB / 291.8 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009207/0.1194, allocations: 6.144 MB / 297.9 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.121, allocations: 192.8 kB / 298.1 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005086/0.1261, allocations: 6.16 MB / 304.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003857/0.1299, allocations: 3.554 MB / 307.8 MB, free: 9.656 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.1317, allocations: 1.838 MB / 309.6 MB, free: 8.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007904/0.1396, allocations: 14.74 MB / 324.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005173/0.1447, allocations: 7.219 MB / 331.6 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006185/0.1509, allocations: 8.114 MB / 339.7 MB, free: 14.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004897/0.1558, allocations: 5.476 MB / 345.2 MB, free: 9.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008421/0.1567, allocations: 0.7539 MB / 345.9 MB, free: 8.516 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00178/0.1584, allocations: 1.705 MB / 347.6 MB, free: 6.809 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00242/0.1609, allocations: 4.598 MB / 352.2 MB, free: 2.195 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001822/0.1627, allocations: 2.809 MB / 355.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005573/0.1683, allocations: 8.974 MB / 364 MB, free: 6.375 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1683, allocations: 0 / 364 MB, free: 6.375 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1683, allocations: 0 / 364 MB, free: 6.375 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.232e-05/0.1683, allocations: 0 / 364 MB, free: 6.375 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.008527/0.1769, allocations: 9.013 MB / 373 MB, free: 13.28 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.1769, allocations: 8.031 kB / 373.1 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006276/0.1832, allocations: 2.225 MB / 375.3 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005266/0.1884, allocations: 5.014 MB / 380.3 MB, free: 5.953 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001891/0.1886, allocations: 427.4 kB / 380.7 MB, free: 5.535 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006986/0.1893, allocations: 0.5898 MB / 381.3 MB, free: 4.945 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007892/0.1972, allocations: 8.381 MB / 389.7 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001401/0.1973, allocations: 101.9 kB / 389.8 MB, free: 11.35 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003947/0.1977, allocations: 267.8 kB / 390 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001845/0.1996, allocations: 2.514 MB / 392.6 MB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005942/0.2055, allocations: 4.059 MB / 396.6 MB, free: 4.469 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.2233/0.4288, allocations: 50.86 MB / 447.5 MB, free: 77.92 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006657/0.4355, allocations: 3.071 MB / 450.5 MB, free: 77.69 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009124/0.4364, allocations: 0.7335 MB / 451.3 MB, free: 77.64 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007919/0.4443, allocations: 6.633 MB / 457.9 MB, free: 76.97 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.4443, allocations: 58.47 kB / 458 MB, free: 76.93 MB / 378.8 MB Notification: Performance of pre-optimization done (n=248): time 4.118e-06/0.4443, allocations: 0 / 458 MB, free: 76.93 MB / 378.8 MB Notification: Performance of matching and sorting (n=298): time 0.03257/0.4769, allocations: 15.02 MB / 473 MB, free: 74.36 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.477, allocations: 393.5 kB / 473.4 MB, free: 73.9 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003173/0.4802, allocations: 5.555 MB / 478.9 MB, free: 69.74 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.4803, allocations: 73.7 kB / 479 MB, free: 69.66 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001085/0.4814, allocations: 4.643 MB / 483.6 MB, free: 65.53 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004112/0.4818, allocations: 1.166 MB / 484.8 MB, free: 64.35 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001063/0.4828, allocations: 1.72 MB / 486.5 MB, free: 62.62 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.496e-05/0.4829, allocations: 301.1 kB / 486.8 MB, free: 62.32 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/0.4843, allocations: 1.143 MB / 488 MB, free: 61.17 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002249/0.4865, allocations: 6.219 MB / 494.2 MB, free: 52.52 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003706/0.4902, allocations: 7.935 MB / 0.4904 GB, free: 42.71 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-05/0.4903, allocations: 48 kB / 0.4904 GB, free: 42.67 MB / 378.8 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.005787/0.4961, allocations: 6.545 MB / 0.4968 GB, free: 36.03 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.968e-05/0.4961, allocations: 80 kB / 0.4969 GB, free: 35.95 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.16e-05/0.4962, allocations: 172 kB / 0.497 GB, free: 35.78 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002325/0.4985, allocations: 1.251 MB / 0.4983 GB, free: 34.52 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002836/0.5014, allocations: 2.106 MB / 0.5003 GB, free: 32.41 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004571/0.5059, allocations: 5.468 MB / 0.5056 GB, free: 26.74 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002886/0.5088, allocations: 382.6 kB / 0.506 GB, free: 26.37 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003325/0.5092, allocations: 436 kB / 0.5064 GB, free: 25.94 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.001505/0.5107, allocations: 0.84 MB / 0.5072 GB, free: 25.09 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004588/0.5111, allocations: 423.5 kB / 0.5077 GB, free: 24.68 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002714/0.5138, allocations: 2.193 MB / 0.5098 GB, free: 22.44 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/0.5138, allocations: 32.52 kB / 0.5098 GB, free: 22.41 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.5139, allocations: 12 kB / 0.5098 GB, free: 22.4 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.5139, allocations: 11.95 kB / 0.5098 GB, free: 22.39 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009637/0.5235, allocations: 9.109 MB / 0.5187 GB, free: 12.88 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.5235, allocations: 20 kB / 0.5188 GB, free: 12.86 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/0.5247, allocations: 0.76 MB / 0.5195 GB, free: 12.09 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002157/0.5269, allocations: 1.014 MB / 0.5205 GB, free: 11.06 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/0.527, allocations: 72 kB / 0.5206 GB, free: 10.99 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003752/0.5308, allocations: 4.552 MB / 0.525 GB, free: 6.242 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/0.5308, allocations: 35.81 kB / 0.525 GB, free: 6.207 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003733/0.5345, allocations: 3.918 MB / 0.5289 GB, free: 1.809 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006641/0.5352, allocations: 0.6245 MB / 0.5295 GB, free: 1.18 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000419/0.5356, allocations: 79.97 kB / 0.5296 GB, free: 1.102 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.5367, allocations: 79.83 kB / 0.5296 GB, free: 1.027 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002935/0.537, allocations: 261.1 kB / 0.5299 GB, free: 0.7734 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.5371, allocations: 87.98 kB / 0.53 GB, free: 0.6875 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001783/0.5389, allocations: 2.255 MB / 0.5322 GB, free: 14.45 MB / 394.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5389, allocations: 4.031 kB / 0.5322 GB, free: 14.44 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.004778/0.5437, allocations: 2.023 MB / 0.5341 GB, free: 12.42 MB / 394.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.0003826/0.5441, allocations: 239.6 kB / 0.5344 GB, free: 12.17 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.004299/0.5484, allocations: 4.157 MB / 0.5384 GB, free: 7.988 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001686/0.5485, allocations: 132.2 kB / 0.5386 GB, free: 7.852 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00139/0.5499, allocations: 1.373 MB / 0.5399 GB, free: 6.453 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003208/0.5531, allocations: 1.311 MB / 0.5412 GB, free: 5.168 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01462/0.5678, allocations: 14.03 MB / 0.5549 GB, free: 6.738 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001927/0.5697, allocations: 2.278 MB / 0.5571 GB, free: 4.43 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.001921/0.5716, allocations: 0.8335 MB / 0.5579 GB, free: 3.59 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00153/0.5731, allocations: 1.003 MB / 0.5589 GB, free: 2.582 MB / 410.8 MB Notification: Performance of SimCode: time 1.233e-06/0.5731, allocations: 0 / 0.5589 GB, free: 2.582 MB / 410.8 MB Notification: Performance of Templates: time 0.2289/0.8021, allocations: 69.48 MB / 0.6268 GB, free: 116.4 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.472649977076799]