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.001194/0.001193, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009778/0.0009778, allocations: 101.8 kB / 296.7 MB, free: 6.48 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000991/0.0009911, allocations: 51.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1944, allocations: 50.45 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.009654/0.2041, allocations: 14.03 MB / 421.1 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007217/0.2114, allocations: 4.441 MB / 425.5 MB, free: 9.285 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002043/0.2135, allocations: 51.88 kB / 425.6 MB, free: 9.234 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.2152, allocations: 0.8724 MB / 426.4 MB, free: 8.359 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003107/0.2183, allocations: 1.268 MB / 427.7 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008168/0.2191, allocations: 491.3 kB / 428.2 MB, free: 6.609 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004466/0.2236, allocations: 4.865 MB / 433.1 MB, free: 1.734 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/0.2251, allocations: 1.271 MB / 434.3 MB, free: 456 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.2262, allocations: 0.7121 MB / 435 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001684/0.2279, allocations: 1.304 MB / 436.3 MB, free: 14.42 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003276/0.2282, allocations: 104 kB / 436.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.2299, allocations: 0.9514 MB / 437.4 MB, free: 13.37 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.2309, allocations: 1.083 MB / 438.5 MB, free: 12.28 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001142/0.2321, allocations: 1.242 MB / 439.7 MB, free: 11.03 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004217/0.2363, allocations: 4.207 MB / 443.9 MB, free: 6.812 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.2363, allocations: 0 / 443.9 MB, free: 6.812 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2364, allocations: 0 / 443.9 MB, free: 6.812 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001014/0.2365, allocations: 0 / 443.9 MB, free: 6.812 MB / 314.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.008109/0.2446, allocations: 3.37 MB / 447.3 MB, free: 3.383 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.2446, allocations: 12.03 kB / 447.3 MB, free: 3.371 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005788/0.2504, allocations: 1.651 MB / 449 MB, free: 1.715 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003484/0.254, allocations: 1.476 MB / 450.4 MB, free: 200 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.497e-05/0.2541, allocations: 135.1 kB / 450.6 MB, free: 64 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003774/0.2545, allocations: 171.8 kB / 450.7 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009392/0.2639, allocations: 6.588 MB / 457.3 MB, free: 8.766 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.408e-05/0.264, allocations: 35.66 kB / 457.4 MB, free: 8.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002588/0.2642, allocations: 87.89 kB / 457.4 MB, free: 8.645 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001895/0.2661, allocations: 1.331 MB / 458.8 MB, free: 7.316 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01043/0.2766, allocations: 5.832 MB / 464.6 MB, free: 1.477 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0326/0.3092, allocations: 28.08 MB / 492.7 MB, free: 4.547 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006074/0.3153, allocations: 2.741 MB / 495.4 MB, free: 1.656 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001544/0.3169, allocations: 1.266 MB / 496.7 MB, free: 388 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007053/0.3176, allocations: 0.6356 MB / 497.3 MB, free: 15.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.3177, allocations: 51.06 kB / 497.4 MB, free: 15.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=120): time 3.897e-06/0.3177, allocations: 0 / 497.4 MB, free: 15.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=154): time 0.2363/0.554, allocations: 20.53 MB / 0.5058 GB, free: 92.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.5541, allocations: 149.2 kB / 0.5059 GB, free: 92.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003858/0.5579, allocations: 2.833 MB / 0.5087 GB, free: 91.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002852/0.5582, allocations: 45.67 kB / 0.5087 GB, free: 91.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000931/0.5592, allocations: 2.106 MB / 0.5108 GB, free: 89.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005168/0.5597, allocations: 0.6016 MB / 0.5114 GB, free: 89.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001178/0.5609, allocations: 1.003 MB / 0.5123 GB, free: 88.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.028e-05/0.5609, allocations: 302.1 kB / 0.5126 GB, free: 88.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002501/0.5634, allocations: 2.226 MB / 0.5148 GB, free: 87.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003524/0.567, allocations: 5.188 MB / 0.5199 GB, free: 82.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006726/0.5737, allocations: 7.996 MB / 0.5277 GB, free: 74.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.627e-05/0.5738, allocations: 32.98 kB / 0.5277 GB, free: 74.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02023/0.5941, allocations: 10.3 MB / 0.5378 GB, free: 63.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.542e-05/0.5942, allocations: 52 kB / 0.5378 GB, free: 63.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.106e-05/0.5942, allocations: 104 kB / 0.5379 GB, free: 63.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01102/0.6053, allocations: 3.438 MB / 0.5413 GB, free: 60.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003123/0.6084, allocations: 1.103 MB / 0.5424 GB, free: 59.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01505/0.6235, allocations: 12 MB / 0.5541 GB, free: 47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003774/0.6273, allocations: 332.5 kB / 0.5544 GB, free: 46.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006621/0.628, allocations: 308 kB / 0.5547 GB, free: 46.37 MB / 378.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.002384/0.6304, allocations: 1.473 MB / 0.5561 GB, free: 44.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005773/0.631, allocations: 248.8 kB / 0.5564 GB, free: 44.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0143/0.6453, allocations: 5.997 MB / 0.5622 GB, free: 38.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-05/0.6453, allocations: 19.94 kB / 0.5622 GB, free: 38.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.199e-05/0.6454, allocations: 8 kB / 0.5623 GB, free: 38.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.38e-05/0.6454, allocations: 7.969 kB / 0.5623 GB, free: 38.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0259/0.6713, allocations: 13.19 MB / 0.5751 GB, free: 25.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.678e-05/0.6713, allocations: 3.938 kB / 0.5751 GB, free: 25.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.6724, allocations: 233.7 kB / 0.5754 GB, free: 25.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01159/0.684, allocations: 4.016 MB / 0.5793 GB, free: 21.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003398/0.6843, allocations: 47.95 kB / 0.5793 GB, free: 21.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01483/0.6992, allocations: 12.01 MB / 0.5911 GB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.6992, allocations: 0 / 0.5911 GB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5262/1.225, allocations: 151.9 MB / 0.7394 GB, free: 79.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004749/1.226, allocations: 296.3 kB / 0.7397 GB, free: 79.21 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003743/1.226, allocations: 35.98 kB / 0.7397 GB, free: 79.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/1.228, allocations: 183.7 kB / 0.7399 GB, free: 78.99 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004189/1.228, allocations: 112.7 kB / 0.74 GB, free: 78.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001422/1.228, allocations: 47.97 kB / 0.74 GB, free: 78.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001959/1.23, allocations: 1.761 MB / 0.7417 GB, free: 77.07 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.1e-07/1.23, allocations: 0 / 0.7417 GB, free: 77.07 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004985/1.235, allocations: 1.259 MB / 0.743 GB, free: 75.82 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 (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.0003965/1.236, allocations: 164.3 kB / 0.7431 GB, free: 75.67 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.00883/1.245, allocations: 6.215 MB / 0.7492 GB, free: 69.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.245, allocations: 5.031 kB / 0.7492 GB, free: 69.39 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004514/1.249, allocations: 2.864 MB / 0.752 GB, free: 66.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/1.251, allocations: 277.4 kB / 0.7523 GB, free: 66.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01823/1.27, allocations: 11.07 MB / 0.7631 GB, free: 55.05 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002452/1.272, allocations: 2.377 MB / 0.7654 GB, free: 52.64 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003481/1.276, allocations: 1.574 MB / 0.7669 GB, free: 51.05 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007256/1.276, allocations: 203.4 kB / 0.7671 GB, free: 50.86 MB / 442.7 MB Notification: Performance of SimCode: time 8.32e-07/1.276, allocations: 0 / 0.7671 GB, free: 50.86 MB / 442.7 MB Notification: Performance of Templates: time 0.2647/1.541, allocations: 70.79 MB / 0.8363 GB, free: 144.9 MB / 458.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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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