Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.0009708/0.0009708, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0009976/0.0009976, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.9695/0.9695, 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.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 273.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.353e-05, allocations: 5.125 kB / 273.5 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.1204/0.1205, allocations: 19.23 MB / 292.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01125/0.1317, allocations: 6.355 MB / 299.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00334/0.1351, allocations: 205.5 kB / 299.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006688/0.1417, allocations: 6.69 MB / 306 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007282/0.149, allocations: 3.663 MB / 309.6 MB, free: 8.949 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002769/0.1518, allocations: 1.923 MB / 311.5 MB, free: 7.742 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01159/0.1634, allocations: 15.04 MB / 326.6 MB, free: 11.77 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008397/0.1718, allocations: 7.573 MB / 334.2 MB, free: 4.086 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01126/0.183, allocations: 8.368 MB / 342.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007496/0.1905, allocations: 5.663 MB / 348.2 MB, free: 6.027 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002439/0.193, allocations: 0.7852 MB / 349 MB, free: 5.242 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003563/0.1965, allocations: 1.748 MB / 350.7 MB, free: 3.492 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004871/0.2014, allocations: 4.789 MB / 355.5 MB, free: 14.69 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005484/0.2069, allocations: 2.93 MB / 358.4 MB, free: 11.75 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01106/0.2179, allocations: 9.305 MB / 367.7 MB, free: 2.414 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.218, allocations: 0 / 367.7 MB, free: 2.414 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.218, allocations: 0 / 367.7 MB, free: 2.414 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004637/0.2184, allocations: 0 / 367.7 MB, free: 2.414 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: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.01561/0.234, allocations: 9.389 MB / 377.1 MB, free: 8.945 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.2341, allocations: 11.98 kB / 377.1 MB, free: 8.934 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006963/0.241, allocations: 2.26 MB / 379.4 MB, free: 6.672 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007963/0.249, allocations: 5.176 MB / 384.6 MB, free: 1.418 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003188/0.2493, allocations: 448 kB / 385 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001502/0.2508, allocations: 0.6093 MB / 385.6 MB, free: 380 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01465/0.2655, allocations: 8.726 MB / 394.3 MB, free: 6.516 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002654/0.2657, allocations: 99.2 kB / 394.4 MB, free: 6.418 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000584/0.2663, allocations: 279.8 kB / 394.7 MB, free: 6.145 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002249/0.2686, allocations: 2.613 MB / 397.3 MB, free: 3.527 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009803/0.2784, allocations: 4.207 MB / 401.5 MB, free: 15.29 MB / 362.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.2814/0.5598, allocations: 52.09 MB / 453.6 MB, free: 76.34 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00992/0.5697, allocations: 3.274 MB / 456.9 MB, free: 76.1 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001676/0.5714, allocations: 0.7532 MB / 457.7 MB, free: 76.06 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01021/0.5816, allocations: 6.793 MB / 464.4 MB, free: 75.39 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.5816, allocations: 63.94 kB / 464.5 MB, free: 75.35 MB / 378.8 MB Notification: Performance of pre-optimization done (n=260): time 5.58e-06/0.5816, allocations: 0 / 464.5 MB, free: 75.35 MB / 378.8 MB Notification: Performance of matching and sorting (n=316): time 0.03756/0.6192, allocations: 15.79 MB / 480.3 MB, free: 71.53 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/0.6193, allocations: 393.9 kB / 480.7 MB, free: 71.06 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00408/0.6234, allocations: 5.685 MB / 486.4 MB, free: 66.66 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002697/0.6236, allocations: 73.7 kB / 486.4 MB, free: 66.58 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001397/0.625, allocations: 4.787 MB / 491.2 MB, free: 62.13 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006927/0.6257, allocations: 1.228 MB / 492.5 MB, free: 60.89 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001321/0.627, allocations: 1.763 MB / 494.2 MB, free: 59.12 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.092e-05/0.6271, allocations: 304.6 kB / 494.5 MB, free: 58.82 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002442/0.6295, allocations: 1.175 MB / 495.7 MB, free: 57.64 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004056/0.6336, allocations: 6.326 MB / 0.4902 GB, free: 48.86 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006945/0.6405, allocations: 8.105 MB / 0.4982 GB, free: 38.79 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001247/0.6406, allocations: 48 kB / 0.4982 GB, free: 38.74 MB / 378.8 MB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.01148/0.6521, allocations: 6.678 MB / 0.5047 GB, free: 31.98 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.675e-05/0.6522, allocations: 88.02 kB / 0.5048 GB, free: 31.89 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001764/0.6524, allocations: 176 kB / 0.505 GB, free: 31.72 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003736/0.6561, allocations: 1.32 MB / 0.5063 GB, free: 30.39 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005328/0.6614, allocations: 2.16 MB / 0.5084 GB, free: 28.22 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006913/0.6684, allocations: 5.629 MB / 0.5139 GB, free: 22.41 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007159/0.6755, allocations: 379.7 kB / 0.5142 GB, free: 22.04 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001117/0.6766, allocations: 448 kB / 0.5147 GB, free: 21.6 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 802 * Number of states: 0 () * Number of discrete variables: 72 (rod3.color[3],rod3.color[2],rod3.color[1],rod1.color[3],rod1.color[2],rod1.color[1],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 (1132): * Single equations (assignments): 1125 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 1 system {1} * 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,46,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003118/0.6798, allocations: 0.8622 MB / 0.5155 GB, free: 20.72 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001474/0.6812, allocations: 439.5 kB / 0.5159 GB, free: 20.29 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004662/0.6859, allocations: 2.309 MB / 0.5182 GB, free: 17.92 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.489e-05/0.6859, allocations: 32 kB / 0.5182 GB, free: 17.89 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/0.6859, allocations: 12 kB / 0.5182 GB, free: 17.88 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-05/0.686, allocations: 11.95 kB / 0.5182 GB, free: 17.86 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01886/0.7048, allocations: 9.443 MB / 0.5275 GB, free: 8.023 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.295e-05/0.7048, allocations: 20 kB / 0.5275 GB, free: 8.004 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002305/0.7072, allocations: 0.8045 MB / 0.5283 GB, free: 7.199 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003423/0.7106, allocations: 1.084 MB / 0.5293 GB, free: 6.109 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002618/0.7108, allocations: 79.97 kB / 0.5294 GB, free: 6.031 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006278/0.7171, allocations: 5.141 MB / 0.5344 GB, free: 0.6992 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.596e-05/0.7171, allocations: 39.81 kB / 0.5345 GB, free: 0.6602 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007649/0.7248, allocations: 4.046 MB / 0.5384 GB, free: 12.12 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002047/0.7268, allocations: 0.6362 MB / 0.539 GB, free: 11.48 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001042/0.7279, allocations: 75.98 kB / 0.5391 GB, free: 11.41 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002052/0.7299, allocations: 92.02 kB / 0.5392 GB, free: 11.32 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000599/0.7305, allocations: 277.1 kB / 0.5395 GB, free: 11.05 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002066/0.7307, allocations: 84 kB / 0.5395 GB, free: 10.96 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.003475/0.7342, allocations: 2.319 MB / 0.5418 GB, free: 8.664 MB / 394.8 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7342, allocations: 0 / 0.5418 GB, free: 8.664 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.008498/0.7427, allocations: 2.09 MB / 0.5438 GB, free: 6.574 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * 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 (260): * Single equations (assignments): 253 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 1 system {1} * 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,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006285/0.7433, allocations: 239.9 kB / 0.5441 GB, free: 6.328 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.008056/0.7514, allocations: 4.195 MB / 0.5482 GB, free: 2.125 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0003673/0.7518, allocations: 132.2 kB / 0.5483 GB, free: 1.98 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00267/0.7544, allocations: 1.34 MB / 0.5496 GB, free: 0.6289 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006984/0.7614, allocations: 1.351 MB / 0.5509 GB, free: 15.31 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02468/0.7861, allocations: 14.69 MB / 0.5653 GB, free: 232 kB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003291/0.7894, allocations: 2.377 MB / 0.5676 GB, free: 13.82 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.003176/0.7926, allocations: 0.8624 MB / 0.5684 GB, free: 12.95 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002324/0.7949, allocations: 1.054 MB / 0.5695 GB, free: 11.89 MB / 426.8 MB Notification: Performance of SimCode: time 2.054e-06/0.7949, allocations: 0 / 0.5695 GB, free: 11.89 MB / 426.8 MB Notification: Performance of Templates: time 0.1984/0.9933, allocations: 72.67 MB / 0.6404 GB, free: 105.5 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b/Engine1b.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.98648241488263]