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.0008993/0.0008993, allocations: 80.8 kB / 21.49 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.0009218/0.0009218, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.8819/0.8819, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.332e-06/1.332e-06, allocations: 0 / 273.5 MB, free: 1.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166e-05/1.299e-05, allocations: 2.312 kB / 273.5 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.1088/0.1088, allocations: 18.19 MB / 291.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009769/0.1185, allocations: 6.141 MB / 297.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00183/0.1204, allocations: 193.1 kB / 298 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005528/0.1259, allocations: 6.265 MB / 304.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004487/0.1304, allocations: 3.584 MB / 307.8 MB, free: 9.668 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.1323, allocations: 1.828 MB / 309.7 MB, free: 8.527 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00872/0.141, allocations: 14.74 MB / 324.4 MB, free: 13.87 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006798/0.1478, allocations: 7.876 MB / 332.3 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008274/0.1561, allocations: 8.321 MB / 340.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004565/0.1607, allocations: 5.48 MB / 346.1 MB, free: 8.398 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007874/0.1615, allocations: 0.7539 MB / 346.8 MB, free: 7.645 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.1633, allocations: 1.654 MB / 348.5 MB, free: 5.988 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002608/0.1659, allocations: 4.606 MB / 353.1 MB, free: 1.367 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002171/0.1681, allocations: 2.805 MB / 355.9 MB, free: 14.55 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006276/0.1744, allocations: 8.966 MB / 364.9 MB, free: 5.559 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1744, allocations: 3.938 kB / 364.9 MB, free: 5.555 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.031e-06/0.1744, allocations: 0 / 364.9 MB, free: 5.555 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001278/0.1745, allocations: 4 kB / 364.9 MB, free: 5.551 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.009197/0.1837, allocations: 9.013 MB / 373.9 MB, free: 12.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.1837, allocations: 8.031 kB / 373.9 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006133/0.1899, allocations: 2.225 MB / 376.1 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005649/0.1955, allocations: 5.014 MB / 381.1 MB, free: 5.129 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/0.1957, allocations: 427.4 kB / 381.6 MB, free: 4.711 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006339/0.1964, allocations: 0.582 MB / 382.1 MB, free: 4.129 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008389/0.2047, allocations: 8.389 MB / 390.5 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001481/0.2049, allocations: 99.2 kB / 390.6 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004234/0.2053, allocations: 263.8 kB / 390.9 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002019/0.2073, allocations: 2.51 MB / 393.4 MB, free: 7.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006271/0.2136, allocations: 4.063 MB / 397.5 MB, free: 3.648 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.2194/0.433, allocations: 50.86 MB / 448.3 MB, free: 77.77 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006825/0.4399, allocations: 3.077 MB / 451.4 MB, free: 77.54 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009655/0.4408, allocations: 0.7281 MB / 452.1 MB, free: 77.5 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008403/0.4492, allocations: 6.634 MB / 458.8 MB, free: 76.82 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.4493, allocations: 67.25 kB / 458.8 MB, free: 76.78 MB / 378.8 MB Notification: Performance of pre-optimization done (n=248): time 4.529e-06/0.4493, allocations: 3.688 kB / 458.8 MB, free: 76.78 MB / 378.8 MB Notification: Performance of matching and sorting (n=298): time 0.03367/0.4829, allocations: 14.94 MB / 473.8 MB, free: 74.25 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.483, allocations: 393.8 kB / 474.2 MB, free: 73.79 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003534/0.4865, allocations: 5.553 MB / 479.7 MB, free: 69.57 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001303/0.4867, allocations: 65.7 kB / 479.8 MB, free: 69.5 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001166/0.4878, allocations: 4.648 MB / 484.4 MB, free: 65.44 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004428/0.4883, allocations: 1.161 MB / 485.6 MB, free: 64.28 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001111/0.4894, allocations: 1.724 MB / 487.3 MB, free: 62.54 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 2.294e-05/0.4894, allocations: 301.1 kB / 487.6 MB, free: 62.25 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/0.491, allocations: 1.143 MB / 488.7 MB, free: 61.1 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002351/0.4933, allocations: 6.233 MB / 495 MB, free: 52.44 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003759/0.4971, allocations: 7.927 MB / 0.4911 GB, free: 42.63 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.949e-05/0.4971, allocations: 48 kB / 0.4912 GB, free: 42.58 MB / 378.8 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.006044/0.5031, allocations: 6.546 MB / 0.4976 GB, free: 35.95 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.337e-05/0.5032, allocations: 83.5 kB / 0.4976 GB, free: 35.87 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.767e-05/0.5033, allocations: 175.9 kB / 0.4978 GB, free: 35.7 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002451/0.5057, allocations: 1.246 MB / 0.499 GB, free: 34.43 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00279/0.5085, allocations: 1.985 MB / 0.501 GB, free: 32.45 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004619/0.5131, allocations: 5.46 MB / 0.5063 GB, free: 26.79 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00295/0.5161, allocations: 379.7 kB / 0.5066 GB, free: 26.41 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003184/0.5164, allocations: 436 kB / 0.5071 GB, free: 25.99 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.001447/0.5179, allocations: 0.835 MB / 0.5079 GB, free: 25.14 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004738/0.5183, allocations: 419.5 kB / 0.5083 GB, free: 24.73 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002729/0.5211, allocations: 2.196 MB / 0.5104 GB, free: 22.49 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/0.5211, allocations: 35.98 kB / 0.5105 GB, free: 22.46 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.5211, allocations: 8 kB / 0.5105 GB, free: 22.45 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.5211, allocations: 11.95 kB / 0.5105 GB, free: 22.44 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00959/0.5307, allocations: 9.112 MB / 0.5194 GB, free: 12.93 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.5307, allocations: 20 kB / 0.5194 GB, free: 12.91 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008258/0.5315, allocations: 436.1 kB / 0.5198 GB, free: 12.48 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002422/0.5339, allocations: 1.286 MB / 0.5211 GB, free: 11.18 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/0.5341, allocations: 79.97 kB / 0.5211 GB, free: 11.1 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003793/0.5379, allocations: 4.537 MB / 0.5256 GB, free: 6.363 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/0.5379, allocations: 34.72 kB / 0.5256 GB, free: 6.332 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003622/0.5415, allocations: 3.921 MB / 0.5294 GB, free: 1.934 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006136/0.5421, allocations: 0.6206 MB / 0.53 GB, free: 1.309 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004516/0.5426, allocations: 79.92 kB / 0.5301 GB, free: 1.23 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.5437, allocations: 79.98 kB / 0.5302 GB, free: 1.152 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00025/0.544, allocations: 265.1 kB / 0.5304 GB, free: 0.8945 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.5441, allocations: 83.98 kB / 0.5305 GB, free: 0.8125 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001725/0.5458, allocations: 2.259 MB / 0.5327 GB, free: 14.56 MB / 394.8 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5458, allocations: 0 / 0.5327 GB, free: 14.56 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.004808/0.5506, allocations: 2.023 MB / 0.5347 GB, free: 12.54 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.0003723/0.551, allocations: 235.6 kB / 0.5349 GB, free: 12.3 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.004249/0.5552, allocations: 4.167 MB / 0.539 GB, free: 8.105 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 0.00017/0.5554, allocations: 138.9 kB / 0.5391 GB, free: 7.965 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001408/0.5568, allocations: 1.364 MB / 0.5405 GB, free: 6.574 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003229/0.56, allocations: 1.314 MB / 0.5418 GB, free: 5.289 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/0.5738, allocations: 14.02 MB / 0.5554 GB, free: 6.871 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001902/0.5757, allocations: 2.282 MB / 0.5577 GB, free: 4.559 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.001813/0.5775, allocations: 0.8297 MB / 0.5585 GB, free: 3.723 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001478/0.5789, allocations: 0.999 MB / 0.5595 GB, free: 2.715 MB / 410.8 MB Notification: Performance of SimCode: time 1.343e-06/0.579, allocations: 0 / 0.5595 GB, free: 2.715 MB / 410.8 MB Notification: Performance of Templates: time 0.1816/0.7606, allocations: 69.49 MB / 0.6273 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 -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.483813769184053]