Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.0009645/0.0009643, allocations: 97.77 kB / 16.95 MB, free: 6.453 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.001416/0.001416, allocations: 183.7 kB / 17.84 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004482/0.0004482, allocations: 16 kB / 280.8 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09613/0.09659, allocations: 47.59 MB / 328.4 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01289/0.1095, allocations: 12.57 MB / 340.9 MB, free: 7.461 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008954/0.1185, allocations: 4.073 MB / 345 MB, free: 3.379 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001697/0.1203, allocations: 55.88 kB / 345.1 MB, free: 3.324 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.1215, allocations: 0.5871 MB / 345.6 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004512/0.126, allocations: 2.18 MB / 347.8 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000912/0.1269, allocations: 427.3 kB / 348.2 MB, free: 132 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.02348/0.1504, allocations: 17.66 MB / 365.9 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002542/0.153, allocations: 1.548 MB / 367.4 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.1542, allocations: 0.7395 MB / 368.2 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001449/0.1557, allocations: 1.235 MB / 369.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000189/0.1559, allocations: 88 kB / 369.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00139/0.1573, allocations: 0.7722 MB / 370.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001013/0.1583, allocations: 1.04 MB / 371.3 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005322/0.1588, allocations: 0.5079 MB / 371.8 MB, free: 8.465 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003604/0.1624, allocations: 3.344 MB / 375.2 MB, free: 5.113 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.1625, allocations: 0 / 375.2 MB, free: 5.113 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1625, allocations: 4 kB / 375.2 MB, free: 5.109 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.512e-05/0.1626, allocations: 0 / 375.2 MB, free: 5.109 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.005915/0.1685, allocations: 2.77 MB / 377.9 MB, free: 2.281 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1686, allocations: 8.031 kB / 377.9 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005848/0.1744, allocations: 1.704 MB / 379.7 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2141/0.3886, allocations: 1.523 MB / 381.2 MB, free: 52.55 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002405/0.3889, allocations: 125.1 kB / 381.3 MB, free: 52.54 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009124/0.3898, allocations: 174.1 kB / 381.5 MB, free: 52.54 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01695/0.4068, allocations: 6.598 MB / 388.1 MB, free: 49.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002405/0.4071, allocations: 33.36 kB / 388.1 MB, free: 49.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008511/0.4079, allocations: 90.08 kB / 388.2 MB, free: 49.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003475/0.4114, allocations: 1.326 MB / 389.5 MB, free: 49.54 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01381/0.4253, allocations: 5.828 MB / 395.3 MB, free: 47.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03096/0.4563, allocations: 28.07 MB / 423.4 MB, free: 19.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00517/0.4615, allocations: 2.75 MB / 426.2 MB, free: 16.83 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.4629, allocations: 1.26 MB / 427.4 MB, free: 15.56 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000573/0.4635, allocations: 0.6373 MB / 428.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.4636, allocations: 55.05 kB / 428.1 MB, free: 14.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=120): time 3.857e-06/0.4636, allocations: 0 / 428.1 MB, free: 14.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=154): time 0.06552/0.5291, allocations: 20.59 MB / 448.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.044e-05/0.5292, allocations: 141.5 kB / 448.8 MB, free: 9.902 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005656/0.5349, allocations: 2.825 MB / 451.7 MB, free: 7.062 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004172/0.5354, allocations: 46.72 kB / 451.7 MB, free: 7.012 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001916/0.5373, allocations: 2.107 MB / 453.8 MB, free: 4.906 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009832/0.5383, allocations: 0.603 MB / 454.4 MB, free: 4.309 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004668/0.5388, allocations: 96 kB / 454.5 MB, free: 4.215 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0004229/0.5392, allocations: 0.5088 MB / 455 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003346/0.5426, allocations: 2.2 MB / 457.2 MB, free: 1.492 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004899/0.5475, allocations: 5.174 MB / 462.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004626/0.5521, allocations: 3.309 MB / 465.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.021e-05/0.5522, allocations: 32 kB / 465.7 MB, free: 7.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02303/0.5752, allocations: 10.28 MB / 476 MB, free: 13.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001679/0.5754, allocations: 59.27 kB / 476.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000221/0.5757, allocations: 108.1 kB / 476.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01151/0.5872, allocations: 3.518 MB / 479.7 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00491/0.5922, allocations: 1.103 MB / 480.8 MB, free: 8.379 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01956/0.6118, allocations: 12.04 MB / 492.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003787/0.6156, allocations: 332.8 kB / 493.2 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008059/0.6164, allocations: 307.9 kB / 493.5 MB, free: 11.57 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 (585): * Single equations (assignments): 575 * 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.002861/0.6193, allocations: 1.479 MB / 494.9 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006134/0.6199, allocations: 252.7 kB / 495.2 MB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01549/0.6354, allocations: 6.018 MB / 0.4895 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-05/0.6355, allocations: 19.94 kB / 0.4895 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.314e-05/0.6356, allocations: 8 kB / 0.4895 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-05/0.6356, allocations: 3.984 kB / 0.4895 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03302/0.6686, allocations: 13.22 MB / 0.5024 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.234e-05/0.6687, allocations: 0 / 0.5024 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/0.6699, allocations: 235.6 kB / 0.5026 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01252/0.6825, allocations: 4.136 MB / 0.5067 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004177/0.6829, allocations: 43.97 kB / 0.5067 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0196/0.7026, allocations: 12.09 MB / 0.5185 GB, free: 5.828 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7026, allocations: 0 / 0.5185 GB, free: 5.828 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.205/0.9077, allocations: 9.92 MB / 0.5282 GB, free: 129.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008008/0.9085, allocations: 308 kB / 0.5285 GB, free: 129.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004148/0.9089, allocations: 37.14 kB / 0.5285 GB, free: 129.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001537/0.9105, allocations: 183.8 kB / 0.5287 GB, free: 129.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004015/0.9109, allocations: 109.6 kB / 0.5288 GB, free: 129.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000149/0.9111, allocations: 47.5 kB / 0.5289 GB, free: 129.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002994/0.9141, allocations: 1.753 MB / 0.5306 GB, free: 129.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.613e-06/0.9141, allocations: 0 / 0.5306 GB, free: 129.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004133/0.9182, allocations: 0.8374 MB / 0.5314 GB, free: 129.2 MB / 414.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.0004305/0.9187, allocations: 164.8 kB / 0.5316 GB, free: 129.1 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74: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 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74: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.01021/0.9289, allocations: 6.201 MB / 0.5376 GB, free: 126.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.9289, allocations: 1.375 kB / 0.5376 GB, free: 126.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004844/0.9338, allocations: 2.86 MB / 0.5404 GB, free: 125.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002754/0.9365, allocations: 284 kB / 0.5407 GB, free: 125 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.9474, allocations: 8.394 MB / 0.5489 GB, free: 121 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002047/0.9495, allocations: 2.325 MB / 0.5511 GB, free: 119.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003387/0.9529, allocations: 1.531 MB / 0.5526 GB, free: 119.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004769/0.9534, allocations: 190.2 kB / 0.5528 GB, free: 119.8 MB / 414.1 MB Notification: Performance of SimCode: time 1.343e-06/0.9534, allocations: 4 kB / 0.5528 GB, free: 119.8 MB / 414.1 MB Notification: Performance of Templates: time 0.05228/1.006, allocations: 38.49 MB / 0.5904 GB, free: 84.56 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches