Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.00173/0.00173, allocations: 76.08 kB / 21.18 MB, free: 3.383 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.001809/0.001809, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 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.9777/0.9777, allocations: 173.4 MB / 201.1 MB, free: 9.285 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.Engine1b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 268 MB, free: 6.355 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.131e-05/3.317e-05, allocations: 6.25 kB / 268 MB, free: 6.348 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.02335/0.02338, allocations: 20.03 MB / 288.1 MB, free: 2.227 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1475/0.1709, allocations: 6.111 MB / 294.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003091/0.174, allocations: 205.6 kB / 294.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007807/0.1818, allocations: 6.87 MB / 301.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006849/0.1886, allocations: 3.671 MB / 304.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002817/0.1915, allocations: 1.921 MB / 306.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01231/0.2038, allocations: 14.57 MB / 321.4 MB, free: 1.762 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009035/0.2128, allocations: 8.097 MB / 329.5 MB, free: 10.03 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008991/0.2218, allocations: 5.82 MB / 335.3 MB, free: 4.543 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007211/0.229, allocations: 5.969 MB / 341.3 MB, free: 15 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001908/0.2309, allocations: 0.7812 MB / 342.1 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002954/0.2339, allocations: 1.707 MB / 343.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004328/0.2382, allocations: 4.812 MB / 348.6 MB, free: 7.887 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004722/0.2429, allocations: 2.938 MB / 351.5 MB, free: 5.074 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01291/0.2558, allocations: 9.342 MB / 360.9 MB, free: 12.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.2558, allocations: 0 / 360.9 MB, free: 12.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2558, allocations: 4 kB / 360.9 MB, free: 12.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000434/0.2563, allocations: 0 / 360.9 MB, free: 12.11 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: 2489 * Number of variables: 2489 Notification: Performance of Generate backend data structure: time 0.01742/0.2737, allocations: 11.02 MB / 371.9 MB, free: 1.145 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.2737, allocations: 8.922 kB / 371.9 MB, free: 1.137 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02307/0.2968, allocations: 6.261 MB / 378.2 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01316/0.31, allocations: 7.163 MB / 385.3 MB, free: 3.633 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003516/0.3103, allocations: 456 kB / 385.8 MB, free: 3.188 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001701/0.312, allocations: 0.6133 MB / 386.4 MB, free: 2.574 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0178/0.3298, allocations: 10.69 MB / 397.1 MB, free: 6.379 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002352/0.33, allocations: 87.36 kB / 397.2 MB, free: 6.293 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006349/0.3307, allocations: 283.7 kB / 397.4 MB, free: 6.016 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002682/0.3334, allocations: 2.858 MB / 400.3 MB, free: 3.156 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01219/0.3455, allocations: 5.58 MB / 405.9 MB, free: 13.57 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.3054/0.651, allocations: 71.67 MB / 477.6 MB, free: 42.99 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01099/0.662, allocations: 5.198 MB / 482.8 MB, free: 42.79 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002302/0.6643, allocations: 1.454 MB / 484.2 MB, free: 42.73 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01149/0.6758, allocations: 7.655 MB / 491.9 MB, free: 41.48 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.752e-05/0.6758, allocations: 71.95 kB / 491.9 MB, free: 41.44 MB / 378.8 MB Notification: Performance of pre-optimization done (n=294): time 6.422e-06/0.6758, allocations: 4.938 kB / 491.9 MB, free: 41.44 MB / 378.8 MB Notification: Performance of matching and sorting (n=360): time 0.1029/0.7787, allocations: 41.07 MB / 0.5205 GB, free: 12.88 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.114e-05/0.7788, allocations: 402.2 kB / 0.5209 GB, free: 12.39 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006693/0.7855, allocations: 6.222 MB / 0.527 GB, free: 6.398 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006889/0.7862, allocations: 85.7 kB / 0.5271 GB, free: 6.309 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002123/0.7883, allocations: 5.646 MB / 0.5326 GB, free: 1.281 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001183/0.7895, allocations: 1.417 MB / 0.534 GB, free: 15.88 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002051/0.7915, allocations: 1.99 MB / 0.5359 GB, free: 13.88 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.7916, allocations: 480.8 kB / 0.5364 GB, free: 13.41 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002532/0.7942, allocations: 1.588 MB / 0.5379 GB, free: 11.81 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006354/0.8005, allocations: 8.9 MB / 0.5466 GB, free: 15.72 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01149/0.812, allocations: 11.26 MB / 0.5576 GB, free: 1.961 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001746/0.8122, allocations: 48 kB / 0.5576 GB, free: 1.914 MB / 410.8 MB Notification: Performance of matching and sorting (n=1221) (initialization): time 0.02697/0.8392, allocations: 12.74 MB / 0.5701 GB, free: 5.805 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.48e-05/0.8393, allocations: 76 kB / 0.5702 GB, free: 5.73 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001633/0.8394, allocations: 164 kB / 0.5703 GB, free: 5.57 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01569/0.8551, allocations: 5.385 MB / 0.5756 GB, free: 176 kB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1539/1.009, allocations: 1.997 MB / 0.5775 GB, free: 121.7 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02067/1.03, allocations: 14.85 MB / 0.592 GB, free: 116 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00688/1.037, allocations: 0.7107 MB / 0.5927 GB, free: 116 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001695/1.038, allocations: 0.4968 MB / 0.5932 GB, free: 116 MB / 426.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 (1082): * Single equations (assignments): 1076 * 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,97,55.1%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.003044/1.041, allocations: 0.8852 MB / 0.5941 GB, free: 115.8 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001577/1.043, allocations: 0.7428 MB / 0.5948 GB, free: 115.8 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01333/1.056, allocations: 7.698 MB / 0.6023 GB, free: 115.5 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.183e-05/1.056, allocations: 33.34 kB / 0.6023 GB, free: 115.5 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.288e-05/1.056, allocations: 19.94 kB / 0.6024 GB, free: 115.5 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.003e-05/1.056, allocations: 27.8 kB / 0.6024 GB, free: 115.5 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03027/1.087, allocations: 17.63 MB / 0.6196 GB, free: 110.9 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.208e-05/1.087, allocations: 9.594 kB / 0.6196 GB, free: 110.9 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001511/1.088, allocations: 465.3 kB / 0.6201 GB, free: 110.8 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01208/1.1, allocations: 5.075 MB / 0.625 GB, free: 108.3 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006429/1.101, allocations: 60 kB / 0.6251 GB, free: 108.2 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01717/1.118, allocations: 13.98 MB / 0.6387 GB, free: 94.25 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.118, allocations: 10.94 kB / 0.6387 GB, free: 94.25 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0161/1.134, allocations: 9.489 MB / 0.648 GB, free: 85.03 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003386/1.138, allocations: 1.333 MB / 0.6493 GB, free: 83.73 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001306/1.139, allocations: 68.91 kB / 0.6494 GB, free: 83.66 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002669/1.142, allocations: 415.3 kB / 0.6498 GB, free: 83.26 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007598/1.142, allocations: 268.8 kB / 0.65 GB, free: 83 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002035/1.143, allocations: 97.25 kB / 0.6501 GB, free: 82.91 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.003866/1.146, allocations: 2.913 MB / 0.653 GB, free: 80.01 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.6e-07/1.146, allocations: 0 / 0.653 GB, free: 80.01 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.01004/1.156, allocations: 2.532 MB / 0.6554 GB, free: 77.49 MB / 426.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 (232): * Single equations (assignments): 226 * 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.0009417/1.157, allocations: 247.6 kB / 0.6557 GB, free: 77.28 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.01051/1.168, allocations: 6.897 MB / 0.6624 GB, free: 70.79 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/1.168, allocations: 8.766 kB / 0.6624 GB, free: 70.78 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004205/1.172, allocations: 3.089 MB / 0.6654 GB, free: 67.68 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004995/1.177, allocations: 0.9862 MB / 0.6664 GB, free: 66.74 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02949/1.207, allocations: 16.19 MB / 0.6822 GB, free: 50.37 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002472/1.209, allocations: 2.434 MB / 0.6846 GB, free: 47.9 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.004867/1.214, allocations: 2.236 MB / 0.6868 GB, free: 45.66 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00127/1.215, allocations: 400.4 kB / 0.6871 GB, free: 45.27 MB / 426.8 MB Notification: Performance of SimCode: time 2.044e-06/1.215, allocations: 4 kB / 0.6871 GB, free: 45.27 MB / 426.8 MB Notification: Performance of Templates: time 0.2654/1.481, allocations: 100.1 MB / 0.7849 GB, free: 89.56 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.086838599760085]