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.001411/0.001411, allocations: 109.4 kB / 18.34 MB, free: 4.828 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.00146/0.00146, allocations: 192.1 kB / 19.28 MB, free: 3.898 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.326/1.326, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001215/0.001216, allocations: 51.92 kB / 282.1 MB, free: 2.441 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08552/0.08675, allocations: 46.62 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01257/0.09937, allocations: 7.05 MB / 335.8 MB, free: 12.65 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009152/0.1086, allocations: 3.132 MB / 338.9 MB, free: 9.512 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001401/0.1101, allocations: 31.94 kB / 338.9 MB, free: 9.48 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003512/0.1136, allocations: 0.9029 MB / 339.8 MB, free: 8.574 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006096/0.1197, allocations: 1.37 MB / 341.2 MB, free: 7.199 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002148/0.1219, allocations: 0.5225 MB / 341.7 MB, free: 6.676 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005911/0.1279, allocations: 2.735 MB / 344.5 MB, free: 3.93 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003093/0.131, allocations: 1.322 MB / 345.8 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002384/0.1334, allocations: 0.8641 MB / 346.6 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004416/0.1378, allocations: 2.015 MB / 348.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006786/0.1386, allocations: 176 kB / 348.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002874/0.1414, allocations: 0.9789 MB / 349.8 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001945/0.1434, allocations: 1.138 MB / 351 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002139/0.1456, allocations: 1.301 MB / 352.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007428/0.153, allocations: 4.422 MB / 356.7 MB, free: 7.676 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.1531, allocations: 4 kB / 356.7 MB, free: 7.672 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1531, allocations: 0 / 356.7 MB, free: 7.672 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.217e-05/0.1532, allocations: 0 / 356.7 MB, free: 7.672 MB / 302.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.01297/0.1662, allocations: 3.273 MB / 360 MB, free: 4.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.567e-05/0.1663, allocations: 8.031 kB / 360 MB, free: 4.332 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01233/0.1786, allocations: 1.655 MB / 361.6 MB, free: 2.672 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007223/0.1859, allocations: 1.565 MB / 363.2 MB, free: 1.062 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002419/0.1862, allocations: 139.1 kB / 363.3 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001178/0.1874, allocations: 175.8 kB / 363.5 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01918/0.2066, allocations: 6.588 MB / 370.1 MB, free: 9.629 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001616/0.2068, allocations: 39.66 kB / 370.1 MB, free: 9.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007206/0.2076, allocations: 91.88 kB / 370.2 MB, free: 9.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004/0.2116, allocations: 1.331 MB / 371.5 MB, free: 8.164 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01968/0.2313, allocations: 5.836 MB / 377.4 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.197/0.4284, allocations: 27.94 MB / 405.3 MB, free: 29.85 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005579/0.434, allocations: 2.789 MB / 408.1 MB, free: 28.6 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.4354, allocations: 1.313 MB / 409.4 MB, free: 28.01 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005985/0.436, allocations: 0.6336 MB / 410 MB, free: 27.4 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.436, allocations: 50.97 kB / 410.1 MB, free: 27.35 MB / 318.1 MB Notification: Performance of pre-optimization done (n=129): time 3.998e-06/0.436, allocations: 0 / 410.1 MB, free: 27.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=163): time 0.06067/0.4967, allocations: 21.01 MB / 431.1 MB, free: 9.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.4968, allocations: 175.1 kB / 431.3 MB, free: 9.613 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003576/0.5004, allocations: 2.811 MB / 434.1 MB, free: 6.785 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004004/0.5008, allocations: 49.7 kB / 434.1 MB, free: 6.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009821/0.5018, allocations: 2.067 MB / 436.2 MB, free: 4.66 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005117/0.5023, allocations: 0.6324 MB / 436.8 MB, free: 4.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001121/0.5034, allocations: 1.004 MB / 437.8 MB, free: 3.004 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.486e-05/0.5035, allocations: 301.1 kB / 438.1 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002367/0.5059, allocations: 2.231 MB / 440.4 MB, free: 480 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005101/0.511, allocations: 5.147 MB / 445.5 MB, free: 9.863 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009196/0.5202, allocations: 7.981 MB / 453.5 MB, free: 452 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.481e-05/0.5203, allocations: 28 kB / 453.5 MB, free: 424 kB / 334.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02255/0.5429, allocations: 10.28 MB / 463.8 MB, free: 6.098 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.273e-05/0.543, allocations: 51.98 kB / 463.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001051/0.5431, allocations: 104 kB / 464 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01138/0.5545, allocations: 3.431 MB / 467.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003387/0.5579, allocations: 1.095 MB / 468.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01916/0.5771, allocations: 12.86 MB / 481.3 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003891/0.581, allocations: 331.4 kB / 481.7 MB, free: 4.062 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000782/0.5818, allocations: 304 kB / 482 MB, free: 3.766 MB / 366.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.00234/0.5842, allocations: 1.465 MB / 483.4 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005403/0.5847, allocations: 252.7 kB / 483.7 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01522/0.6, allocations: 5.994 MB / 489.7 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.074e-05/0.6001, allocations: 28 kB / 489.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-05/0.6001, allocations: 8 kB / 489.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.231e-05/0.6001, allocations: 7.969 kB / 489.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02846/0.6286, allocations: 13.22 MB / 0.4911 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.66e-05/0.6287, allocations: 4 kB / 0.4911 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.6299, allocations: 236.1 kB / 0.4914 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01247/0.6423, allocations: 4.012 MB / 0.4953 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004125/0.6428, allocations: 43.97 kB / 0.4953 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01945/0.6622, allocations: 12.83 MB / 0.5079 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6623, allocations: 4 kB / 0.5079 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02097/0.6833, allocations: 10.08 MB / 0.5177 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008199/0.6841, allocations: 309.6 kB / 0.518 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007209/0.6849, allocations: 43.98 kB / 0.518 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002008/0.6869, allocations: 183.7 kB / 0.5182 GB, free: 2.684 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005335/0.6875, allocations: 108.8 kB / 0.5183 GB, free: 2.574 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002176/0.6877, allocations: 59.84 kB / 0.5184 GB, free: 2.516 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002848/0.6905, allocations: 1.738 MB / 0.5201 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6906, allocations: 0 / 0.5201 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003855/0.6944, allocations: 0.8269 MB / 0.5209 GB, free: 15.94 MB / 430.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.0004741/0.6949, allocations: 153.8 kB / 0.521 GB, free: 15.79 MB / 430.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.01074/0.7057, allocations: 6.27 MB / 0.5271 GB, free: 9.402 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.7057, allocations: 4 kB / 0.5272 GB, free: 9.398 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005547/0.7112, allocations: 2.893 MB / 0.53 GB, free: 6.363 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002842/0.7141, allocations: 302.5 kB / 0.5303 GB, free: 6.074 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1761/0.8903, allocations: 7.306 MB / 0.5374 GB, free: 148.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002356/0.8927, allocations: 2.319 MB / 0.5397 GB, free: 147.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003331/0.896, allocations: 1.507 MB / 0.5411 GB, free: 147.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005329/0.8965, allocations: 196.3 kB / 0.5413 GB, free: 147.4 MB / 430.1 MB Notification: Performance of SimCode: time 2.194e-06/0.8966, allocations: 0 / 0.5413 GB, free: 147.4 MB / 430.1 MB Notification: Performance of Templates: time 0.05425/0.9508, allocations: 36.96 MB / 0.5774 GB, free: 125.4 MB / 430.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches