Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001009/0.001009, allocations: 106.4 kB / 17.74 MB, free: 5.348 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.001008/0.001008, allocations: 185.4 kB / 18.67 MB, free: 4.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009723/0.0009723, allocations: 47.91 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2135, allocations: 49.44 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.007189/0.2207, allocations: 7.034 MB / 408.5 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004985/0.2257, allocations: 3.135 MB / 411.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004757/0.2262, allocations: 31.94 kB / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.2279, allocations: 0.8912 MB / 412.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002444/0.2303, allocations: 1.405 MB / 413.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009136/0.2312, allocations: 0.5147 MB / 414.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002886/0.2341, allocations: 2.731 MB / 417.2 MB, free: 9.086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.2355, allocations: 1.326 MB / 418.5 MB, free: 7.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009241/0.2364, allocations: 0.8642 MB / 419.4 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002076/0.2385, allocations: 2.018 MB / 421.4 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002867/0.2388, allocations: 183.9 kB / 421.6 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.2403, allocations: 0.979 MB / 422.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000889/0.2412, allocations: 1.122 MB / 423.7 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001062/0.2422, allocations: 1.305 MB / 425 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003817/0.2461, allocations: 4.423 MB / 429.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.2461, allocations: 4 kB / 429.4 MB, free: 12.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2461, allocations: 4 kB / 429.4 MB, free: 12.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.229e-05/0.2461, allocations: 0 / 429.4 MB, free: 12.81 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.005959/0.2521, allocations: 3.265 MB / 432.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.2522, allocations: 15.97 kB / 432.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00601/0.2582, allocations: 1.647 MB / 434.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002842/0.261, allocations: 1.522 MB / 435.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-05/0.2611, allocations: 127.2 kB / 436 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002995/0.2614, allocations: 159.9 kB / 436.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00854/0.27, allocations: 6.607 MB / 442.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.534e-05/0.2701, allocations: 31.75 kB / 442.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002514/0.2703, allocations: 79.91 kB / 442.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002003/0.2723, allocations: 1.327 MB / 444.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008743/0.2811, allocations: 5.847 MB / 450 MB, free: 7.539 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02721/0.3083, allocations: 27.96 MB / 478 MB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00614/0.3145, allocations: 2.79 MB / 480.8 MB, free: 7.777 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.3159, allocations: 1.306 MB / 482.1 MB, free: 6.457 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006531/0.3166, allocations: 0.6356 MB / 482.7 MB, free: 5.707 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.3166, allocations: 47.06 kB / 482.7 MB, free: 5.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=129): time 3.376e-06/0.3167, allocations: 0 / 482.7 MB, free: 5.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=163): time 0.07356/0.3902, allocations: 21 MB / 0.4919 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.578e-05/0.3903, allocations: 171.2 kB / 0.4921 GB, free: 332 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003816/0.3941, allocations: 2.788 MB / 0.4948 GB, free: 13.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002632/0.3944, allocations: 45.7 kB / 0.4949 GB, free: 13.47 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0013/0.3957, allocations: 2.083 MB / 0.4969 GB, free: 11.35 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006352/0.3964, allocations: 0.6285 MB / 0.4975 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001269/0.3977, allocations: 0.9996 MB / 0.4985 GB, free: 9.703 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.847e-05/0.3978, allocations: 305.1 kB / 0.4988 GB, free: 9.402 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003017/0.4008, allocations: 2.227 MB / 0.501 GB, free: 7.168 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004592/0.4054, allocations: 5.162 MB / 0.506 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008206/0.4136, allocations: 7.968 MB / 0.5138 GB, free: 7.137 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.782e-05/0.4137, allocations: 28 kB / 0.5138 GB, free: 7.109 MB / 446.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02309/0.4368, allocations: 10.29 MB / 0.5239 GB, free: 12.79 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.933e-05/0.4369, allocations: 52 kB / 0.5239 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001248/0.437, allocations: 100 kB / 0.524 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01226/0.4493, allocations: 3.435 MB / 0.5274 GB, free: 9.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003554/0.4529, allocations: 1.088 MB / 0.5284 GB, free: 8.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1947/0.6476, allocations: 12.84 MB / 0.541 GB, free: 125.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003484/0.6511, allocations: 329.5 kB / 0.5413 GB, free: 125.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003281/0.6515, allocations: 310.6 kB / 0.5416 GB, free: 125.2 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.001589/0.6531, allocations: 1.467 MB / 0.543 GB, free: 124.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003751/0.6534, allocations: 254 kB / 0.5433 GB, free: 124.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01426/0.6677, allocations: 5.992 MB / 0.5491 GB, free: 122.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/0.6677, allocations: 10.55 kB / 0.5491 GB, free: 122.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.6677, allocations: 0 / 0.5491 GB, free: 122.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003114/0.6681, allocations: 306.5 kB / 0.5494 GB, free: 122.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003479/0.6684, allocations: 38.02 kB / 0.5494 GB, free: 122.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/0.6699, allocations: 143.8 kB / 0.5496 GB, free: 122.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003131/0.6702, allocations: 127.7 kB / 0.5497 GB, free: 122.7 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009992/0.6802, allocations: 5.793 MB / 0.5554 GB, free: 120.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005533/0.6858, allocations: 5.94 MB / 0.5612 GB, free: 116 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001504/0.6873, allocations: 1.615 MB / 0.5627 GB, free: 114.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001741/0.689, allocations: 1.73 MB / 0.5644 GB, free: 112.6 MB / 462.1 MB Notification: Performance of Backend: time 4.01e-07/0.689, allocations: 0 / 0.5644 GB, free: 112.6 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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 4.0.0+maint.om/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.008207/0.6972, allocations: 5.056 MB / 0.5694 GB, free: 107.6 MB / 462.1 MB Notification: Performance of SimCode: time 0.006654/0.7039, allocations: 6.781 MB / 0.576 GB, free: 100.8 MB / 462.1 MB Notification: Performance of Templates: time 0.05463/0.7586, allocations: 44.93 MB / 0.6199 GB, free: 56.06 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches