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.001328/0.001328, allocations: 95.98 kB / 17.3 MB, free: 6.391 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.001768/0.001768, allocations: 173.8 kB / 18.2 MB, free: 5.551 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.527/1.527, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0004393/0.0004395, allocations: 16 kB / 281.4 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1029, allocations: 47.58 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01323/0.1162, allocations: 13.43 MB / 342.4 MB, free: 6.262 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009423/0.1257, allocations: 4.36 MB / 346.8 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002572/0.1283, allocations: 51.88 kB / 346.8 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007968/0.1291, allocations: 270.8 kB / 347.1 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003169/0.1323, allocations: 1.281 MB / 348.4 MB, free: 296 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.1334, allocations: 491.2 kB / 348.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005253/0.1387, allocations: 4.494 MB / 353.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002472/0.1412, allocations: 1.654 MB / 355 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009725/0.1422, allocations: 0.6535 MB / 355.6 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001509/0.1437, allocations: 1.254 MB / 356.9 MB, free: 7.699 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001951/0.1439, allocations: 84 kB / 357 MB, free: 7.617 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.1455, allocations: 0.9358 MB / 357.9 MB, free: 6.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009292/0.1464, allocations: 1.06 MB / 359 MB, free: 5.617 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001071/0.1475, allocations: 1.232 MB / 360.2 MB, free: 4.371 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003859/0.1514, allocations: 4.127 MB / 364.3 MB, free: 236 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1514, allocations: 0 / 364.3 MB, free: 236 kB / 302.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.1514, allocations: 0 / 364.3 MB, free: 236 kB / 302.1 MB Notification: Performance of Transformations before backend: time 5.866e-05/0.1515, allocations: 3.938 kB / 364.3 MB, free: 232 kB / 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.006143/0.1576, allocations: 2.731 MB / 367.1 MB, free: 13.44 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.1577, allocations: 16.02 kB / 367.1 MB, free: 13.42 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006047/0.1637, allocations: 1.698 MB / 368.8 MB, free: 11.72 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002779/0.1665, allocations: 1.561 MB / 370.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.527e-05/0.1666, allocations: 131.1 kB / 370.5 MB, free: 9.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003632/0.167, allocations: 171.9 kB / 370.6 MB, free: 9.812 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009889/0.1769, allocations: 6.604 MB / 377.2 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.942e-05/0.177, allocations: 39.66 kB / 377.3 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002662/0.1773, allocations: 87.83 kB / 377.4 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002069/0.1794, allocations: 1.331 MB / 378.7 MB, free: 1.219 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1979/0.3773, allocations: 5.838 MB / 384.5 MB, free: 48.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02709/0.4044, allocations: 28.09 MB / 412.6 MB, free: 27.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005232/0.4097, allocations: 2.756 MB / 415.4 MB, free: 25.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001357/0.411, allocations: 1.271 MB / 416.6 MB, free: 24.47 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005911/0.4117, allocations: 0.6334 MB / 417.3 MB, free: 23.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.4117, allocations: 47.05 kB / 417.3 MB, free: 23.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=120): time 4.949e-06/0.4117, allocations: 0 / 417.3 MB, free: 23.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=154): time 0.06582/0.4775, allocations: 20.6 MB / 437.9 MB, free: 2.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.4777, allocations: 145.5 kB / 438.1 MB, free: 2.809 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003361/0.481, allocations: 2.836 MB / 440.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002889/0.4813, allocations: 51.27 kB / 441 MB, free: 15.9 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001581/0.4829, allocations: 2.108 MB / 443.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006393/0.4836, allocations: 0.6022 MB / 443.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005512/0.4841, allocations: 416.7 kB / 444.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.4842, allocations: 309 kB / 444.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003117/0.4874, allocations: 2.223 MB / 446.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005096/0.4925, allocations: 5.185 MB / 451.8 MB, free: 3.578 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009276/0.5018, allocations: 7.986 MB / 459.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.373e-05/0.5019, allocations: 28 kB / 459.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02406/0.5259, allocations: 10.34 MB / 470.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.597e-05/0.526, allocations: 48 kB / 470.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001137/0.5262, allocations: 110.8 kB / 470.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01288/0.539, allocations: 3.501 MB / 473.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003771/0.5429, allocations: 1.107 MB / 474.9 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01983/0.5627, allocations: 12.04 MB / 486.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004093/0.5668, allocations: 331.5 kB / 487.3 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006476/0.5675, allocations: 305.2 kB / 487.6 MB, free: 14.15 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 (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.002635/0.5701, allocations: 1.471 MB / 489 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005812/0.5707, allocations: 256.7 kB / 489.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01679/0.5875, allocations: 6.024 MB / 495.3 MB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.03e-05/0.5876, allocations: 17.09 kB / 495.3 MB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.063e-05/0.5877, allocations: 8 kB / 495.3 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.503e-05/0.5877, allocations: 11.92 kB / 495.3 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03009/0.6178, allocations: 13.22 MB / 0.4967 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-05/0.6179, allocations: 8 kB / 0.4967 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/0.6191, allocations: 227.7 kB / 0.4969 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01398/0.6331, allocations: 4.144 MB / 0.5009 GB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004234/0.6336, allocations: 39.97 kB / 0.501 GB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01945/0.6531, allocations: 12.1 MB / 0.5128 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.6531, allocations: 0 / 0.5128 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0221/0.6752, allocations: 9.946 MB / 0.5225 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006872/0.6759, allocations: 305.8 kB / 0.5228 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003603/0.6763, allocations: 32.69 kB / 0.5228 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001643/0.678, allocations: 192.4 kB / 0.523 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004465/0.6784, allocations: 104.8 kB / 0.5231 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/0.6786, allocations: 52.83 kB / 0.5232 GB, free: 13.69 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00263/0.6812, allocations: 1.766 MB / 0.5249 GB, free: 11.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6812, allocations: 0 / 0.5249 GB, free: 11.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003723/0.685, allocations: 0.8275 MB / 0.5257 GB, free: 11.09 MB / 430.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 (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.0004531/0.6854, allocations: 164.6 kB / 0.5258 GB, free: 10.92 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.01118/0.6966, allocations: 6.228 MB / 0.5319 GB, free: 4.582 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/0.6966, allocations: 0 / 0.5319 GB, free: 4.582 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005482/0.7021, allocations: 2.862 MB / 0.5347 GB, free: 1.578 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/0.7045, allocations: 284.2 kB / 0.535 GB, free: 1.301 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.19/0.8945, allocations: 8.666 MB / 0.5435 GB, free: 145.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002863/0.8974, allocations: 2.33 MB / 0.5457 GB, free: 144.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004023/0.9015, allocations: 1.531 MB / 0.5472 GB, free: 144.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005154/0.902, allocations: 185.1 kB / 0.5474 GB, free: 144.4 MB / 430.1 MB Notification: Performance of SimCode: time 1.012e-06/0.902, allocations: 0.9375 kB / 0.5474 GB, free: 144.4 MB / 430.1 MB Notification: Performance of Templates: time 0.05507/0.9571, allocations: 39.22 MB / 0.5857 GB, free: 116.8 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 -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