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.001071/0.001071, allocations: 85.91 kB / 22.22 MB, free: 2.281 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.0012/0.0012, allocations: 158.4 kB / 25.61 MB, free: 8.914 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.9339/0.9339, allocations: 177 MB / 205.9 MB, free: 4.418 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 2.435e-06/2.435e-06, allocations: 4 kB / 274.2 MB, free: 4.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.565e-05, allocations: 2.312 kB / 274.2 MB, free: 4.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.02547/0.02549, allocations: 19.19 MB / 293.4 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01065/0.03614, allocations: 6.08 MB / 299.4 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003541/0.03968, allocations: 202.8 kB / 299.6 MB, free: 10.66 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007262/0.04694, allocations: 6.709 MB / 306.3 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007197/0.05414, allocations: 3.631 MB / 310 MB, free: 284 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002824/0.05696, allocations: 1.93 MB / 311.9 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01332/0.07028, allocations: 15.09 MB / 327 MB, free: 15.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00949/0.07977, allocations: 8.09 MB / 335.1 MB, free: 7.055 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1389/0.2186, allocations: 8.65 MB / 343.7 MB, free: 31.26 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008677/0.2273, allocations: 5.93 MB / 349.7 MB, free: 31.26 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002043/0.2294, allocations: 0.7831 MB / 350.4 MB, free: 31.26 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002567/0.2319, allocations: 1.694 MB / 352.1 MB, free: 31.26 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002931/0.2348, allocations: 4.799 MB / 356.9 MB, free: 31.26 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00354/0.2384, allocations: 2.929 MB / 359.9 MB, free: 31.26 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006895/0.2453, allocations: 9.309 MB / 369.2 MB, free: 30.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.2453, allocations: 0 / 369.2 MB, free: 30.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.2453, allocations: 0 / 369.2 MB, free: 30.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002461/0.2455, allocations: 3.344 kB / 369.2 MB, free: 30.09 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.014/0.2595, allocations: 10.32 MB / 379.5 MB, free: 24.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.2596, allocations: 10.09 kB / 379.5 MB, free: 24.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02164/0.2812, allocations: 5.084 MB / 384.6 MB, free: 19.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009035/0.2903, allocations: 5.484 MB / 390.1 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002097/0.2905, allocations: 444.6 kB / 390.5 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001192/0.2917, allocations: 0.6127 MB / 391.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01328/0.3049, allocations: 9.639 MB / 400.8 MB, free: 3.098 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001908/0.3051, allocations: 90.17 kB / 400.9 MB, free: 3.047 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000492/0.3056, allocations: 288.8 kB / 401.1 MB, free: 2.816 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001797/0.3074, allocations: 2.612 MB / 403.7 MB, free: 244 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009049/0.3165, allocations: 4.194 MB / 407.9 MB, free: 12.35 MB / 330.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.0658/0.3823, allocations: 71.06 MB / 479 MB, free: 5.605 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008797/0.3911, allocations: 3.427 MB / 482.4 MB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001428/0.3925, allocations: 0.9408 MB / 483.4 MB, free: 1.258 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01113/0.4036, allocations: 7.15 MB / 490.5 MB, free: 10.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/0.4037, allocations: 74.66 kB / 490.6 MB, free: 10.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=260): time 4.959e-06/0.4037, allocations: 0 / 490.6 MB, free: 10.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=316): time 0.1874/0.5911, allocations: 18.45 MB / 0.4971 GB, free: 139.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.314e-05/0.5912, allocations: 394.5 kB / 0.4975 GB, free: 139.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005735/0.5969, allocations: 6.26 MB / 0.5036 GB, free: 138.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003427/0.5973, allocations: 74.78 kB / 0.5037 GB, free: 138.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002279/0.5995, allocations: 5.809 MB / 0.5093 GB, free: 135.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008332/0.6004, allocations: 1.27 MB / 0.5106 GB, free: 134.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001663/0.602, allocations: 2.023 MB / 0.5126 GB, free: 134.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.994e-05/0.6021, allocations: 484.5 kB / 0.513 GB, free: 133.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.6035, allocations: 0.9499 MB / 0.5139 GB, free: 133.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003234/0.6067, allocations: 8.752 MB / 0.5225 GB, free: 123.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00557/0.6123, allocations: 10.28 MB / 0.5325 GB, free: 113.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.234e-05/0.6124, allocations: 52.08 kB / 0.5326 GB, free: 113.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.009978/0.6224, allocations: 7.811 MB / 0.5402 GB, free: 109.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.271e-05/0.6224, allocations: 80 kB / 0.5403 GB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001164/0.6226, allocations: 176 kB / 0.5405 GB, free: 109 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002966/0.6255, allocations: 1.327 MB / 0.5417 GB, free: 108 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003402/0.6289, allocations: 2.039 MB / 0.5437 GB, free: 106.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005515/0.6344, allocations: 6.946 MB / 0.5505 GB, free: 99.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004127/0.6386, allocations: 387.7 kB / 0.5509 GB, free: 98.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003787/0.6389, allocations: 448 kB / 0.5513 GB, free: 98.47 MB / 410.7 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.001961/0.6409, allocations: 0.8939 MB / 0.5522 GB, free: 97.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008134/0.6417, allocations: 0.7185 MB / 0.5529 GB, free: 96.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003527/0.6452, allocations: 2.63 MB / 0.5555 GB, free: 94.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.188e-05/0.6453, allocations: 32 kB / 0.5555 GB, free: 94.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.6453, allocations: 9.203 kB / 0.5555 GB, free: 94.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/0.6453, allocations: 19.95 kB / 0.5555 GB, free: 94.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01352/0.6588, allocations: 10.97 MB / 0.5662 GB, free: 82.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.689e-05/0.6588, allocations: 20 kB / 0.5663 GB, free: 82.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.6599, allocations: 477.6 kB / 0.5667 GB, free: 82.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00268/0.6626, allocations: 1.089 MB / 0.5678 GB, free: 81.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001612/0.6627, allocations: 76 kB / 0.5678 GB, free: 81.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005017/0.6678, allocations: 6.454 MB / 0.5741 GB, free: 74.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/0.6678, allocations: 35.88 kB / 0.5742 GB, free: 74.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005495/0.6733, allocations: 4.752 MB / 0.5788 GB, free: 69.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/0.6746, allocations: 0.6712 MB / 0.5795 GB, free: 68.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006064/0.6752, allocations: 79.98 kB / 0.5796 GB, free: 68.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/0.6766, allocations: 92 kB / 0.5796 GB, free: 68.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003514/0.677, allocations: 281 kB / 0.5799 GB, free: 67.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.6771, allocations: 84 kB / 0.58 GB, free: 67.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002789/0.6799, allocations: 2.715 MB / 0.5826 GB, free: 65.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6799, allocations: 0 / 0.5826 GB, free: 65.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005814/0.6857, allocations: 2.082 MB / 0.5847 GB, free: 63.08 MB / 410.7 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.0004359/0.6861, allocations: 254.4 kB / 0.5849 GB, free: 62.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005165/0.6913, allocations: 4.589 MB / 0.5894 GB, free: 58.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/0.6913, allocations: 4 kB / 0.5894 GB, free: 58.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001698/0.693, allocations: 1.525 MB / 0.5909 GB, free: 56.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003605/0.6966, allocations: 0.9874 MB / 0.5919 GB, free: 55.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01582/0.7124, allocations: 14.94 MB / 0.6064 GB, free: 40.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001905/0.7143, allocations: 2.385 MB / 0.6088 GB, free: 37.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002277/0.7166, allocations: 0.874 MB / 0.6096 GB, free: 37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001542/0.7181, allocations: 1.146 MB / 0.6107 GB, free: 35.85 MB / 410.7 MB Notification: Performance of SimCode: time 1.904e-06/0.7181, allocations: 0 / 0.6107 GB, free: 35.85 MB / 410.7 MB Notification: Performance of Templates: time 0.204/0.9221, allocations: 74.33 MB / 0.6833 GB, free: 93.62 MB / 410.7 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: 5.260084016714245]