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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001103/0.001103, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001134/0.001134, allocations: 198 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 59.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2667, allocations: 50.54 MB / 409.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.007473/0.2742, allocations: 7.014 MB / 416.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005328/0.2796, allocations: 3.15 MB / 419.4 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006259/0.2802, allocations: 35.88 kB / 419.4 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001678/0.282, allocations: 0.8951 MB / 420.3 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002502/0.2845, allocations: 1.351 MB / 421.7 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008888/0.2854, allocations: 0.5147 MB / 422.2 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002803/0.2882, allocations: 2.754 MB / 425 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.2895, allocations: 1.318 MB / 426.3 MB, free: 500 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008725/0.2904, allocations: 0.8563 MB / 427.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002249/0.2927, allocations: 2.132 MB / 429.3 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003331/0.293, allocations: 180 kB / 429.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.2945, allocations: 0.9555 MB / 430.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008958/0.2954, allocations: 1.11 MB / 431.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.2965, allocations: 1.289 MB / 432.8 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004108/0.3006, allocations: 4.404 MB / 437.2 MB, free: 5.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3007, allocations: 4 kB / 437.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3007, allocations: 0 / 437.2 MB, free: 5.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.551e-05/0.3008, allocations: 0 / 437.2 MB, free: 5.527 MB / 350.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.007379/0.3081, allocations: 3.424 MB / 440.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3082, allocations: 12.03 kB / 440.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005978/0.3142, allocations: 1.676 MB / 442.3 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003132/0.3173, allocations: 1.496 MB / 443.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.3175, allocations: 127.2 kB / 443.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003382/0.3178, allocations: 175.8 kB / 444.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008857/0.3267, allocations: 6.592 MB / 450.7 MB, free: 7.371 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.719e-05/0.3268, allocations: 39.69 kB / 450.7 MB, free: 7.332 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002323/0.327, allocations: 83.89 kB / 450.8 MB, free: 7.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001886/0.3289, allocations: 1.323 MB / 452.1 MB, free: 5.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008957/0.3379, allocations: 5.847 MB / 458 MB, free: 80 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02544/0.3633, allocations: 28 MB / 486 MB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005588/0.369, allocations: 2.782 MB / 488.8 MB, free: 300 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001741/0.3707, allocations: 1.306 MB / 490.1 MB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006368/0.3714, allocations: 0.6317 MB / 490.7 MB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/0.3714, allocations: 47.06 kB / 490.8 MB, free: 14.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 4.147e-06/0.3715, allocations: 4 kB / 490.8 MB, free: 14.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.06684/0.4383, allocations: 21.16 MB / 0.4999 GB, free: 8.902 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.4385, allocations: 175.2 kB / 0.5001 GB, free: 8.695 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003709/0.4422, allocations: 2.792 MB / 0.5028 GB, free: 5.887 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003737/0.4426, allocations: 45.7 kB / 0.5029 GB, free: 5.836 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001272/0.4439, allocations: 2.171 MB / 0.505 GB, free: 3.641 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006499/0.4445, allocations: 0.6551 MB / 0.5056 GB, free: 2.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001239/0.4458, allocations: 1.008 MB / 0.5066 GB, free: 1.961 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.533e-05/0.4459, allocations: 305.1 kB / 0.5069 GB, free: 1.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002811/0.4487, allocations: 2.231 MB / 0.5091 GB, free: 15.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004366/0.4531, allocations: 5.15 MB / 0.5141 GB, free: 8.816 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007899/0.461, allocations: 7.966 MB / 0.5219 GB, free: 15.41 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.082e-05/0.461, allocations: 28 kB / 0.5219 GB, free: 15.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02105/0.4821, allocations: 10.31 MB / 0.532 GB, free: 5.039 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.835e-05/0.4822, allocations: 50.81 kB / 0.532 GB, free: 4.992 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-05/0.4823, allocations: 111.9 kB / 0.5321 GB, free: 4.883 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01112/0.4934, allocations: 3.432 MB / 0.5355 GB, free: 1.426 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00324/0.4967, allocations: 1.092 MB / 0.5366 GB, free: 340 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2316/0.7284, allocations: 12.84 MB / 0.5491 GB, free: 116.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003354/0.7317, allocations: 330.1 kB / 0.5494 GB, free: 116.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004896/0.7323, allocations: 307.9 kB / 0.5497 GB, free: 116.3 MB / 462.1 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.001676/0.7339, allocations: 1.463 MB / 0.5511 GB, free: 115.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004144/0.7344, allocations: 264.1 kB / 0.5514 GB, free: 115.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01344/0.7478, allocations: 5.995 MB / 0.5572 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.825e-05/0.7479, allocations: 27.33 kB / 0.5573 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.938e-05/0.7479, allocations: 7.906 kB / 0.5573 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-05/0.748, allocations: 7.641 kB / 0.5573 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02324/0.7712, allocations: 13.22 MB / 0.5702 GB, free: 101.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.577e-05/0.7713, allocations: 0 / 0.5702 GB, free: 101.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.7723, allocations: 232.3 kB / 0.5704 GB, free: 101.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01057/0.7829, allocations: 4.014 MB / 0.5743 GB, free: 97.12 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002387/0.7831, allocations: 47.47 kB / 0.5744 GB, free: 97.08 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01463/0.7978, allocations: 12.84 MB / 0.5869 GB, free: 84.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.7978, allocations: 2.906 kB / 0.5869 GB, free: 84.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01706/0.8149, allocations: 10.08 MB / 0.5968 GB, free: 74.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004923/0.8154, allocations: 323.1 kB / 0.5971 GB, free: 73.84 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003446/0.8158, allocations: 39.19 kB / 0.5971 GB, free: 73.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/0.8172, allocations: 187.7 kB / 0.5973 GB, free: 73.62 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003524/0.8176, allocations: 116.8 kB / 0.5974 GB, free: 73.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/0.8177, allocations: 51.97 kB / 0.5975 GB, free: 73.45 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001819/0.8196, allocations: 1.734 MB / 0.5991 GB, free: 71.71 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8196, allocations: 0 / 0.5991 GB, free: 71.71 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003059/0.8226, allocations: 0.8083 MB / 0.5999 GB, free: 70.91 MB / 462.1 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.0003306/0.823, allocations: 169.4 kB / 0.6001 GB, free: 70.75 MB / 462.1 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.007679/0.8307, allocations: 6.276 MB / 0.6062 GB, free: 64.36 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.8307, allocations: 0 / 0.6062 GB, free: 64.36 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004082/0.8348, allocations: 2.903 MB / 0.6091 GB, free: 61.32 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/0.8365, allocations: 288.1 kB / 0.6093 GB, free: 61.04 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00909/0.8456, allocations: 7.378 MB / 0.6165 GB, free: 53.65 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001737/0.8473, allocations: 2.318 MB / 0.6188 GB, free: 51.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002549/0.8499, allocations: 1.507 MB / 0.6203 GB, free: 49.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004165/0.8503, allocations: 191.4 kB / 0.6205 GB, free: 49.61 MB / 462.1 MB Notification: Performance of SimCode: time 6.61e-07/0.8503, allocations: 0 / 0.6205 GB, free: 49.61 MB / 462.1 MB Notification: Performance of Templates: time 0.048/0.8983, allocations: 38.55 MB / 0.6581 GB, free: 11.2 MB / 462.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches