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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001405/0.001405, allocations: 105 kB / 19.74 MB, free: 2.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001591/0.001591, allocations: 218.9 kB / 22.92 MB, free: 5.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.303/1.303, allocations: 230.5 MB / 256.4 MB, free: 8.258 MB / 206.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.001872/0.001872, allocations: 75.81 kB / 376.1 MB, free: 4.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2027, allocations: 53.31 MB / 429.4 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.007703/0.2104, allocations: 7.073 MB / 436.5 MB, free: 360 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005103/0.2155, allocations: 3.193 MB / 439.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003514/0.2159, allocations: 31.88 kB / 439.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001642/0.2175, allocations: 0.9107 MB / 440.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002267/0.2198, allocations: 1.374 MB / 442 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008524/0.2206, allocations: 0.5147 MB / 442.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002941/0.2236, allocations: 2.758 MB / 445.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.2247, allocations: 1.08 MB / 446.3 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008594/0.2256, allocations: 0.8641 MB / 447.2 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002528/0.2281, allocations: 2.256 MB / 449.5 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003104/0.2284, allocations: 180 kB / 449.6 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.23, allocations: 1.006 MB / 450.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009867/0.2309, allocations: 1.137 MB / 451.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.232, allocations: 1.285 MB / 453.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004008/0.2361, allocations: 4.412 MB / 457.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2361, allocations: 0 / 457.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.566e-06/0.2361, allocations: 4 kB / 457.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.858e-05/0.2361, allocations: 0 / 457.5 MB, free: 11.27 MB / 366.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.006847/0.2429, allocations: 3.44 MB / 460.9 MB, free: 7.766 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.243, allocations: 12.03 kB / 460.9 MB, free: 7.754 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004978/0.2435, allocations: 466.2 kB / 461.4 MB, free: 7.289 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005833/0.2493, allocations: 1.684 MB / 463.1 MB, free: 5.602 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002843/0.2522, allocations: 1.729 MB / 464.8 MB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.894e-05/0.2523, allocations: 131.2 kB / 464.9 MB, free: 3.695 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003084/0.2526, allocations: 163.9 kB / 465.1 MB, free: 3.535 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008754/0.2613, allocations: 6.604 MB / 471.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.725e-05/0.2614, allocations: 31.7 kB / 471.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002298/0.2616, allocations: 87.91 kB / 471.8 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001942/0.2636, allocations: 1.323 MB / 473.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009206/0.2728, allocations: 5.847 MB / 479 MB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02957/0.3023, allocations: 28 MB / 0.4951 GB, free: 8.254 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005976/0.3083, allocations: 2.704 MB / 0.4977 GB, free: 5.395 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001524/0.3098, allocations: 1.223 MB / 0.4989 GB, free: 4.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006851/0.3105, allocations: 0.6278 MB / 0.4995 GB, free: 3.422 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.3106, allocations: 47.06 kB / 0.4996 GB, free: 3.367 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.476e-06/0.3106, allocations: 0 / 0.4996 GB, free: 3.367 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.06927/0.3798, allocations: 21.15 MB / 0.5202 GB, free: 14.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.3799, allocations: 167.2 kB / 0.5204 GB, free: 13.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003522/0.3835, allocations: 2.804 MB / 0.5231 GB, free: 11.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002263/0.3837, allocations: 49.7 kB / 0.5232 GB, free: 11.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001478/0.3852, allocations: 2.163 MB / 0.5253 GB, free: 8.848 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000641/0.3858, allocations: 0.6628 MB / 0.5259 GB, free: 8.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001313/0.3871, allocations: 1.008 MB / 0.5269 GB, free: 7.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3872, allocations: 301.1 kB / 0.5272 GB, free: 6.863 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003006/0.3902, allocations: 2.215 MB / 0.5294 GB, free: 4.641 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005183/0.3954, allocations: 5.146 MB / 0.5344 GB, free: 14.04 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009334/0.4048, allocations: 7.953 MB / 0.5422 GB, free: 4.645 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.787e-05/0.4048, allocations: 28 kB / 0.5422 GB, free: 4.617 MB / 462.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.1792/0.584, allocations: 10.25 MB / 0.5522 GB, free: 111.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.039e-05/0.5841, allocations: 49.34 kB / 0.5522 GB, free: 111.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.108e-05/0.5842, allocations: 106.5 kB / 0.5523 GB, free: 111.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009943/0.5941, allocations: 3.427 MB / 0.5557 GB, free: 110.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002663/0.5968, allocations: 1.088 MB / 0.5568 GB, free: 110.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01416/0.6109, allocations: 12.84 MB / 0.5693 GB, free: 103.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00301/0.614, allocations: 338.2 kB / 0.5696 GB, free: 103.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003063/0.6143, allocations: 300 kB / 0.5699 GB, free: 102.8 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 (573): * Single equations (assignments): 562 * 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.00144/0.6157, allocations: 1.464 MB / 0.5713 GB, free: 101.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003672/0.6161, allocations: 268.2 kB / 0.5716 GB, free: 101.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01302/0.6291, allocations: 5.968 MB / 0.5774 GB, free: 95.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.566e-05/0.6291, allocations: 28 kB / 0.5774 GB, free: 95.31 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/0.6291, allocations: 12.56 kB / 0.5775 GB, free: 95.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/0.6292, allocations: 7.969 kB / 0.5775 GB, free: 95.29 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02212/0.6513, allocations: 13.19 MB / 0.5904 GB, free: 82.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.6513, allocations: 1.859 kB / 0.5904 GB, free: 82.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009213/0.6522, allocations: 231.7 kB / 0.5906 GB, free: 81.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01046/0.6627, allocations: 4.008 MB / 0.5945 GB, free: 77.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002259/0.6629, allocations: 51.8 kB / 0.5945 GB, free: 77.85 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01407/0.677, allocations: 12.85 MB / 0.6071 GB, free: 64.91 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.677, allocations: 0 / 0.6071 GB, free: 64.91 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01629/0.6933, allocations: 10.06 MB / 0.6169 GB, free: 54.89 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004325/0.6937, allocations: 318.7 kB / 0.6172 GB, free: 54.57 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002903/0.694, allocations: 43.52 kB / 0.6173 GB, free: 54.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/0.6954, allocations: 183.7 kB / 0.6174 GB, free: 54.35 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003313/0.6958, allocations: 108.8 kB / 0.6175 GB, free: 54.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/0.6959, allocations: 55.97 kB / 0.6176 GB, free: 54.19 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00165/0.6975, allocations: 1.738 MB / 0.6193 GB, free: 52.45 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6976, allocations: 0 / 0.6193 GB, free: 52.45 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002888/0.7004, allocations: 0.8092 MB / 0.6201 GB, free: 51.64 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.01637/0.7168, allocations: 10.72 MB / 0.6305 GB, free: 40.89 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.007657/0.7245, allocations: 6.006 MB / 0.6364 GB, free: 34.76 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.7245, allocations: 0 / 0.6364 GB, free: 34.76 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003813/0.7283, allocations: 2.73 MB / 0.6391 GB, free: 31.89 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.7299, allocations: 289.1 kB / 0.6394 GB, free: 31.61 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05653/0.7864, allocations: 42.38 MB / 0.6807 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002266/0.7887, allocations: 2.318 MB / 0.683 GB, free: 14.61 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003048/0.7918, allocations: 1.503 MB / 0.6845 GB, free: 13.11 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001417/0.7932, allocations: 1.124 MB / 0.6856 GB, free: 11.98 MB / 494.1 MB Notification: Performance of SimCode: time 9.22e-07/0.7932, allocations: 0 / 0.6856 GB, free: 11.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.274/1.067, allocations: 63.67 MB / 0.7477 GB, free: 184.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.95, allocations: 8.734 kB / 0.7478 GB, free: 184.9 MB / 0.5294 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.112374501994054]