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.001098/0.001098, allocations: 100.1 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001433, allocations: 202.3 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002576/0.0002576, allocations: 8 kB / 306.6 MB, free: 1.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1025, allocations: 51.49 MB / 358.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01137/0.1139, allocations: 11.92 MB / 370 MB, free: 1.965 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1972/0.3112, allocations: 4.179 MB / 374.2 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001756/0.313, allocations: 53.97 kB / 374.2 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.3144, allocations: 0.543 MB / 374.8 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005293/0.3197, allocations: 1.934 MB / 376.7 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.3209, allocations: 429.1 kB / 377.1 MB, free: 8.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.03342/0.3543, allocations: 24.66 MB / 401.8 MB, free: 15.97 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002829/0.3572, allocations: 1.52 MB / 403.3 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.3584, allocations: 0.6151 MB / 403.9 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.3596, allocations: 0.9151 MB / 404.8 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002481/0.3599, allocations: 84 kB / 404.9 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00165/0.3616, allocations: 0.7426 MB / 405.7 MB, free: 12.08 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009144/0.3625, allocations: 0.9668 MB / 406.6 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005128/0.363, allocations: 0.5117 MB / 407.1 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003611/0.3666, allocations: 3.342 MB / 410.5 MB, free: 7.254 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3667, allocations: 0 / 410.5 MB, free: 7.254 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.3667, allocations: 0 / 410.5 MB, free: 7.254 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.425e-05/0.3667, allocations: 4 kB / 410.5 MB, free: 7.25 MB / 318.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.007665/0.3744, allocations: 2.881 MB / 413.4 MB, free: 4.328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.3745, allocations: 8.031 kB / 413.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006794/0.3813, allocations: 1.989 MB / 415.4 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00349/0.3848, allocations: 1.593 MB / 416.9 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.3849, allocations: 135.1 kB / 417.1 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003863/0.3853, allocations: 167.9 kB / 417.2 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009456/0.3948, allocations: 6.631 MB / 423.9 MB, free: 9.223 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.988e-05/0.3949, allocations: 31.66 kB / 423.9 MB, free: 9.191 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002508/0.3951, allocations: 93.86 kB / 424 MB, free: 9.102 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001969/0.3971, allocations: 1.327 MB / 425.3 MB, free: 7.777 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01016/0.4073, allocations: 5.875 MB / 431.2 MB, free: 1.902 MB / 334.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.03106/0.4384, allocations: 28.2 MB / 459.4 MB, free: 4.867 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006146/0.4445, allocations: 2.757 MB / 462.2 MB, free: 1.965 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007521/0.4453, allocations: 0.6395 MB / 462.8 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/0.4454, allocations: 47.08 kB / 462.8 MB, free: 1.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=120): time 4.849e-06/0.4454, allocations: 112 / 462.8 MB, free: 1.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=154): time 0.06918/0.5146, allocations: 20.85 MB / 483.7 MB, free: 12.13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.995e-05/0.5147, allocations: 153.4 kB / 483.8 MB, free: 11.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003844/0.5186, allocations: 2.946 MB / 486.8 MB, free: 8.988 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002931/0.5189, allocations: 49.89 kB / 486.8 MB, free: 8.934 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001382/0.5203, allocations: 2.11 MB / 488.9 MB, free: 6.789 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006541/0.5209, allocations: 0.6055 MB / 489.6 MB, free: 6.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/0.5212, allocations: 96 kB / 489.6 MB, free: 6.082 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002929/0.5215, allocations: 0.5126 MB / 490.2 MB, free: 5.562 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00301/0.5245, allocations: 2.188 MB / 492.3 MB, free: 3.367 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004834/0.5293, allocations: 5.142 MB / 497.5 MB, free: 12.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004441/0.5338, allocations: 3.295 MB / 0.489 GB, free: 9.453 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-05/0.5339, allocations: 32 kB / 0.4891 GB, free: 9.422 MB / 414.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02382/0.5577, allocations: 10.27 MB / 0.4991 GB, free: 15.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.229e-05/0.5578, allocations: 48 kB / 0.4992 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001114/0.5579, allocations: 108 kB / 0.4993 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01204/0.57, allocations: 3.517 MB / 0.5027 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003564/0.5736, allocations: 1.092 MB / 0.5038 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01868/0.5923, allocations: 12.46 MB / 0.5159 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003541/0.5959, allocations: 335.4 kB / 0.5163 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005232/0.5964, allocations: 311.9 kB / 0.5165 GB, free: 13.09 MB / 446.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.002033/0.5984, allocations: 1.461 MB / 0.518 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004285/0.5989, allocations: 256.7 kB / 0.5182 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01557/0.6145, allocations: 6.018 MB / 0.5241 GB, free: 5.305 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.245e-05/0.6145, allocations: 16 kB / 0.5241 GB, free: 5.289 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.81e-05/0.6146, allocations: 8 kB / 0.5241 GB, free: 5.281 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-05/0.6146, allocations: 11.97 kB / 0.5241 GB, free: 5.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2176/0.8323, allocations: 13.21 MB / 0.537 GB, free: 140.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.208e-05/0.8323, allocations: 0 / 0.537 GB, free: 140.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.8334, allocations: 231.2 kB / 0.5373 GB, free: 140.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01258/0.846, allocations: 4.135 MB / 0.5413 GB, free: 140.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003145/0.8464, allocations: 46.11 kB / 0.5413 GB, free: 140.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01701/0.8634, allocations: 12.52 MB / 0.5536 GB, free: 134.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.8634, allocations: 4.922 kB / 0.5536 GB, free: 134.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01935/0.8828, allocations: 9.988 MB / 0.5633 GB, free: 130.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008079/0.8836, allocations: 321.3 kB / 0.5636 GB, free: 130 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004082/0.8841, allocations: 31.8 kB / 0.5637 GB, free: 129.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/0.8856, allocations: 192 kB / 0.5638 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003886/0.886, allocations: 107.8 kB / 0.5639 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/0.8862, allocations: 54.91 kB / 0.564 GB, free: 129.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002384/0.8886, allocations: 1.838 MB / 0.5658 GB, free: 128.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8886, allocations: 3.828 kB / 0.5658 GB, free: 128.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003525/0.8921, allocations: 0.8396 MB / 0.5666 GB, free: 127.9 MB / 446.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.0004363/0.8926, allocations: 182.1 kB / 0.5668 GB, free: 127.8 MB / 446.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.007993/0.9006, allocations: 6.186 MB / 0.5728 GB, free: 121.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.9006, allocations: 0 / 0.5728 GB, free: 121.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00416/0.9047, allocations: 2.853 MB / 0.5756 GB, free: 118.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.9061, allocations: 265.4 kB / 0.5759 GB, free: 118.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009839/0.9159, allocations: 8.358 MB / 0.584 GB, free: 110 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001746/0.9177, allocations: 2.378 MB / 0.5864 GB, free: 107.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003019/0.9207, allocations: 1.527 MB / 0.5878 GB, free: 106 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004092/0.9211, allocations: 191.4 kB / 0.588 GB, free: 105.8 MB / 446.1 MB Notification: Performance of SimCode: time 8.61e-07/0.9211, allocations: 0 / 0.588 GB, free: 105.8 MB / 446.1 MB Notification: Performance of Templates: time 0.04841/0.9696, allocations: 38.95 MB / 0.6261 GB, free: 67 MB / 446.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","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches