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.001315/0.001315, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 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.002128/0.002128, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 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 1.48/1.48, allocations: 230.3 MB / 258 MB, free: 8.254 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001878/0.001878, allocations: 63.89 kB / 378.8 MB, free: 2.762 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2501, allocations: 53.37 MB / 432.2 MB, free: 7.238 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.02369/0.2738, allocations: 20.55 MB / 452.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01385/0.2876, allocations: 6.236 MB / 458.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00401/0.2916, allocations: 206.8 kB / 459.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01267/0.3043, allocations: 6.433 MB / 465.6 MB, free: 5.691 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008995/0.3133, allocations: 3.51 MB / 469.1 MB, free: 2.168 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004042/0.3173, allocations: 1.654 MB / 470.7 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01977/0.3371, allocations: 13 MB / 483.7 MB, free: 3.484 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008722/0.3458, allocations: 5.766 MB / 489.5 MB, free: 13.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006636/0.3525, allocations: 3.809 MB / 493.3 MB, free: 9.812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008554/0.361, allocations: 5.352 MB / 498.7 MB, free: 4.445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002905/0.3639, allocations: 0.7461 MB / 499.4 MB, free: 3.699 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005325/0.3693, allocations: 1.74 MB / 0.4894 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006996/0.3763, allocations: 4.504 MB / 0.4938 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008658/0.3849, allocations: 4.639 MB / 0.4983 GB, free: 8.777 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02155/0.4065, allocations: 14.17 MB / 0.5122 GB, free: 10.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4065, allocations: 4 kB / 0.5122 GB, free: 10.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4065, allocations: 0 / 0.5122 GB, free: 10.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005922/0.4071, allocations: 0 / 0.5122 GB, free: 10.55 MB / 430.1 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.02965/0.4367, allocations: 10.2 MB / 0.5221 GB, free: 280 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.4368, allocations: 12.03 kB / 0.5221 GB, free: 268 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04887/0.4856, allocations: 5.323 MB / 0.5273 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02089/0.5065, allocations: 8.004 MB / 0.5352 GB, free: 2.832 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005056/0.507, allocations: 445.1 kB / 0.5356 GB, free: 2.398 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002487/0.5095, allocations: 0.609 MB / 0.5362 GB, free: 1.789 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4326/0.9421, allocations: 17.14 MB / 0.5529 GB, free: 86.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002982/0.9424, allocations: 98.75 kB / 0.553 GB, free: 86.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009733/0.9433, allocations: 275.4 kB / 0.5533 GB, free: 86.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003802/0.9471, allocations: 2.862 MB / 0.5561 GB, free: 85.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02589/0.973, allocations: 14.03 MB / 0.5698 GB, free: 72.7 MB / 446.1 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.07973/1.053, allocations: 69.83 MB / 0.638 GB, free: 1.879 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02226/1.075, allocations: 7.507 MB / 0.6453 GB, free: 10.33 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007054/1.082, allocations: 4.353 MB / 0.6495 GB, free: 5.969 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02591/1.108, allocations: 12.11 MB / 0.6614 GB, free: 9.969 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.092e-05/1.108, allocations: 72.44 kB / 0.6614 GB, free: 9.891 MB / 478.1 MB Notification: Performance of pre-optimization done (n=293): time 7.293e-06/1.108, allocations: 4 kB / 0.6614 GB, free: 9.887 MB / 478.1 MB Notification: Performance of matching and sorting (n=359): time 0.223/1.331, allocations: 52.63 MB / 0.7128 GB, free: 5.719 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002331/1.331, allocations: 398.2 kB / 0.7132 GB, free: 5.242 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01037/1.342, allocations: 7.277 MB / 0.7203 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005901/1.342, allocations: 85.64 kB / 0.7204 GB, free: 14 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004143/1.346, allocations: 5.382 MB / 0.7257 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001589/1.348, allocations: 1.387 MB / 0.727 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002865/1.351, allocations: 1.925 MB / 0.7289 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001193/1.351, allocations: 305.1 kB / 0.7292 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00691/1.358, allocations: 4.711 MB / 0.7338 GB, free: 412 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01096/1.369, allocations: 9.546 MB / 0.7431 GB, free: 4.516 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2651/1.634, allocations: 15 MB / 0.7578 GB, free: 170.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001386/1.634, allocations: 46.75 kB / 0.7578 GB, free: 170.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=1220) (initialization): time 0.0407/1.675, allocations: 20.42 MB / 0.7777 GB, free: 164.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.679e-05/1.675, allocations: 74.91 kB / 0.7778 GB, free: 164.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001462/1.675, allocations: 166.4 kB / 0.778 GB, free: 164.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02127/1.696, allocations: 7.32 MB / 0.7851 GB, free: 163.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006575/1.703, allocations: 2.01 MB / 0.7871 GB, free: 163 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04611/1.749, allocations: 36.28 MB / 0.8225 GB, free: 127.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008498/1.757, allocations: 0.5979 MB / 0.8231 GB, free: 127.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001697/1.759, allocations: 0.5039 MB / 0.8236 GB, free: 126.6 MB / 0.545 GB 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.007008/1.766, allocations: 3.598 MB / 0.8271 GB, free: 123.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002018/1.768, allocations: 0.6885 MB / 0.8278 GB, free: 122.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02994/1.798, allocations: 13.84 MB / 0.8413 GB, free: 108.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.778e-05/1.798, allocations: 39.83 kB / 0.8413 GB, free: 108.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.433e-05/1.798, allocations: 20 kB / 0.8413 GB, free: 108.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-05/1.798, allocations: 19.88 kB / 0.8414 GB, free: 108.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05256/1.851, allocations: 27.58 MB / 0.8683 GB, free: 80.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.466e-05/1.851, allocations: 4 kB / 0.8683 GB, free: 80.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002511/1.853, allocations: 467.3 kB / 0.8687 GB, free: 80.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02129/1.875, allocations: 6.972 MB / 0.8755 GB, free: 73.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001034/1.876, allocations: 64.19 kB / 0.8756 GB, free: 73.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04536/1.921, allocations: 35.05 MB / 0.9098 GB, free: 38.28 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/1.921, allocations: 7.938 kB / 0.9098 GB, free: 38.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03722/1.958, allocations: 19.65 MB / 0.929 GB, free: 18.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002941/1.961, allocations: 0.6621 MB / 0.9297 GB, free: 17.79 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003218/1.965, allocations: 67.94 kB / 0.9297 GB, free: 17.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005737/1.97, allocations: 323.6 kB / 0.9301 GB, free: 17.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001716/1.972, allocations: 262.6 kB / 0.9303 GB, free: 17.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008738/1.973, allocations: 103.6 kB / 0.9304 GB, free: 17.05 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.009565/1.982, allocations: 4.646 MB / 0.9349 GB, free: 12.44 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.4e-07/1.982, allocations: 0 / 0.9349 GB, free: 12.44 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0128/1.995, allocations: 2.204 MB / 0.9371 GB, free: 10.25 MB / 0.545 GB 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.001482/1.997, allocations: 218.8 kB / 0.9373 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02092/2.018, allocations: 11.51 MB / 0.9485 GB, free: 14.49 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.906e-05/2.018, allocations: 4 kB / 0.9485 GB, free: 14.48 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.2586/2.276, allocations: 4.899 MB / 0.9533 GB, free: 194.3 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006922/2.283, allocations: 1.016 MB / 0.9543 GB, free: 194.2 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03473/2.318, allocations: 20.76 MB / 0.9746 GB, free: 188.7 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006512/2.324, allocations: 5.731 MB / 0.9802 GB, free: 186.9 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005941/2.33, allocations: 2.689 MB / 0.9828 GB, free: 186.8 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/2.332, allocations: 410.1 kB / 0.9832 GB, free: 186.8 MB / 0.5607 GB Notification: Performance of SimCode: time 1.262e-06/2.332, allocations: 0 / 0.9832 GB, free: 186.8 MB / 0.5607 GB Notification: Performance of Templates: time 0.1434/2.475, allocations: 102.2 MB / 1.083 GB, free: 88.95 MB / 0.5607 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.76879573892802]