Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001027/0.001027, allocations: 204.2 kB / 18.11 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 226.5 MB / 245.4 MB, free: 8.102 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007435/0.0007436, allocations: 98.8 kB / 297.5 MB, free: 6.867 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002985/0.0002989, allocations: 4 kB / 358.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2201, allocations: 51.28 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1061/0.3263, allocations: 91.51 MB / 0.4891 GB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/0.3266, allocations: 88.73 kB / 0.4892 GB, free: 15.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3062/0.6328, allocations: 60.24 MB / 0.5481 GB, free: 64.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6329, allocations: 0 / 0.5481 GB, free: 64.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000108/0.633, allocations: 48 kB / 0.5481 GB, free: 64.34 MB / 378.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.009644/0.6426, allocations: 3.106 MB / 0.5511 GB, free: 61.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.6427, allocations: 8.031 kB / 0.5511 GB, free: 61.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007512/0.6502, allocations: 1.9 MB / 0.553 GB, free: 59.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004702/0.6549, allocations: 2.137 MB / 0.5551 GB, free: 57.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.6552, allocations: 189.1 kB / 0.5553 GB, free: 56.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001351/0.6565, allocations: 248.2 kB / 0.5555 GB, free: 56.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01251/0.6691, allocations: 7.298 MB / 0.5626 GB, free: 48.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001505/0.6692, allocations: 47.81 kB / 0.5627 GB, free: 48.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008736/0.6701, allocations: 131.9 kB / 0.5628 GB, free: 48.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009321/0.6711, allocations: 0.7299 MB / 0.5635 GB, free: 47.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00986/0.681, allocations: 6.248 MB / 0.5696 GB, free: 41.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03204/0.713, allocations: 36.85 MB / 0.6056 GB, free: 3.258 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005688/0.7188, allocations: 3.005 MB / 0.6085 GB, free: 96 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002052/0.7209, allocations: 1.419 MB / 0.6099 GB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007583/0.7285, allocations: 4.463 MB / 0.6143 GB, free: 9.992 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/0.7286, allocations: 47.06 kB / 0.6143 GB, free: 9.938 MB / 394.7 MB Notification: Performance of pre-optimization done (n=113): time 5.791e-06/0.7286, allocations: 0 / 0.6143 GB, free: 9.938 MB / 394.7 MB Notification: Performance of matching and sorting (n=147): time 0.0742/0.8028, allocations: 22.44 MB / 0.6362 GB, free: 3.379 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.225e-05/0.8029, allocations: 141.5 kB / 0.6364 GB, free: 3.207 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004101/0.807, allocations: 2.895 MB / 0.6392 GB, free: 304 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003538/0.8074, allocations: 41.7 kB / 0.6392 GB, free: 256 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001399/0.8088, allocations: 2.129 MB / 0.6413 GB, free: 14.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006753/0.8095, allocations: 0.5711 MB / 0.6419 GB, free: 13.51 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.8097, allocations: 96 kB / 0.642 GB, free: 13.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003588/0.8101, allocations: 0.5125 MB / 0.6425 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003394/0.8135, allocations: 2.348 MB / 0.6448 GB, free: 10.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005335/0.8189, allocations: 5.318 MB / 0.6499 GB, free: 3.738 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009692/0.8286, allocations: 8.206 MB / 0.658 GB, free: 10.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-05/0.8287, allocations: 32 kB / 0.658 GB, free: 10.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=635) (initialization): time 0.205/1.034, allocations: 11.22 MB / 0.669 GB, free: 119.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.319e-05/1.034, allocations: 53.39 kB / 0.669 GB, free: 119.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001292/1.034, allocations: 103.3 kB / 0.6691 GB, free: 119.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01294/1.047, allocations: 4.168 MB / 0.6732 GB, free: 119.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003375/1.05, allocations: 1.116 MB / 0.6743 GB, free: 119.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01857/1.069, allocations: 13.76 MB / 0.6877 GB, free: 118 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004212/1.073, allocations: 350 kB / 0.688 GB, free: 117.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007798/1.074, allocations: 334.3 kB / 0.6884 GB, free: 117.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 478 * 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 (575): * Single equations (assignments): 565 * 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 {(10,60.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002293/1.076, allocations: 1.47 MB / 0.6898 GB, free: 117.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005123/1.077, allocations: 249.1 kB / 0.69 GB, free: 117.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01583/1.093, allocations: 6.952 MB / 0.6968 GB, free: 115.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.635e-05/1.093, allocations: 21.28 kB / 0.6968 GB, free: 115.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.149e-05/1.093, allocations: 7.312 kB / 0.6968 GB, free: 115.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.093e-05/1.093, allocations: 10.78 kB / 0.6969 GB, free: 115.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02966/1.122, allocations: 14.16 MB / 0.7107 GB, free: 111 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.529e-05/1.122, allocations: 3.609 kB / 0.7107 GB, free: 111 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/1.123, allocations: 220.7 kB / 0.7109 GB, free: 111 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01323/1.137, allocations: 4.796 MB / 0.7156 GB, free: 108.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004482/1.137, allocations: 42.2 kB / 0.7156 GB, free: 108.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01806/1.155, allocations: 13.9 MB / 0.7292 GB, free: 94.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.155, allocations: 0 / 0.7292 GB, free: 94.77 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01992/1.175, allocations: 10.96 MB / 0.7399 GB, free: 83.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006998/1.176, allocations: 337.5 kB / 0.7402 GB, free: 83.61 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004/1.176, allocations: 36.84 kB / 0.7402 GB, free: 83.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001601/1.178, allocations: 195.7 kB / 0.7404 GB, free: 83.39 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004087/1.178, allocations: 109.7 kB / 0.7405 GB, free: 83.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/1.179, allocations: 47.97 kB / 0.7406 GB, free: 83.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00227/1.181, allocations: 1.798 MB / 0.7423 GB, free: 81.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.181, allocations: 0 / 0.7423 GB, free: 81.43 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003658/1.185, allocations: 0.868 MB / 0.7432 GB, free: 80.57 MB / 442.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 (97): * Single equations (assignments): 87 * 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 {(8,65.6%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004395/1.185, allocations: 178.8 kB / 0.7434 GB, free: 80.42 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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.01005/1.195, allocations: 6.704 MB / 0.7499 GB, free: 73.86 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/1.195, allocations: 2.516 kB / 0.7499 GB, free: 73.86 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005503/1.201, allocations: 3.167 MB / 0.753 GB, free: 70.55 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/1.203, allocations: 282.5 kB / 0.7533 GB, free: 70.29 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/1.214, allocations: 8.441 MB / 0.7615 GB, free: 61.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001793/1.215, allocations: 2.313 MB / 0.7638 GB, free: 59.57 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003525/1.219, allocations: 1.557 MB / 0.7653 GB, free: 58.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000479/1.219, allocations: 203.4 kB / 0.7655 GB, free: 57.82 MB / 442.7 MB Notification: Performance of SimCode: time 1.282e-06/1.219, allocations: 0 / 0.7655 GB, free: 57.82 MB / 442.7 MB Notification: Performance of Templates: time 0.05654/1.276, allocations: 41.6 MB / 0.8061 GB, free: 16.62 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches