Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001963/0.001963, allocations: 84.34 kB / 20.95 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002426/0.002426, allocations: 165.3 kB / 24.27 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.519/1.519, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.931e-05, allocations: 2.312 kB / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.009947/0.009976, allocations: 6.236 MB / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007027/0.017, allocations: 2.983 MB / 281.5 MB, free: 8.559 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/0.01846, allocations: 35.81 kB / 281.6 MB, free: 8.523 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002465/0.02092, allocations: 0.9378 MB / 282.5 MB, free: 7.582 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003596/0.02452, allocations: 1.428 MB / 283.9 MB, free: 6.148 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.02579, allocations: 0.5886 MB / 284.5 MB, free: 5.559 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00542/0.03121, allocations: 4.17 MB / 288.7 MB, free: 1.383 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1242/0.1554, allocations: 1.863 MB / 290.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002519/0.1579, allocations: 1.427 MB / 292 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002758/0.1607, allocations: 1.692 MB / 293.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005395/0.1612, allocations: 184.3 kB / 293.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002026/0.1633, allocations: 0.9124 MB / 294.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001477/0.1647, allocations: 1.191 MB / 296 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001266/0.166, allocations: 0.7243 MB / 296.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005237/0.1712, allocations: 4.46 MB / 301.1 MB, free: 14.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1712, allocations: 5.688 kB / 301.2 MB, free: 14.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1712, allocations: 0 / 301.2 MB, free: 14.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.54e-05/0.1713, allocations: 1.375 kB / 301.2 MB, free: 14.87 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.01011/0.1814, allocations: 3.384 MB / 304.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.1815, allocations: 10 kB / 304.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006146/0.1876, allocations: 2.097 MB / 306.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002784/0.1904, allocations: 1.443 MB / 308.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.244e-05/0.1905, allocations: 126.7 kB / 308.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003379/0.1908, allocations: 169.5 kB / 308.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008572/0.1994, allocations: 6.602 MB / 315 MB, free: 5.598 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.699e-05/0.1995, allocations: 41.48 kB / 315 MB, free: 5.574 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002578/0.1997, allocations: 85 kB / 315.1 MB, free: 5.516 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001625/0.2014, allocations: 1.322 MB / 316.4 MB, free: 4.223 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009842/0.2112, allocations: 5.772 MB / 322.2 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03935/0.2506, allocations: 26.71 MB / 348.9 MB, free: 3.391 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006694/0.2572, allocations: 2.299 MB / 351.2 MB, free: 1.059 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002094/0.2593, allocations: 1.232 MB / 352.4 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005648/0.2599, allocations: 195.5 kB / 352.6 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.31e-05/0.26, allocations: 50.38 kB / 352.7 MB, free: 15.58 MB / 314.7 MB Notification: Performance of pre-optimization done (n=129): time 4.348e-06/0.26, allocations: 0 / 352.7 MB, free: 15.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=163): time 0.07917/0.3391, allocations: 21.38 MB / 374 MB, free: 10.17 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.3393, allocations: 171.2 kB / 374.2 MB, free: 9.965 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004323/0.3436, allocations: 2.752 MB / 377 MB, free: 7.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002959/0.3439, allocations: 45.7 kB / 377 MB, free: 7.129 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002092/0.346, allocations: 2.157 MB / 379.2 MB, free: 4.984 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008896/0.3469, allocations: 0.6574 MB / 379.8 MB, free: 4.336 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001642/0.3485, allocations: 0.9875 MB / 380.8 MB, free: 3.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002188/0.3487, allocations: 349.9 kB / 381.2 MB, free: 2.992 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003765/0.3525, allocations: 2.231 MB / 383.4 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007024/0.3595, allocations: 5.149 MB / 388.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01217/0.3717, allocations: 7.971 MB / 396.5 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001154/0.3718, allocations: 28 kB / 396.5 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.0285/0.4003, allocations: 10.52 MB / 407.1 MB, free: 6.188 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.4004, allocations: 55.92 kB / 407.1 MB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001764/0.4006, allocations: 104 kB / 407.2 MB, free: 6.031 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0162/0.4168, allocations: 4.164 MB / 411.4 MB, free: 1.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004216/0.421, allocations: 1.088 MB / 412.5 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0244/0.4454, allocations: 12.67 MB / 425.1 MB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004529/0.45, allocations: 363.4 kB / 425.5 MB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001071/0.451, allocations: 308 kB / 425.8 MB, free: 3.332 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.003627/0.4547, allocations: 1.463 MB / 427.3 MB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009898/0.4556, allocations: 286.4 kB / 427.5 MB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1509/0.6065, allocations: 5.939 MB / 433.5 MB, free: 122.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001012/0.6066, allocations: 26.56 kB / 433.5 MB, free: 122.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-05/0.6067, allocations: 14.91 kB / 433.5 MB, free: 122.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.074e-05/0.6067, allocations: 6.906 kB / 433.5 MB, free: 122.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05007/0.6568, allocations: 12.52 MB / 446 MB, free: 118.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.284e-05/0.6568, allocations: 0 / 446 MB, free: 118.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002208/0.659, allocations: 241 kB / 446.3 MB, free: 118.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02669/0.6857, allocations: 4.833 MB / 451.1 MB, free: 117 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000489/0.6862, allocations: 51.89 kB / 451.2 MB, free: 117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01916/0.7054, allocations: 12.66 MB / 463.8 MB, free: 104.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.7054, allocations: 0 / 463.8 MB, free: 104.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01953/0.7249, allocations: 10.08 MB / 473.9 MB, free: 94.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000719/0.7256, allocations: 244.9 kB / 474.1 MB, free: 94.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007938/0.7264, allocations: 28 kB / 474.2 MB, free: 94.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002462/0.7289, allocations: 223.6 kB / 474.4 MB, free: 93.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005847/0.7294, allocations: 112.7 kB / 474.5 MB, free: 93.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000241/0.7297, allocations: 60.69 kB / 474.5 MB, free: 93.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002766/0.7325, allocations: 1.574 MB / 476.1 MB, free: 92.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.7325, allocations: 0 / 476.1 MB, free: 92.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005021/0.7375, allocations: 0.9026 MB / 477 MB, free: 91.34 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.0006916/0.7382, allocations: 178.2 kB / 477.2 MB, free: 91.16 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/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 4.1.0+maint.om/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.009484/0.7476, allocations: 5.572 MB / 482.8 MB, free: 85.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.7477, allocations: 0 / 482.8 MB, free: 85.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004596/0.7523, allocations: 2.283 MB / 485.1 MB, free: 83.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002621/0.7549, allocations: 287 kB / 485.3 MB, free: 83.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/0.7667, allocations: 7.295 MB / 492.6 MB, free: 75.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002704/0.7694, allocations: 1.739 MB / 494.4 MB, free: 73.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00302/0.7724, allocations: 1.49 MB / 495.9 MB, free: 72.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006436/0.7731, allocations: 184.4 kB / 496 MB, free: 72.29 MB / 378.7 MB Notification: Performance of SimCode: time 1.473e-06/0.7731, allocations: 0 / 496 MB, free: 72.29 MB / 378.7 MB Notification: Performance of Templates: time 0.05239/0.8255, allocations: 39.31 MB / 0.5228 GB, free: 33.41 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.606829199939966]