Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.167/1.167, allocations: 205.1 MB / 223.7 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008361/0.0008361, allocations: 110.2 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007204/0.0007205, allocations: 39.94 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2019, allocations: 46.62 MB / 373.8 MB, free: 45.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01015/0.2121, allocations: 14.03 MB / 387.9 MB, free: 34.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006883/0.219, allocations: 4.408 MB / 392.3 MB, free: 31.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.2203, allocations: 51.88 kB / 392.3 MB, free: 30.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.2217, allocations: 0.8647 MB / 393.2 MB, free: 30.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002072/0.2238, allocations: 1.277 MB / 394.5 MB, free: 28.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00066/0.2244, allocations: 495.3 kB / 394.9 MB, free: 28.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002955/0.2274, allocations: 4.501 MB / 399.4 MB, free: 23.85 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008971/0.2283, allocations: 1.28 MB / 400.7 MB, free: 22.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004514/0.2288, allocations: 0.712 MB / 401.4 MB, free: 21.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009024/0.2297, allocations: 1.3 MB / 402.7 MB, free: 20.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001702/0.2299, allocations: 108 kB / 402.8 MB, free: 20.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.231, allocations: 0.967 MB / 403.8 MB, free: 19.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000551/0.2315, allocations: 1.087 MB / 404.9 MB, free: 18.37 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006404/0.2322, allocations: 1.242 MB / 406.1 MB, free: 17.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002224/0.2344, allocations: 4.215 MB / 410.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2344, allocations: 0 / 410.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.2344, allocations: 0 / 410.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.687e-05/0.2345, allocations: 0 / 410.3 MB, free: 12.89 MB / 298.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.004662/0.2391, allocations: 3.269 MB / 413.6 MB, free: 9.566 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.2392, allocations: 12.02 kB / 413.6 MB, free: 9.555 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004898/0.2441, allocations: 1.651 MB / 415.3 MB, free: 7.898 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002808/0.2469, allocations: 1.558 MB / 416.8 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.642e-05/0.247, allocations: 131.1 kB / 417 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002453/0.2472, allocations: 171.8 kB / 417.1 MB, free: 5.996 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006328/0.2536, allocations: 6.592 MB / 423.7 MB, free: 14.87 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.766e-05/0.2536, allocations: 39.66 kB / 423.8 MB, free: 14.83 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000199/0.2538, allocations: 83.89 kB / 423.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001712/0.2556, allocations: 1.335 MB / 425.2 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007911/0.2635, allocations: 5.832 MB / 431 MB, free: 7.578 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02615/0.2896, allocations: 28.08 MB / 459.1 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005456/0.2951, allocations: 2.738 MB / 461.8 MB, free: 7.762 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/0.2965, allocations: 1.27 MB / 463.1 MB, free: 6.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006349/0.2971, allocations: 0.6317 MB / 463.7 MB, free: 5.738 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.2972, allocations: 47.12 kB / 463.8 MB, free: 5.684 MB / 346.7 MB Notification: Performance of pre-optimization done (n=120): time 3.607e-06/0.2972, allocations: 4 kB / 463.8 MB, free: 5.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=154): time 0.06519/0.3624, allocations: 20.56 MB / 484.3 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/0.3625, allocations: 149.5 kB / 484.5 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003383/0.3659, allocations: 2.84 MB / 487.3 MB, free: 13.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001726/0.3661, allocations: 45.7 kB / 487.4 MB, free: 13.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00124/0.3673, allocations: 2.106 MB / 489.5 MB, free: 11.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005015/0.3678, allocations: 0.6017 MB / 490.1 MB, free: 11.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00117/0.369, allocations: 1.011 MB / 491.1 MB, free: 10.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.776e-05/0.3691, allocations: 301.1 kB / 491.4 MB, free: 9.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002718/0.3718, allocations: 2.223 MB / 493.6 MB, free: 7.609 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004366/0.3762, allocations: 5.185 MB / 498.8 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007671/0.3839, allocations: 7.985 MB / 0.4949 GB, free: 7.488 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.116e-05/0.3839, allocations: 32 kB / 0.4949 GB, free: 7.457 MB / 394.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.1646/0.5486, allocations: 10.29 MB / 0.505 GB, free: 117.6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.5487, allocations: 50.23 kB / 0.505 GB, free: 117.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001787/0.5489, allocations: 108.1 kB / 0.5051 GB, free: 117.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01139/0.5603, allocations: 3.427 MB / 0.5085 GB, free: 117.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003229/0.5636, allocations: 1.103 MB / 0.5096 GB, free: 117.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0153/0.5789, allocations: 12 MB / 0.5213 GB, free: 111.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003121/0.582, allocations: 341.7 kB / 0.5216 GB, free: 111.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003173/0.5824, allocations: 308.9 kB / 0.5219 GB, free: 111.6 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * 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 (585): * Single equations (assignments): 575 * Array equations: 3 * 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.00201/0.5844, allocations: 1.469 MB / 0.5233 GB, free: 110.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000414/0.5848, allocations: 255.1 kB / 0.5236 GB, free: 110.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/0.5981, allocations: 6.012 MB / 0.5295 GB, free: 106 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.971e-05/0.5981, allocations: 16 kB / 0.5295 GB, free: 106 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.5982, allocations: 8 kB / 0.5295 GB, free: 106 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.5982, allocations: 7.969 kB / 0.5295 GB, free: 106 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02285/0.621, allocations: 13.2 MB / 0.5424 GB, free: 92.81 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/0.6211, allocations: 0 / 0.5424 GB, free: 92.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009276/0.622, allocations: 231.7 kB / 0.5426 GB, free: 92.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01064/0.6327, allocations: 4.008 MB / 0.5465 GB, free: 88.55 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001572/0.6328, allocations: 43.95 kB / 0.5465 GB, free: 88.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01376/0.6466, allocations: 12.02 MB / 0.5583 GB, free: 76.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6466, allocations: 0 / 0.5583 GB, free: 76.41 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4675/1.114, allocations: 151.9 MB / 0.7066 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003462/1.115, allocations: 312.7 kB / 0.7069 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003395/1.115, allocations: 36.55 kB / 0.7069 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/1.116, allocations: 187.2 kB / 0.7071 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003977/1.117, allocations: 104.8 kB / 0.7072 GB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/1.117, allocations: 47.97 kB / 0.7072 GB, free: 110.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001704/1.119, allocations: 1.77 MB / 0.709 GB, free: 108.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.01e-07/1.119, allocations: 3.281 kB / 0.709 GB, free: 108.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003827/1.122, allocations: 1.253 MB / 0.7102 GB, free: 107.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (104): * Single equations (assignments): 94 * Array equations: 3 * 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.0003822/1.123, allocations: 162.4 kB / 0.7104 GB, free: 106.9 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74: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 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74: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.007711/1.131, allocations: 6.227 MB / 0.7164 GB, free: 100.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/1.131, allocations: 0 / 0.7164 GB, free: 100.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004201/1.135, allocations: 2.86 MB / 0.7192 GB, free: 97.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/1.137, allocations: 294.1 kB / 0.7195 GB, free: 97.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01665/1.154, allocations: 11.1 MB / 0.7303 GB, free: 86.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002029/1.156, allocations: 2.382 MB / 0.7327 GB, free: 84.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003209/1.159, allocations: 1.574 MB / 0.7342 GB, free: 82.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005592/1.159, allocations: 195.4 kB / 0.7344 GB, free: 82.27 MB / 426.7 MB Notification: Performance of SimCode: time 8.41e-07/1.159, allocations: 3.938 kB / 0.7344 GB, free: 82.26 MB / 426.7 MB Notification: Performance of Templates: time 0.07092/1.23, allocations: 70.84 MB / 0.8036 GB, free: 11.4 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches