Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001365/0.001365, allocations: 118.6 kB / 18.45 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001357/0.001357, allocations: 211.7 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.407/1.407, allocations: 227.6 MB / 247.9 MB, free: 10.23 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 63.91 kB / 359.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2526, allocations: 50.54 MB / 410.2 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008396/0.261, allocations: 7.045 MB / 417.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005743/0.2667, allocations: 3.162 MB / 420.4 MB, free: 7.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004952/0.2672, allocations: 31.94 kB / 420.4 MB, free: 7.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.269, allocations: 0.9106 MB / 421.4 MB, free: 6.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002751/0.2718, allocations: 1.366 MB / 422.7 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009924/0.2728, allocations: 0.5186 MB / 423.2 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003352/0.2761, allocations: 2.754 MB / 426 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.2775, allocations: 1.181 MB / 427.2 MB, free: 416 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.279, allocations: 0.8641 MB / 428 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002652/0.2816, allocations: 2.132 MB / 430.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004234/0.282, allocations: 176 kB / 430.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001676/0.2837, allocations: 0.9478 MB / 431.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001123/0.2848, allocations: 1.145 MB / 432.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001257/0.2861, allocations: 1.285 MB / 433.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004787/0.2909, allocations: 4.404 MB / 438.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2909, allocations: 0 / 438.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2909, allocations: 0 / 438.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.443e-05/0.2909, allocations: 0 / 438.1 MB, free: 5.422 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.007863/0.2988, allocations: 3.428 MB / 441.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.2988, allocations: 12.03 kB / 441.6 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006332/0.3052, allocations: 1.668 MB / 443.2 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003176/0.3083, allocations: 1.499 MB / 444.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.3085, allocations: 131.1 kB / 444.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003676/0.3088, allocations: 163.9 kB / 445 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009757/0.3186, allocations: 6.604 MB / 451.6 MB, free: 7.266 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.099e-05/0.3186, allocations: 35.69 kB / 451.7 MB, free: 7.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002455/0.3189, allocations: 83.91 kB / 451.7 MB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002142/0.321, allocations: 1.327 MB / 453.1 MB, free: 5.824 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009851/0.3309, allocations: 5.84 MB / 458.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03185/0.3627, allocations: 28 MB / 486.9 MB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00629/0.369, allocations: 2.708 MB / 489.6 MB, free: 272 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00165/0.3707, allocations: 1.224 MB / 490.8 MB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007717/0.3714, allocations: 0.6278 MB / 491.5 MB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.3715, allocations: 47.06 kB / 491.5 MB, free: 14.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.316e-06/0.3715, allocations: 4 kB / 491.5 MB, free: 14.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07265/0.4441, allocations: 21.12 MB / 0.5006 GB, free: 8.996 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.946e-05/0.4442, allocations: 171.2 kB / 0.5008 GB, free: 8.793 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003556/0.4478, allocations: 2.796 MB / 0.5035 GB, free: 5.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001812/0.448, allocations: 50.16 kB / 0.5036 GB, free: 5.926 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001572/0.4495, allocations: 2.163 MB / 0.5057 GB, free: 3.738 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000637/0.4502, allocations: 0.6551 MB / 0.5063 GB, free: 3.078 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001318/0.4515, allocations: 1.012 MB / 0.5073 GB, free: 2.055 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.4516, allocations: 305.1 kB / 0.5076 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003191/0.4548, allocations: 2.231 MB / 0.5098 GB, free: 15.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005466/0.4603, allocations: 5.158 MB / 0.5148 GB, free: 8.898 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009726/0.47, allocations: 7.971 MB / 0.5226 GB, free: 15.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-05/0.4701, allocations: 28 kB / 0.5226 GB, free: 15.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02289/0.493, allocations: 10.28 MB / 0.5327 GB, free: 5.156 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.642e-05/0.493, allocations: 48 kB / 0.5327 GB, free: 5.109 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001019/0.4931, allocations: 107.9 kB / 0.5328 GB, free: 5.004 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0118/0.5049, allocations: 3.436 MB / 0.5362 GB, free: 1.543 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003164/0.5081, allocations: 1.084 MB / 0.5372 GB, free: 468 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2224/0.7305, allocations: 12.84 MB / 0.5498 GB, free: 116.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003572/0.7341, allocations: 335.8 kB / 0.5501 GB, free: 116.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004213/0.7345, allocations: 302.8 kB / 0.5504 GB, free: 116.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.001723/0.7362, allocations: 1.46 MB / 0.5518 GB, free: 115.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003961/0.7366, allocations: 265.5 kB / 0.552 GB, free: 115.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/0.7507, allocations: 5.97 MB / 0.5579 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-05/0.7508, allocations: 34.36 kB / 0.5579 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.508e-05/0.7508, allocations: 7.75 kB / 0.5579 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.7508, allocations: 7.641 kB / 0.5579 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02427/0.7751, allocations: 13.19 MB / 0.5708 GB, free: 101.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.233e-05/0.7751, allocations: 4 kB / 0.5708 GB, free: 101.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.7761, allocations: 235.5 kB / 0.571 GB, free: 101.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01129/0.7874, allocations: 4.014 MB / 0.575 GB, free: 97.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002941/0.7877, allocations: 49.95 kB / 0.575 GB, free: 97.15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01532/0.803, allocations: 12.84 MB / 0.5875 GB, free: 84.27 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.803, allocations: 3 kB / 0.5875 GB, free: 84.27 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0176/0.8206, allocations: 10.06 MB / 0.5974 GB, free: 74.26 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008552/0.8215, allocations: 322.5 kB / 0.5977 GB, free: 73.94 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003585/0.8218, allocations: 39.98 kB / 0.5977 GB, free: 73.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001556/0.8234, allocations: 187.2 kB / 0.5979 GB, free: 73.72 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004014/0.8238, allocations: 112.8 kB / 0.598 GB, free: 73.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/0.8239, allocations: 52.84 kB / 0.5981 GB, free: 73.55 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002037/0.826, allocations: 1.734 MB / 0.5997 GB, free: 71.81 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.826, allocations: 0 / 0.5997 GB, free: 71.81 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003509/0.8295, allocations: 0.8094 MB / 0.6005 GB, free: 71.01 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.0004592/0.8299, allocations: 164.7 kB / 0.6007 GB, free: 70.85 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.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.1.0-beta.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.008306/0.8382, allocations: 6.024 MB / 0.6066 GB, free: 64.71 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.8383, allocations: 0 / 0.6066 GB, free: 64.71 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004282/0.8425, allocations: 2.728 MB / 0.6092 GB, free: 61.84 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/0.8443, allocations: 299.7 kB / 0.6095 GB, free: 61.56 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008595/0.8529, allocations: 7.378 MB / 0.6167 GB, free: 54.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001573/0.8545, allocations: 2.31 MB / 0.619 GB, free: 51.82 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002519/0.857, allocations: 1.515 MB / 0.6205 GB, free: 50.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004339/0.8574, allocations: 191.4 kB / 0.6206 GB, free: 50.12 MB / 462.1 MB Notification: Performance of SimCode: time 6.71e-07/0.8574, allocations: 0 / 0.6206 GB, free: 50.12 MB / 462.1 MB Notification: Performance of Templates: time 0.05056/0.908, allocations: 38.74 MB / 0.6585 GB, free: 11.55 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches