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.001158/0.001158, allocations: 109.9 kB / 17.74 MB, free: 5.359 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.001084/0.001084, allocations: 181.5 kB / 18.66 MB, free: 4.449 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.361/1.361, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 52.02 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3088, allocations: 49.42 MB / 401.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008794/0.3177, allocations: 7.05 MB / 408.4 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006791/0.3245, allocations: 3.127 MB / 411.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001524/0.3261, allocations: 39.88 kB / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00239/0.3286, allocations: 0.899 MB / 412.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003914/0.3325, allocations: 1.374 MB / 413.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.3339, allocations: 0.5264 MB / 414.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004603/0.3386, allocations: 2.726 MB / 417.1 MB, free: 9.094 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002533/0.3411, allocations: 1.326 MB / 418.5 MB, free: 7.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002296/0.3434, allocations: 0.8564 MB / 419.3 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003391/0.3469, allocations: 2.022 MB / 421.3 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008756/0.3478, allocations: 176 kB / 421.5 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002661/0.3504, allocations: 0.9789 MB / 422.5 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001788/0.3523, allocations: 1.13 MB / 423.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002651/0.3549, allocations: 1.309 MB / 424.9 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00619/0.3611, allocations: 4.419 MB / 429.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.3612, allocations: 0 / 429.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3612, allocations: 0 / 429.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001626/0.3614, allocations: 0 / 429.4 MB, free: 12.83 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.008939/0.3703, allocations: 3.273 MB / 432.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.3704, allocations: 8.031 kB / 432.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006367/0.3767, allocations: 1.655 MB / 434.3 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003635/0.3804, allocations: 1.518 MB / 435.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/0.3806, allocations: 127.2 kB / 435.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008642/0.3815, allocations: 167.9 kB / 436.1 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01245/0.394, allocations: 6.592 MB / 442.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001476/0.3942, allocations: 35.73 kB / 442.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007304/0.3949, allocations: 87.89 kB / 442.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002313/0.3972, allocations: 1.323 MB / 444.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01146/0.4087, allocations: 5.851 MB / 450 MB, free: 7.551 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03547/0.4442, allocations: 27.96 MB / 477.9 MB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006463/0.4507, allocations: 2.782 MB / 480.7 MB, free: 7.797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001887/0.4527, allocations: 1.31 MB / 482 MB, free: 6.473 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007813/0.4535, allocations: 0.6317 MB / 482.7 MB, free: 5.727 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.4535, allocations: 51.06 kB / 482.7 MB, free: 5.668 MB / 398.1 MB Notification: Performance of pre-optimization done (n=129): time 5.721e-06/0.4536, allocations: 3.984 kB / 482.7 MB, free: 5.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=163): time 0.07505/0.5286, allocations: 20.99 MB / 0.4919 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.5288, allocations: 187.2 kB / 0.4921 GB, free: 340 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004693/0.5335, allocations: 2.788 MB / 0.4948 GB, free: 13.53 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003793/0.5339, allocations: 49.64 kB / 0.4949 GB, free: 13.47 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001633/0.5355, allocations: 2.075 MB / 0.4969 GB, free: 11.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008882/0.5364, allocations: 0.6208 MB / 0.4975 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001951/0.5384, allocations: 1.004 MB / 0.4985 GB, free: 9.719 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.449e-05/0.5385, allocations: 305.1 kB / 0.4988 GB, free: 9.418 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00325/0.5418, allocations: 2.227 MB / 0.5009 GB, free: 7.184 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005537/0.5473, allocations: 5.158 MB / 0.506 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009429/0.5568, allocations: 7.969 MB / 0.5138 GB, free: 7.156 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.903e-05/0.5569, allocations: 28 kB / 0.5138 GB, free: 7.129 MB / 446.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02535/0.5823, allocations: 10.3 MB / 0.5238 GB, free: 12.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001269/0.5824, allocations: 48 kB / 0.5239 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001612/0.5826, allocations: 111.9 kB / 0.524 GB, free: 12.65 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01229/0.5949, allocations: 3.427 MB / 0.5273 GB, free: 9.195 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003704/0.5987, allocations: 1.088 MB / 0.5284 GB, free: 8.105 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2374/0.8361, allocations: 12.84 MB / 0.5409 GB, free: 125.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003549/0.8397, allocations: 334.5 kB / 0.5413 GB, free: 125.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005202/0.8402, allocations: 303.6 kB / 0.5415 GB, free: 125.4 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.001843/0.8421, allocations: 1.468 MB / 0.543 GB, free: 124.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00045/0.8425, allocations: 250.8 kB / 0.5432 GB, free: 124.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01432/0.8568, allocations: 5.997 MB / 0.5491 GB, free: 123 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.721e-05/0.8569, allocations: 31.27 kB / 0.5491 GB, free: 123 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.217e-05/0.857, allocations: 7.844 kB / 0.5491 GB, free: 123 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.691e-05/0.857, allocations: 9.328 kB / 0.5491 GB, free: 123 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02493/0.8819, allocations: 13.22 MB / 0.562 GB, free: 115 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.009e-05/0.882, allocations: 0.8125 kB / 0.562 GB, free: 115 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.8831, allocations: 232.2 kB / 0.5623 GB, free: 114.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01145/0.8946, allocations: 4.009 MB / 0.5662 GB, free: 110.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004033/0.8951, allocations: 47.95 kB / 0.5662 GB, free: 110.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0154/0.9105, allocations: 12.83 MB / 0.5787 GB, free: 97.83 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.9105, allocations: 0 / 0.5787 GB, free: 97.83 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0179/0.9284, allocations: 10.09 MB / 0.5886 GB, free: 87.87 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005897/0.929, allocations: 303.3 kB / 0.5889 GB, free: 87.56 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000449/0.9295, allocations: 35.92 kB / 0.5889 GB, free: 87.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001677/0.9312, allocations: 195 kB / 0.5891 GB, free: 87.34 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003889/0.9316, allocations: 108.8 kB / 0.5892 GB, free: 87.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001387/0.9317, allocations: 51.97 kB / 0.5893 GB, free: 87.18 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001994/0.9337, allocations: 1.734 MB / 0.5909 GB, free: 85.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.9337, allocations: 0 / 0.5909 GB, free: 85.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00359/0.9373, allocations: 0.8215 MB / 0.5918 GB, free: 84.62 MB / 462.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.0004697/0.9378, allocations: 175.3 kB / 0.5919 GB, free: 84.45 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.008687/0.9465, allocations: 6.271 MB / 0.598 GB, free: 78.06 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.9466, allocations: 4.938 kB / 0.598 GB, free: 78.05 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004502/0.9511, allocations: 2.9 MB / 0.6009 GB, free: 75.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/0.9531, allocations: 309.9 kB / 0.6012 GB, free: 74.72 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009711/0.9628, allocations: 7.602 MB / 0.6086 GB, free: 67.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001624/0.9645, allocations: 2.322 MB / 0.6109 GB, free: 64.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006868/0.9652, allocations: 231.4 kB / 0.6111 GB, free: 64.52 MB / 462.1 MB Notification: Performance of SimCode: time 1.232e-06/0.9652, allocations: 0 / 0.6111 GB, free: 64.52 MB / 462.1 MB Notification: Performance of Templates: time 0.3519/1.317, allocations: 129.4 MB / 0.7374 GB, free: 185.5 MB / 0.5137 GB 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