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.001215/0.001215, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.005305/0.005305, allocations: 160.2 kB / 24.7 MB, free: 8.879 MB / 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 0.8738/0.8738, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 2.194e-06/2.194e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.183e-05/3.402e-05, allocations: 2.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.005637/0.005671, allocations: 6.256 MB / 332.1 MB, free: 9.152 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005187/0.01086, allocations: 3.002 MB / 335.1 MB, free: 6.141 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008763/0.01173, allocations: 31.88 kB / 335.1 MB, free: 6.109 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001478/0.01321, allocations: 0.9222 MB / 336 MB, free: 5.184 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002615/0.01583, allocations: 1.408 MB / 337.5 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008688/0.0167, allocations: 0.5886 MB / 338 MB, free: 3.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003687/0.02038, allocations: 4.157 MB / 342.2 MB, free: 15.01 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/0.02228, allocations: 1.796 MB / 344 MB, free: 13.2 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001934/0.02421, allocations: 1.426 MB / 345.4 MB, free: 11.78 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001808/0.02602, allocations: 1.699 MB / 347.1 MB, free: 10.07 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003252/0.02635, allocations: 184 kB / 347.3 MB, free: 9.895 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001522/0.02787, allocations: 0.9163 MB / 348.2 MB, free: 8.977 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007663/0.02863, allocations: 1.192 MB / 349.4 MB, free: 7.781 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000669/0.0293, allocations: 0.7242 MB / 350.1 MB, free: 7.055 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003949/0.03325, allocations: 4.454 MB / 354.6 MB, free: 2.586 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.03326, allocations: 0 / 354.6 MB, free: 2.586 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.03326, allocations: 0 / 354.6 MB, free: 2.586 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.405e-05/0.03335, allocations: 0 / 354.6 MB, free: 2.586 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: 947 * Number of variables: 947 Notification: Performance of Generate backend data structure: time 0.006416/0.03977, allocations: 3.399 MB / 358 MB, free: 15.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.03982, allocations: 8.031 kB / 358 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003653/0.04347, allocations: 1.699 MB / 359.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002391/0.04586, allocations: 1.422 MB / 361.1 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.105e-05/0.04593, allocations: 127.5 kB / 361.2 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003258/0.04626, allocations: 175.8 kB / 361.4 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007294/0.05355, allocations: 6.629 MB / 368 MB, free: 4.504 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.979e-05/0.05361, allocations: 31.75 kB / 368.1 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002135/0.05383, allocations: 91.83 kB / 368.2 MB, free: 4.383 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001499/0.05532, allocations: 1.327 MB / 369.5 MB, free: 3.059 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007222/0.06255, allocations: 5.835 MB / 375.3 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02206/0.08461, allocations: 26.73 MB / 402.1 MB, free: 1.652 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003413/0.08802, allocations: 2.291 MB / 404.3 MB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001252/0.08927, allocations: 1.216 MB / 405.6 MB, free: 14.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002933/0.08957, allocations: 192 kB / 405.7 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.0896, allocations: 47.06 kB / 405.8 MB, free: 13.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=129): time 4.448e-06/0.0896, allocations: 0 / 405.8 MB, free: 13.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=163): time 0.0397/0.1293, allocations: 21.36 MB / 427.2 MB, free: 8.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.596e-05/0.1294, allocations: 175.2 kB / 427.3 MB, free: 8.219 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002795/0.1322, allocations: 2.737 MB / 430.1 MB, free: 5.449 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003086/0.1325, allocations: 45.7 kB / 430.1 MB, free: 5.398 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009813/0.1335, allocations: 2.159 MB / 432.3 MB, free: 3.215 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006337/0.1341, allocations: 0.6473 MB / 432.9 MB, free: 2.562 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009918/0.1351, allocations: 0.9887 MB / 433.9 MB, free: 1.562 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003725/0.1355, allocations: 357.9 kB / 434.2 MB, free: 1.207 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002119/0.1376, allocations: 2.231 MB / 436.5 MB, free: 14.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003512/0.1411, allocations: 5.154 MB / 441.6 MB, free: 8.359 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1522/0.2933, allocations: 7.959 MB / 449.6 MB, free: 110.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001277/0.2934, allocations: 29.81 kB / 449.6 MB, free: 110.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.01497/0.3084, allocations: 10.26 MB / 459.9 MB, free: 107.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.867e-05/0.3085, allocations: 51.38 kB / 459.9 MB, free: 107.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001394/0.3086, allocations: 103.7 kB / 460 MB, free: 107.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009268/0.3179, allocations: 3.422 MB / 463.5 MB, free: 107.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003352/0.3212, allocations: 1.09 MB / 464.5 MB, free: 106.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01279/0.334, allocations: 12.63 MB / 477.2 MB, free: 93.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002549/0.3366, allocations: 358.2 kB / 477.5 MB, free: 93.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004412/0.337, allocations: 308 kB / 477.8 MB, free: 92.85 MB / 410.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.001467/0.3385, allocations: 1.467 MB / 479.3 MB, free: 91.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003211/0.3388, allocations: 238.1 kB / 479.5 MB, free: 91.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007525/0.3463, allocations: 5.952 MB / 485.5 MB, free: 85.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.913e-05/0.3464, allocations: 31.98 kB / 485.5 MB, free: 85.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.3464, allocations: 8 kB / 485.5 MB, free: 85.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/0.3464, allocations: 11.7 kB / 485.5 MB, free: 85.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01426/0.3606, allocations: 12.51 MB / 498 MB, free: 72.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/0.3607, allocations: 0 / 498 MB, free: 72.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005841/0.3612, allocations: 235.7 kB / 498.3 MB, free: 72.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00598/0.3672, allocations: 4.016 MB / 0.4905 GB, free: 68.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001881/0.3674, allocations: 47.95 kB / 0.4906 GB, free: 68.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01002/0.3774, allocations: 12.63 MB / 0.5029 GB, free: 55.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3774, allocations: 0 / 0.5029 GB, free: 55.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01085/0.3883, allocations: 10.05 MB / 0.5127 GB, free: 45.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005613/0.3888, allocations: 230 kB / 0.5129 GB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002649/0.3891, allocations: 39.66 kB / 0.513 GB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009519/0.3901, allocations: 215.6 kB / 0.5132 GB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002843/0.3903, allocations: 120.7 kB / 0.5133 GB, free: 45.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.93e-05/0.3904, allocations: 51.97 kB / 0.5133 GB, free: 45.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001412/0.3918, allocations: 1.57 MB / 0.5149 GB, free: 43.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3918, allocations: 0 / 0.5149 GB, free: 43.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002648/0.3945, allocations: 0.905 MB / 0.5158 GB, free: 42.71 MB / 410.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.0003984/0.3949, allocations: 183.6 kB / 0.5159 GB, free: 42.54 MB / 410.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.005904/0.4008, allocations: 5.569 MB / 0.5214 GB, free: 36.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.4008, allocations: 4 kB / 0.5214 GB, free: 36.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002658/0.4035, allocations: 2.286 MB / 0.5236 GB, free: 34.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.4048, allocations: 260.2 kB / 0.5238 GB, free: 34.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006987/0.4118, allocations: 7.498 MB / 0.5312 GB, free: 26.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/0.4129, allocations: 1.753 MB / 0.5329 GB, free: 25.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005947/0.4135, allocations: 224.4 kB / 0.5331 GB, free: 24.89 MB / 410.7 MB Notification: Performance of SimCode: time 3.036e-06/0.4135, allocations: 3.938 kB / 0.5331 GB, free: 24.88 MB / 410.7 MB Notification: Performance of Templates: time 0.2325/0.646, allocations: 130.4 MB / 0.6604 GB, free: 130.6 MB / 474.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: 8.444353301078081]