Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 76.06 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 143.7 kB / 24.98 MB, free: 9.301 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9406/0.9406, allocations: 173.4 MB / 201.5 MB, free: 9.309 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.[0-9,]+.|wheel1.der_angles.[0-9,]+.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_4.0.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.[0-9,]+.|wheel1.der_angles.[0-9,]+.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 3.938 kB / 268.1 MB, free: 6.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.398e-05, allocations: 2.312 kB / 268.1 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.00584/0.005864, allocations: 6.849 MB / 274.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005037/0.0109, allocations: 3.076 MB / 278 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.01194, allocations: 39.81 kB / 278 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.01336, allocations: 0.9612 MB / 279 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002739/0.0161, allocations: 1.455 MB / 280.5 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008416/0.01694, allocations: 0.5847 MB / 281 MB, free: 9.668 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003572/0.02051, allocations: 4.013 MB / 285.1 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002149/0.02266, allocations: 1.875 MB / 286.9 MB, free: 3.762 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001812/0.02448, allocations: 1.442 MB / 288.4 MB, free: 2.316 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001789/0.02626, allocations: 1.711 MB / 290.1 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003051/0.02657, allocations: 184 kB / 290.3 MB, free: 432 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1177/0.1442, allocations: 0.9209 MB / 291.2 MB, free: 20.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001329/0.1456, allocations: 1.216 MB / 292.4 MB, free: 20.13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00155/0.1471, allocations: 0.737 MB / 293.1 MB, free: 20.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004331/0.1515, allocations: 3 MB / 296.1 MB, free: 19.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.954e-06/0.1515, allocations: 0 / 296.1 MB, free: 19.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1515, allocations: 1.188 kB / 296.1 MB, free: 19.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001407/0.1516, allocations: 0 / 296.1 MB, free: 19.84 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.007185/0.1588, allocations: 3.587 MB / 299.7 MB, free: 18.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1588, allocations: 10.77 kB / 299.7 MB, free: 18.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004204/0.163, allocations: 2.036 MB / 301.8 MB, free: 18.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001943/0.165, allocations: 1.326 MB / 303.1 MB, free: 17.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.695e-05/0.165, allocations: 132.6 kB / 303.2 MB, free: 17.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002324/0.1653, allocations: 170.3 kB / 303.4 MB, free: 17.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004698/0.17, allocations: 4.116 MB / 307.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.119e-05/0.17, allocations: 32.94 kB / 307.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001979/0.1702, allocations: 87.62 kB / 307.6 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001243/0.1715, allocations: 1.324 MB / 309 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004236/0.1757, allocations: 2.24 MB / 311.2 MB, free: 14.45 MB / 266.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.02056/0.1963, allocations: 31.84 MB / 343 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003167/0.1994, allocations: 1.432 MB / 344.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006797/0.2001, allocations: 451.6 kB / 344.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003942/0.2005, allocations: 176.2 kB / 345.1 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/0.2006, allocations: 52.89 kB / 345.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of pre-optimization done (n=129): time 4.027e-06/0.2006, allocations: 4 kB / 345.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=163): time 0.04256/0.2431, allocations: 14.94 MB / 360.1 MB, free: 13.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.363e-05/0.2432, allocations: 167.2 kB / 360.3 MB, free: 13.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003843/0.247, allocations: 2.51 MB / 362.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004147/0.2475, allocations: 45.7 kB / 362.8 MB, free: 10.56 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001602/0.2491, allocations: 2.299 MB / 365.1 MB, free: 8.273 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008765/0.2499, allocations: 0.679 MB / 365.8 MB, free: 7.605 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00148/0.2514, allocations: 1.065 MB / 366.8 MB, free: 6.527 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.2516, allocations: 0.5316 MB / 367.4 MB, free: 5.988 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/0.2533, allocations: 0.7786 MB / 368.2 MB, free: 5.203 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00433/0.2577, allocations: 5.102 MB / 373.3 MB, free: 14.11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006882/0.2645, allocations: 6.493 MB / 379.8 MB, free: 5.664 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001086/0.2646, allocations: 32 kB / 379.8 MB, free: 5.633 MB / 330.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.01413/0.2788, allocations: 6.77 MB / 386.6 MB, free: 14.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.173e-05/0.2789, allocations: 51.98 kB / 386.6 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.624e-05/0.2789, allocations: 100 kB / 386.7 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007566/0.2865, allocations: 2.818 MB / 389.5 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002546/0.2891, allocations: 1.092 MB / 390.6 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008292/0.2974, allocations: 5.299 MB / 395.9 MB, free: 5.316 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002905/0.3003, allocations: 369.8 kB / 396.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005231/0.3008, allocations: 308 kB / 396.6 MB, free: 4.656 MB / 346.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.001227/0.302, allocations: 0.5425 MB / 397.1 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005239/0.3025, allocations: 282.4 kB / 397.4 MB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007667/0.3102, allocations: 3.692 MB / 401.1 MB, free: 96 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.68e-05/0.3103, allocations: 35.42 kB / 401.1 MB, free: 64 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/0.3103, allocations: 11.94 kB / 401.1 MB, free: 52 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.148e-05/0.3103, allocations: 11.97 kB / 401.1 MB, free: 40 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01632/0.3266, allocations: 8.96 MB / 410.1 MB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.532e-05/0.3266, allocations: 0 / 410.1 MB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007518/0.3274, allocations: 227.7 kB / 410.3 MB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007468/0.3349, allocations: 3.421 MB / 413.7 MB, free: 3.344 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003466/0.3352, allocations: 51.95 kB / 413.8 MB, free: 3.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007707/0.3429, allocations: 4.859 MB / 418.7 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3429, allocations: 3.938 kB / 418.7 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/0.3531, allocations: 5.805 MB / 424.5 MB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/0.3541, allocations: 238.2 kB / 424.7 MB, free: 8.219 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003531/0.3545, allocations: 31.98 kB / 424.7 MB, free: 8.188 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.3556, allocations: 219.6 kB / 424.9 MB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003596/0.3559, allocations: 112.7 kB / 425.1 MB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/0.356, allocations: 59.14 kB / 425.1 MB, free: 7.805 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001533/0.3576, allocations: 1.051 MB / 426.2 MB, free: 6.738 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3576, allocations: 0 / 426.2 MB, free: 6.738 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003515/0.3611, allocations: 0.9178 MB / 427.1 MB, free: 5.82 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.0005084/0.3616, allocations: 192.1 kB / 427.3 MB, free: 5.629 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.006097/0.3677, allocations: 3.592 MB / 430.9 MB, free: 2.012 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.3677, allocations: 0 / 430.9 MB, free: 2.012 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002555/0.3703, allocations: 1.528 MB / 432.4 MB, free: 448 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/0.3719, allocations: 274.3 kB / 432.7 MB, free: 176 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1102/0.482, allocations: 5.433 MB / 438.1 MB, free: 126.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008336/0.4828, allocations: 0.8138 MB / 438.9 MB, free: 126.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002096/0.4849, allocations: 1.284 MB / 440.2 MB, free: 126.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004123/0.4854, allocations: 187.5 kB / 440.4 MB, free: 126.2 MB / 378.7 MB Notification: Performance of SimCode: time 2.285e-06/0.4854, allocations: 0 / 440.4 MB, free: 126.2 MB / 378.7 MB Notification: Performance of Templates: time 0.04093/0.5263, allocations: 40.02 MB / 480.4 MB, free: 95.54 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.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: 3.9043539070989937]