Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.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.00142/0.00142, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001546/0.001546, allocations: 156.9 kB / 24.27 MB, free: 172 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 1.458/1.458, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 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.Elementary.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|wheel1.angles.1.|wheel1.angles.2.|wheel1.angles.3.|wheel1.der_angles.1.|wheel1.der_angles.2.|wheel1.der_angles.3.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|wheel1.angles.1.|wheel1.angles.2.|wheel1.angles.3.|wheel1.der_angles.1.|wheel1.der_angles.2.|wheel1.der_angles.3.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/2.992e-05, allocations: 2.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.009332/0.009362, allocations: 6.243 MB / 278.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007111/0.01647, allocations: 2.971 MB / 281.4 MB, free: 8.543 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006987/0.01717, allocations: 39.81 kB / 281.5 MB, free: 8.504 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002256/0.01943, allocations: 0.9378 MB / 282.4 MB, free: 7.562 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003365/0.02279, allocations: 1.416 MB / 283.8 MB, free: 6.141 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.02399, allocations: 0.5964 MB / 284.4 MB, free: 5.543 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005323/0.02931, allocations: 4.174 MB / 288.6 MB, free: 1.363 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.12/0.1493, allocations: 1.862 MB / 290.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002891/0.1522, allocations: 1.427 MB / 291.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002778/0.155, allocations: 1.698 MB / 293.6 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004486/0.1554, allocations: 183.2 kB / 293.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001987/0.1574, allocations: 0.9122 MB / 294.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001285/0.1587, allocations: 1.191 MB / 295.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001131/0.1598, allocations: 0.7236 MB / 296.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006175/0.166, allocations: 4.457 MB / 301 MB, free: 14.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.166, allocations: 1.375 kB / 301 MB, free: 14.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.166, allocations: 0 / 301 MB, free: 14.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.504e-05/0.1661, allocations: 3.5 kB / 301 MB, free: 14.88 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 947 * Number of variables: 947 Notification: Performance of Generate backend data structure: time 0.009085/0.1752, allocations: 3.388 MB / 304.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1752, allocations: 14.17 kB / 304.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006148/0.1814, allocations: 2.088 MB / 306.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00261/0.184, allocations: 1.45 MB / 308 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.621e-05/0.184, allocations: 129.4 kB / 308.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003221/0.1844, allocations: 171 kB / 308.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00739/0.1918, allocations: 6.599 MB / 314.9 MB, free: 5.574 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.445e-05/0.1918, allocations: 36.17 kB / 314.9 MB, free: 5.555 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002365/0.1921, allocations: 84.75 kB / 315 MB, free: 5.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001549/0.1936, allocations: 1.328 MB / 316.3 MB, free: 4.199 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008144/0.2017, allocations: 5.773 MB / 322.1 MB, free: 14.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03736/0.2391, allocations: 26.7 MB / 348.8 MB, free: 3.375 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006644/0.2458, allocations: 2.303 MB / 351.1 MB, free: 1.043 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002065/0.2478, allocations: 1.228 MB / 352.3 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000551/0.2484, allocations: 196.1 kB / 352.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.44e-05/0.2484, allocations: 50.53 kB / 352.6 MB, free: 15.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=129): time 3.557e-06/0.2484, allocations: 0 / 352.6 MB, free: 15.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=163): time 0.08039/0.3288, allocations: 21.39 MB / 373.9 MB, free: 10.15 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/0.329, allocations: 171.2 kB / 374.1 MB, free: 9.941 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00457/0.3335, allocations: 2.745 MB / 376.9 MB, free: 7.164 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003393/0.3339, allocations: 45.7 kB / 376.9 MB, free: 7.113 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001965/0.3358, allocations: 2.156 MB / 379.1 MB, free: 4.969 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009612/0.3368, allocations: 0.6529 MB / 379.7 MB, free: 4.324 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001689/0.3385, allocations: 0.9902 MB / 380.7 MB, free: 3.324 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003352/0.3388, allocations: 354 kB / 381 MB, free: 2.973 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003991/0.3428, allocations: 2.227 MB / 383.3 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007452/0.3503, allocations: 5.155 MB / 388.4 MB, free: 10.14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01309/0.3633, allocations: 7.973 MB / 396.4 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.49e-05/0.3634, allocations: 35.88 kB / 396.4 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02821/0.3917, allocations: 10.51 MB / 407 MB, free: 6.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.37e-05/0.3918, allocations: 48 kB / 407 MB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001462/0.3919, allocations: 104 kB / 407.1 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01603/0.4079, allocations: 4.16 MB / 411.3 MB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004242/0.4122, allocations: 1.088 MB / 412.3 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02448/0.4366, allocations: 12.68 MB / 425 MB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004489/0.4411, allocations: 365.9 kB / 425.4 MB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000804/0.4419, allocations: 308 kB / 425.7 MB, free: 3.305 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * Number of states: 0 () * Number of discrete variables: 15 (world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],wheel1.body.sphereColor[3],wheel1.body.sphereColor[2],wheel1.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (577): * Single equations (assignments): 566 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {(2,100.0%), (2,100.0%), (2,100.0%), (3,88.9%), (3,88.9%), (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 {(6,23,80.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003082/0.445, allocations: 1.469 MB / 427.1 MB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008893/0.4459, allocations: 282.3 kB / 427.4 MB, free: 1.555 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1511/0.597, allocations: 5.942 MB / 433.4 MB, free: 122.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.76e-05/0.5971, allocations: 30.75 kB / 433.4 MB, free: 122.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.232e-05/0.5971, allocations: 11.69 kB / 433.4 MB, free: 122.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.242e-05/0.5971, allocations: 9.828 kB / 433.4 MB, free: 122.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02697/0.6241, allocations: 12.51 MB / 445.9 MB, free: 118.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.419e-05/0.6241, allocations: 3.969 kB / 445.9 MB, free: 118.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.6252, allocations: 237.7 kB / 446.2 MB, free: 118.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01382/0.639, allocations: 4.831 MB / 451 MB, free: 117 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003382/0.6394, allocations: 51.89 kB / 451 MB, free: 117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01565/0.655, allocations: 12.66 MB / 463.7 MB, free: 104.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.655, allocations: 4 kB / 463.7 MB, free: 104.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01841/0.6734, allocations: 10.08 MB / 473.8 MB, free: 94.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005994/0.674, allocations: 235.5 kB / 474 MB, free: 94.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000359/0.6744, allocations: 34.5 kB / 474 MB, free: 94.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001689/0.6761, allocations: 217.8 kB / 474.3 MB, free: 93.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000414/0.6765, allocations: 120.8 kB / 474.4 MB, free: 93.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/0.6766, allocations: 55.91 kB / 474.4 MB, free: 93.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001803/0.6784, allocations: 1.574 MB / 476 MB, free: 92.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6784, allocations: 0 / 476 MB, free: 92.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003655/0.6821, allocations: 0.9058 MB / 476.9 MB, free: 91.28 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (wheel1.x,wheel1.y,wheel1.angles[1],wheel1.angles[2],wheel1.angles[3],wheel1.der_angles[1],wheel1.der_angles[2],wheel1.der_angles[3]) * 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 (105): * Single equations (assignments): 94 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {(2,100.0%), (2,100.0%), (3,88.9%), (2,100.0%), (3,88.9%), (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 {(6,19,80.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004547/0.6826, allocations: 180.5 kB / 477.1 MB, free: 91.11 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72:writable] Warning: Variable $DER.wheel1.der_angles[2] has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72:writable] Warning: Variable $DER.wheel1.der_angles[1] has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.007969/0.6905, allocations: 5.574 MB / 482.7 MB, free: 85.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6905, allocations: 0 / 482.7 MB, free: 85.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004053/0.6946, allocations: 2.276 MB / 484.9 MB, free: 83.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.6965, allocations: 283.7 kB / 485.2 MB, free: 82.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009778/0.7063, allocations: 7.29 MB / 492.5 MB, free: 75.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001641/0.7079, allocations: 1.745 MB / 494.3 MB, free: 73.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002646/0.7106, allocations: 1.487 MB / 495.7 MB, free: 72.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004793/0.7111, allocations: 188.4 kB / 495.9 MB, free: 72.23 MB / 378.7 MB Notification: Performance of SimCode: time 1.363e-06/0.7111, allocations: 0 / 495.9 MB, free: 72.23 MB / 378.7 MB Notification: Performance of Templates: time 0.05003/0.7611, allocations: 39.31 MB / 0.5227 GB, free: 33.36 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.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: 6.514725512010045]