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.00152/0.00152, allocations: 106.5 kB / 17.73 MB, free: 5.367 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.001674/0.001674, allocations: 183.1 kB / 18.66 MB, free: 4.445 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.448/1.448, allocations: 205.1 MB / 224.5 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.001308/0.001309, allocations: 55.92 kB / 328.5 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09765/0.09897, allocations: 46.61 MB / 375.1 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.2163/0.3153, allocations: 7.034 MB / 382.2 MB, free: 9.602 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007155/0.3225, allocations: 3.143 MB / 385.3 MB, free: 8.238 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.3238, allocations: 31.34 kB / 385.4 MB, free: 8.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002576/0.3264, allocations: 0.8931 MB / 386.2 MB, free: 7.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004399/0.3308, allocations: 1.379 MB / 387.6 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.3323, allocations: 0.5264 MB / 388.2 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004747/0.337, allocations: 2.727 MB / 390.9 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00175/0.3388, allocations: 1.328 MB / 392.2 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.3402, allocations: 0.8664 MB / 393.1 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002597/0.3428, allocations: 2.024 MB / 395.1 MB, free: 4.703 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004905/0.3433, allocations: 177.7 kB / 395.3 MB, free: 4.703 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001772/0.3451, allocations: 0.9754 MB / 396.2 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009772/0.346, allocations: 1.129 MB / 397.4 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.3471, allocations: 1.307 MB / 398.7 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003612/0.3507, allocations: 4.421 MB / 403.1 MB, free: 104 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3507, allocations: 5.031 kB / 403.1 MB, free: 100 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3507, allocations: 0 / 403.1 MB, free: 100 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.306e-05/0.3508, allocations: 0 / 403.1 MB, free: 100 kB / 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.007302/0.3581, allocations: 3.266 MB / 406.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3582, allocations: 13.3 kB / 406.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006069/0.3642, allocations: 1.659 MB / 408 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003184/0.3674, allocations: 1.567 MB / 409.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.596e-05/0.3676, allocations: 131.1 kB / 409.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000359/0.3679, allocations: 168.1 kB / 409.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01089/0.3788, allocations: 6.594 MB / 416.5 MB, free: 5.527 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.272e-05/0.379, allocations: 39.66 kB / 416.5 MB, free: 5.488 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000298/0.3793, allocations: 83.89 kB / 416.6 MB, free: 5.406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002372/0.3817, allocations: 1.327 MB / 417.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01107/0.3928, allocations: 5.847 MB / 423.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03247/0.4252, allocations: 27.96 MB / 451.8 MB, free: 1.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006187/0.4315, allocations: 2.79 MB / 454.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/0.433, allocations: 1.311 MB / 455.9 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006909/0.4337, allocations: 0.6356 MB / 456.5 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.4338, allocations: 47.06 kB / 456.5 MB, free: 12.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 3.276e-06/0.4338, allocations: 0 / 456.5 MB, free: 12.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=163): time 0.07272/0.5065, allocations: 21.01 MB / 477.5 MB, free: 7.203 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.5067, allocations: 183.2 kB / 477.7 MB, free: 6.984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00407/0.5108, allocations: 2.804 MB / 480.5 MB, free: 4.164 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003698/0.5111, allocations: 45.7 kB / 480.6 MB, free: 4.113 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001677/0.5128, allocations: 2.083 MB / 482.7 MB, free: 1.996 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007339/0.5136, allocations: 0.6286 MB / 483.3 MB, free: 1.359 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001381/0.515, allocations: 0.988 MB / 484.3 MB, free: 368 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.668e-05/0.5151, allocations: 305.1 kB / 484.6 MB, free: 60 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003011/0.5181, allocations: 2.231 MB / 486.8 MB, free: 13.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005183/0.5233, allocations: 5.158 MB / 492 MB, free: 7.207 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009468/0.5328, allocations: 7.965 MB / 499.9 MB, free: 13.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-05/0.5328, allocations: 28 kB / 500 MB, free: 13.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02562/0.5585, allocations: 10.3 MB / 0.4983 GB, free: 3.441 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.265e-05/0.5586, allocations: 55.91 kB / 0.4983 GB, free: 3.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001061/0.5587, allocations: 103.9 kB / 0.4984 GB, free: 3.285 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01176/0.5705, allocations: 3.427 MB / 0.5018 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003701/0.5742, allocations: 1.092 MB / 0.5029 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01998/0.5942, allocations: 12.85 MB / 0.5154 GB, free: 1.746 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004053/0.5983, allocations: 331.4 kB / 0.5157 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006017/0.599, allocations: 308 kB / 0.516 GB, free: 1.121 MB / 446.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.002392/0.6014, allocations: 1.465 MB / 0.5174 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005555/0.6019, allocations: 248.7 kB / 0.5177 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01642/0.6184, allocations: 5.998 MB / 0.5235 GB, free: 9.355 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.93e-05/0.6185, allocations: 31.98 kB / 0.5236 GB, free: 9.324 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.278e-05/0.6185, allocations: 8 kB / 0.5236 GB, free: 9.316 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.501e-05/0.6186, allocations: 7.984 kB / 0.5236 GB, free: 9.309 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02962/0.6482, allocations: 13.23 MB / 0.5365 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.656e-05/0.6483, allocations: 0 / 0.5365 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.6494, allocations: 235.7 kB / 0.5367 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01284/0.6622, allocations: 4.008 MB / 0.5406 GB, free: 7.715 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000294/0.6625, allocations: 51.89 kB / 0.5407 GB, free: 7.664 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2383/0.9008, allocations: 12.81 MB / 0.5532 GB, free: 150.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.9009, allocations: 4.547 kB / 0.5532 GB, free: 150.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02092/0.9218, allocations: 10.09 MB / 0.563 GB, free: 147.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006796/0.9225, allocations: 308.7 kB / 0.5633 GB, free: 147 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004146/0.9229, allocations: 36.12 kB / 0.5634 GB, free: 147 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001561/0.9245, allocations: 185.7 kB / 0.5636 GB, free: 147 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000429/0.9249, allocations: 111.8 kB / 0.5637 GB, free: 147 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001541/0.9251, allocations: 50.98 kB / 0.5637 GB, free: 147 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00242/0.9275, allocations: 1.748 MB / 0.5654 GB, free: 146.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/0.9276, allocations: 0 / 0.5654 GB, free: 146.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003762/0.9313, allocations: 0.819 MB / 0.5662 GB, free: 146.3 MB / 478.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.0004289/0.9318, allocations: 165.7 kB / 0.5664 GB, free: 146.2 MB / 478.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.009525/0.9413, allocations: 6.274 MB / 0.5725 GB, free: 143.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.9413, allocations: 7.719 kB / 0.5725 GB, free: 143.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004248/0.9456, allocations: 2.889 MB / 0.5753 GB, free: 142 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/0.9475, allocations: 302.5 kB / 0.5756 GB, free: 141.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008564/0.956, allocations: 7.315 MB / 0.5828 GB, free: 138.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001667/0.9577, allocations: 2.317 MB / 0.585 GB, free: 137.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002555/0.9603, allocations: 1.509 MB / 0.5865 GB, free: 136.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004235/0.9607, allocations: 190.7 kB / 0.5867 GB, free: 136.2 MB / 478.1 MB Notification: Performance of SimCode: time 4.41e-07/0.9607, allocations: 0 / 0.5867 GB, free: 136.2 MB / 478.1 MB Notification: Performance of Templates: time 0.04549/1.006, allocations: 38.65 MB / 0.6244 GB, free: 98.23 MB / 478.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","/var/lib/jenkins/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