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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009724/0.0009721, allocations: 94.28 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001039, allocations: 184.4 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 223.2 MB / 241.1 MB, free: 5.375 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003063, allocations: 7.406 kB / 300.7 MB, free: 6.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09064/0.09097, allocations: 50.42 MB / 351.1 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01098/0.102, allocations: 11.92 MB / 363.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006888/0.1089, allocations: 4.159 MB / 367.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.1101, allocations: 55.88 kB / 367.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000994/0.1111, allocations: 0.5482 MB / 367.8 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004269/0.1154, allocations: 1.936 MB / 369.8 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009391/0.1164, allocations: 431.3 kB / 370.2 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.03231/0.1487, allocations: 24.16 MB / 394.3 MB, free: 436 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002439/0.1512, allocations: 1.533 MB / 395.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.1522, allocations: 0.6229 MB / 396.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/0.1535, allocations: 0.9073 MB / 397.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003961/0.1539, allocations: 84 kB / 397.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.1554, allocations: 0.7606 MB / 398.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001047/0.1565, allocations: 0.9663 MB / 399.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006388/0.1571, allocations: 0.5118 MB / 399.7 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003217/0.1604, allocations: 3.348 MB / 403.1 MB, free: 7.633 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1604, allocations: 0 / 403.1 MB, free: 7.633 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1604, allocations: 0 / 403.1 MB, free: 7.633 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001204/0.1605, allocations: 0 / 403.1 MB, free: 7.633 MB / 334.1 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.00598/0.1665, allocations: 2.774 MB / 405.8 MB, free: 4.801 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.1665, allocations: 12.03 kB / 405.9 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006815/0.1734, allocations: 1.985 MB / 407.8 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003233/0.1766, allocations: 1.588 MB / 409.4 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.814e-05/0.1767, allocations: 123.2 kB / 409.5 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005171/0.1772, allocations: 167.8 kB / 409.7 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009716/0.187, allocations: 6.643 MB / 416.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.56e-05/0.1871, allocations: 35.75 kB / 416.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002385/0.1873, allocations: 83.91 kB / 416.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001908/0.1892, allocations: 1.335 MB / 417.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009617/0.1989, allocations: 5.871 MB / 423.7 MB, free: 2.375 MB / 350.1 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.2112/0.4101, allocations: 28.18 MB / 451.9 MB, free: 46.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005661/0.4158, allocations: 2.765 MB / 454.6 MB, free: 46.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005646/0.4164, allocations: 0.6368 MB / 455.3 MB, free: 45.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.4165, allocations: 47.08 kB / 455.3 MB, free: 45.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 3.467e-06/0.4165, allocations: 0 / 455.3 MB, free: 45.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=154): time 0.06176/0.4782, allocations: 20.86 MB / 476.2 MB, free: 29.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.4783, allocations: 145.5 kB / 476.3 MB, free: 28.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002947/0.4813, allocations: 2.954 MB / 479.3 MB, free: 25.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002391/0.4815, allocations: 49.7 kB / 479.3 MB, free: 25.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008475/0.4824, allocations: 2.105 MB / 481.4 MB, free: 23.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004495/0.4828, allocations: 0.5975 MB / 482 MB, free: 23.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.4831, allocations: 96 kB / 482.1 MB, free: 23.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.4833, allocations: 0.5126 MB / 482.6 MB, free: 22.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002352/0.4856, allocations: 2.192 MB / 484.8 MB, free: 20.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003351/0.489, allocations: 5.142 MB / 490 MB, free: 13.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003397/0.4924, allocations: 3.288 MB / 493.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.641e-05/0.4924, allocations: 32 kB / 493.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.01938/0.5118, allocations: 10.27 MB / 0.4917 GB, free: 92 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.422e-05/0.5119, allocations: 52 kB / 0.4918 GB, free: 40 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001121/0.512, allocations: 108.1 kB / 0.4919 GB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01195/0.524, allocations: 3.512 MB / 0.4953 GB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003593/0.5276, allocations: 1.107 MB / 0.4964 GB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01941/0.547, allocations: 12.45 MB / 0.5086 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003981/0.5511, allocations: 339.4 kB / 0.5089 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007331/0.5518, allocations: 301 kB / 0.5092 GB, free: 14.08 MB / 382.1 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 (581): * Single equations (assignments): 571 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(2,100.0%),(3,88.9%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,80.6%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002499/0.5543, allocations: 1.476 MB / 0.5106 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004948/0.5548, allocations: 248.8 kB / 0.5108 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01524/0.5701, allocations: 6.021 MB / 0.5167 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.109e-05/0.5702, allocations: 17.8 kB / 0.5167 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.596e-05/0.5702, allocations: 8 kB / 0.5168 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-05/0.5702, allocations: 7.984 kB / 0.5168 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02726/0.5975, allocations: 13.23 MB / 0.5297 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/0.5975, allocations: 0 / 0.5297 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.5985, allocations: 231.6 kB / 0.5299 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01227/0.6108, allocations: 4.131 MB / 0.5339 GB, free: 4.594 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000262/0.6111, allocations: 47.95 kB / 0.534 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01917/0.6303, allocations: 12.52 MB / 0.5462 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.6303, allocations: 3.953 kB / 0.5462 GB, free: 7.895 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02167/0.652, allocations: 9.987 MB / 0.556 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008857/0.6529, allocations: 309.7 kB / 0.5563 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005246/0.6534, allocations: 37.02 kB / 0.5563 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001637/0.6551, allocations: 187.7 kB / 0.5565 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003881/0.6555, allocations: 117.4 kB / 0.5566 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001841/0.6557, allocations: 49.92 kB / 0.5566 GB, free: 13.13 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002857/0.6585, allocations: 1.845 MB / 0.5584 GB, free: 11.28 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.935e-06/0.6586, allocations: 0 / 0.5584 GB, free: 11.28 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004015/0.6626, allocations: 0.8515 MB / 0.5593 GB, free: 10.43 MB / 430.1 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 (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(3,88.9%),(2,100.0%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,80.6%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005887/0.6632, allocations: 189.3 kB / 0.5594 GB, free: 10.25 MB / 430.1 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.01065/0.6738, allocations: 6.185 MB / 0.5655 GB, free: 3.945 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.6739, allocations: 4 kB / 0.5655 GB, free: 3.941 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005329/0.6792, allocations: 2.858 MB / 0.5683 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.6807, allocations: 266 kB / 0.5685 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/0.693, allocations: 8.342 MB / 0.5767 GB, free: 8.309 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00228/0.6954, allocations: 2.373 MB / 0.579 GB, free: 5.902 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003538/0.6989, allocations: 1.531 MB / 0.5805 GB, free: 4.363 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004973/0.6994, allocations: 191.4 kB / 0.5807 GB, free: 4.176 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.6994, allocations: 0 / 0.5807 GB, free: 4.176 MB / 446.1 MB Notification: Performance of Templates: time 0.2083/0.9077, allocations: 39.06 MB / 0.6188 GB, free: 129.7 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) 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","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches