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.001015/0.001015, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001691/0.001691, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.9502/0.9502, allocations: 177 MB / 204.8 MB, free: 5.609 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.953e-06/1.953e-06, allocations: 0 / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.657e-05, allocations: 5.125 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.1558/0.1558, allocations: 19.95 MB / 292.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01268/0.1685, allocations: 6.116 MB / 299 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004189/0.1727, allocations: 204.8 kB / 299.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008475/0.1811, allocations: 6.859 MB / 306.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008897/0.19, allocations: 3.623 MB / 309.7 MB, free: 8.863 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003074/0.1931, allocations: 1.914 MB / 311.6 MB, free: 7.664 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01347/0.2066, allocations: 15.1 MB / 326.7 MB, free: 11.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01016/0.2167, allocations: 8.068 MB / 334.8 MB, free: 3.668 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01111/0.2279, allocations: 5.808 MB / 340.6 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007846/0.2357, allocations: 5.963 MB / 346.6 MB, free: 7.871 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002247/0.2379, allocations: 0.7773 MB / 347.3 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003299/0.2412, allocations: 1.69 MB / 349 MB, free: 5.402 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004157/0.2454, allocations: 4.777 MB / 353.8 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004889/0.2503, allocations: 2.926 MB / 356.7 MB, free: 13.68 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01127/0.2616, allocations: 9.281 MB / 366 MB, free: 4.363 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2616, allocations: 0 / 366 MB, free: 4.363 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2616, allocations: 0 / 366 MB, free: 4.363 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004544/0.262, allocations: 0 / 366 MB, free: 4.363 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.01746/0.2795, allocations: 11.01 MB / 377 MB, free: 9.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/0.2795, allocations: 11.98 kB / 377 MB, free: 9.258 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0228/0.3023, allocations: 6.257 MB / 383.3 MB, free: 2.988 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0136/0.3159, allocations: 7.17 MB / 390.4 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003951/0.3163, allocations: 444 kB / 390.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001746/0.3181, allocations: 0.6093 MB / 391.5 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02071/0.3388, allocations: 10.68 MB / 402.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002716/0.339, allocations: 87.31 kB / 402.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006774/0.3397, allocations: 279.8 kB / 402.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003585/0.3433, allocations: 2.862 MB / 405.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01733/0.3606, allocations: 5.576 MB / 411 MB, free: 5.676 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.2877/0.6484, allocations: 71.66 MB / 482.6 MB, free: 56.58 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/0.6596, allocations: 5.169 MB / 487.8 MB, free: 56.39 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002357/0.6619, allocations: 1.45 MB / 489.2 MB, free: 56.33 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01131/0.6733, allocations: 7.663 MB / 496.9 MB, free: 53.67 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.634e-05/0.6733, allocations: 68.83 kB / 497 MB, free: 53.61 MB / 378.8 MB Notification: Performance of pre-optimization done (n=293): time 7.064e-06/0.6733, allocations: 0 / 497 MB, free: 53.61 MB / 378.8 MB Notification: Performance of matching and sorting (n=359): time 0.08606/0.7594, allocations: 41.02 MB / 0.5254 GB, free: 19.86 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.942e-05/0.7595, allocations: 398.1 kB / 0.5258 GB, free: 19.38 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006708/0.7662, allocations: 6.209 MB / 0.5318 GB, free: 13.4 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007559/0.7669, allocations: 85.7 kB / 0.5319 GB, free: 13.31 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002497/0.7694, allocations: 5.643 MB / 0.5374 GB, free: 8.242 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001261/0.7707, allocations: 1.42 MB / 0.5388 GB, free: 6.84 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001699/0.7724, allocations: 1.991 MB / 0.5408 GB, free: 4.832 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.44e-05/0.7724, allocations: 476.8 kB / 0.5412 GB, free: 4.363 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002154/0.7746, allocations: 1.584 MB / 0.5428 GB, free: 2.773 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005856/0.7804, allocations: 8.9 MB / 0.5514 GB, free: 6.691 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01174/0.7922, allocations: 11.25 MB / 0.5624 GB, free: 8.555 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001598/0.7923, allocations: 51.98 kB / 0.5625 GB, free: 8.504 MB / 410.8 MB Notification: Performance of matching and sorting (n=1220) (initialization): time 0.1795/0.9718, allocations: 12.72 MB / 0.5749 GB, free: 118.4 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.9719, allocations: 75.91 kB / 0.575 GB, free: 118.4 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002313/0.9722, allocations: 163.7 kB / 0.5751 GB, free: 118.4 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01424/0.9864, allocations: 5.402 MB / 0.5804 GB, free: 118.4 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004522/0.9909, allocations: 2.001 MB / 0.5824 GB, free: 118.3 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01935/1.01, allocations: 14.77 MB / 0.5968 GB, free: 112.4 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006165/1.016, allocations: 0.7069 MB / 0.5975 GB, free: 112.4 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001212/1.018, allocations: 0.5005 MB / 0.598 GB, free: 112.4 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 749 * 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 (1081): * Single equations (assignments): 1075 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,96,51.6%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.002726/1.02, allocations: 0.8777 MB / 0.5988 GB, free: 112.1 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001404/1.022, allocations: 0.7453 MB / 0.5996 GB, free: 112.1 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01264/1.034, allocations: 7.687 MB / 0.6071 GB, free: 110.1 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.535e-05/1.034, allocations: 42.31 kB / 0.6071 GB, free: 110.1 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.371e-05/1.034, allocations: 18.31 kB / 0.6071 GB, free: 110.1 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.969e-05/1.035, allocations: 19.44 kB / 0.6071 GB, free: 110.1 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02846/1.063, allocations: 17.63 MB / 0.6244 GB, free: 95.22 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.346e-05/1.063, allocations: 8 kB / 0.6244 GB, free: 95.21 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001336/1.064, allocations: 463.3 kB / 0.6248 GB, free: 94.76 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01138/1.076, allocations: 5.069 MB / 0.6298 GB, free: 89.68 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005071/1.076, allocations: 60 kB / 0.6298 GB, free: 89.62 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01655/1.093, allocations: 13.97 MB / 0.6435 GB, free: 75.54 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/1.093, allocations: 11.94 kB / 0.6435 GB, free: 75.52 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0156/1.108, allocations: 9.489 MB / 0.6527 GB, free: 66.2 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001682/1.11, allocations: 0.6833 MB / 0.6534 GB, free: 65.53 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007929/1.111, allocations: 64 kB / 0.6535 GB, free: 65.47 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002275/1.113, allocations: 423.3 kB / 0.6539 GB, free: 65.05 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006659/1.114, allocations: 266.6 kB / 0.6541 GB, free: 64.79 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002/1.114, allocations: 94.64 kB / 0.6542 GB, free: 64.7 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.00373/1.118, allocations: 2.908 MB / 0.657 GB, free: 61.81 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.81e-07/1.118, allocations: 0 / 0.657 GB, free: 61.81 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.006758/1.124, allocations: 2.486 MB / 0.6595 GB, free: 59.33 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (231): * Single equations (assignments): 225 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(7,90,55.1%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005838/1.125, allocations: 235.7 kB / 0.6597 GB, free: 59.11 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.00944/1.135, allocations: 6.933 MB / 0.6665 GB, free: 52.11 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/1.135, allocations: 0 / 0.6665 GB, free: 52.11 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004012/1.139, allocations: 3.078 MB / 0.6695 GB, free: 48.97 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004238/1.143, allocations: 0.9818 MB / 0.6704 GB, free: 48.03 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02145/1.164, allocations: 16.23 MB / 0.6863 GB, free: 31.59 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002456/1.167, allocations: 2.434 MB / 0.6887 GB, free: 29.13 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.003859/1.171, allocations: 2.224 MB / 0.6908 GB, free: 26.9 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009015/1.171, allocations: 404.4 kB / 0.6912 GB, free: 26.5 MB / 410.8 MB Notification: Performance of SimCode: time 2.255e-06/1.171, allocations: 0 / 0.6912 GB, free: 26.5 MB / 410.8 MB Notification: Performance of Templates: time 0.2452/1.417, allocations: 100.1 MB / 0.7889 GB, free: 87.59 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 -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: 6.1121592577546835]