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.001555/0.001555, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001859/0.001859, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.419/1.419, allocations: 230.6 MB / 258.3 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] 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.001951/0.001951, allocations: 64.77 kB / 378.6 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2511, allocations: 53.38 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008523/0.2596, allocations: 7.058 MB / 439 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006142/0.2657, allocations: 3.201 MB / 442.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007299/0.2665, allocations: 39.81 kB / 442.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.2683, allocations: 0.9107 MB / 443.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003082/0.2714, allocations: 1.378 MB / 444.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.2724, allocations: 0.5186 MB / 445 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00348/0.2759, allocations: 2.758 MB / 447.8 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/0.2774, allocations: 1.224 MB / 449 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.2786, allocations: 0.8758 MB / 449.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002915/0.2815, allocations: 2.256 MB / 452.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004533/0.2819, allocations: 176 kB / 452.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001693/0.2836, allocations: 1.01 MB / 453.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001036/0.2847, allocations: 1.145 MB / 454.5 MB, free: 264 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.2859, allocations: 1.285 MB / 455.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004868/0.2908, allocations: 4.421 MB / 460.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.2908, allocations: 0 / 460.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2908, allocations: 0 / 460.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.84e-05/0.2909, allocations: 0 / 460.2 MB, free: 10.53 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.00771/0.2986, allocations: 3.365 MB / 463.5 MB, free: 7.121 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.2986, allocations: 8.031 kB / 463.6 MB, free: 7.113 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000566/0.2992, allocations: 462.3 kB / 464 MB, free: 6.652 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005677/0.3049, allocations: 1.676 MB / 465.7 MB, free: 4.973 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003523/0.3084, allocations: 1.681 MB / 467.4 MB, free: 3.262 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.3085, allocations: 131.1 kB / 467.5 MB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000344/0.3088, allocations: 167.8 kB / 467.7 MB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009951/0.3188, allocations: 6.596 MB / 474.3 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.348e-05/0.3189, allocations: 35.69 kB / 474.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002423/0.3191, allocations: 95.89 kB / 474.4 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00203/0.3211, allocations: 1.327 MB / 475.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009769/0.3309, allocations: 5.839 MB / 481.5 MB, free: 4.531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03176/0.3627, allocations: 27.9 MB / 0.4975 GB, free: 7.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005709/0.3684, allocations: 2.252 MB / 0.4997 GB, free: 5.473 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001616/0.37, allocations: 1.22 MB / 0.5009 GB, free: 4.238 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004804/0.3705, allocations: 188.1 kB / 0.5011 GB, free: 4.055 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.3705, allocations: 43.06 kB / 0.5011 GB, free: 4.004 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.456e-06/0.3705, allocations: 4 kB / 0.5011 GB, free: 4 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07138/0.4419, allocations: 20.92 MB / 0.5215 GB, free: 15.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.442, allocations: 175.2 kB / 0.5217 GB, free: 14.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003999/0.446, allocations: 2.804 MB / 0.5245 GB, free: 11.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002922/0.4463, allocations: 45.7 kB / 0.5245 GB, free: 11.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001611/0.4479, allocations: 2.167 MB / 0.5266 GB, free: 9.746 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007498/0.4487, allocations: 0.6589 MB / 0.5273 GB, free: 9.082 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001344/0.45, allocations: 1.004 MB / 0.5282 GB, free: 8.066 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.4501, allocations: 309.1 kB / 0.5285 GB, free: 7.762 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003237/0.4534, allocations: 2.215 MB / 0.5307 GB, free: 5.539 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2252/0.6785, allocations: 5.136 MB / 0.5357 GB, free: 97.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008526/0.6871, allocations: 7.958 MB / 0.5435 GB, free: 91.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001127/0.6872, allocations: 28.88 kB / 0.5435 GB, free: 91.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02059/0.7078, allocations: 10.25 MB / 0.5535 GB, free: 88.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.861e-05/0.7078, allocations: 46.72 kB / 0.5536 GB, free: 88.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001217/0.708, allocations: 103.6 kB / 0.5537 GB, free: 88.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01037/0.7183, allocations: 3.433 MB / 0.557 GB, free: 87.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003089/0.7214, allocations: 1.084 MB / 0.5581 GB, free: 86.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0151/0.7365, allocations: 12.73 MB / 0.5705 GB, free: 73.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00354/0.7401, allocations: 343.2 kB / 0.5708 GB, free: 73.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004498/0.7405, allocations: 300 kB / 0.5711 GB, free: 72.89 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 (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.001819/0.7423, allocations: 1.473 MB / 0.5726 GB, free: 71.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004022/0.7427, allocations: 265 kB / 0.5728 GB, free: 71.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01354/0.7563, allocations: 5.972 MB / 0.5786 GB, free: 65.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.444e-05/0.7563, allocations: 24 kB / 0.5787 GB, free: 65.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.06e-05/0.7564, allocations: 8 kB / 0.5787 GB, free: 65.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.723e-05/0.7564, allocations: 11.97 kB / 0.5787 GB, free: 65.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02409/0.7805, allocations: 13.18 MB / 0.5916 GB, free: 52.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.118e-05/0.7805, allocations: 4 kB / 0.5916 GB, free: 52.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.7816, allocations: 235.6 kB / 0.5918 GB, free: 51.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01112/0.7927, allocations: 4.008 MB / 0.5957 GB, free: 47.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003261/0.7931, allocations: 52.66 kB / 0.5958 GB, free: 47.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0149/0.808, allocations: 12.73 MB / 0.6082 GB, free: 35.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.808, allocations: 0 / 0.6082 GB, free: 35.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0175/0.8255, allocations: 10.07 MB / 0.618 GB, free: 24.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007342/0.8262, allocations: 245.9 kB / 0.6183 GB, free: 24.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003655/0.8266, allocations: 35.98 kB / 0.6183 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001511/0.8281, allocations: 183.7 kB / 0.6185 GB, free: 24.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000381/0.8285, allocations: 116.8 kB / 0.6186 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/0.8286, allocations: 55.91 kB / 0.6186 GB, free: 24.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002057/0.8306, allocations: 1.73 MB / 0.6203 GB, free: 22.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8306, allocations: 0 / 0.6203 GB, free: 22.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003503/0.8341, allocations: 0.8126 MB / 0.6211 GB, free: 21.76 MB / 446.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.0175/0.8516, allocations: 10.71 MB / 0.6316 GB, free: 11.01 MB / 446.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.008903/0.8605, allocations: 5.566 MB / 0.637 GB, free: 5.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.8606, allocations: 0 / 0.637 GB, free: 5.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004351/0.8649, allocations: 2.273 MB / 0.6392 GB, free: 3.133 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/0.8669, allocations: 297.2 kB / 0.6395 GB, free: 2.852 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07881/0.9457, allocations: 42.37 MB / 0.6809 GB, free: 4.176 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002612/0.9483, allocations: 2.314 MB / 0.6831 GB, free: 1.832 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003303/0.9516, allocations: 1.507 MB / 0.6846 GB, free: 328 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001665/0.9533, allocations: 1.128 MB / 0.6857 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of SimCode: time 1.022e-06/0.9533, allocations: 4 kB / 0.6857 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3319/1.285, allocations: 67.39 MB / 0.7515 GB, free: 180.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.76/18.05, allocations: 5.812 kB / 0.7515 GB, free: 180.8 MB / 0.5294 GB " [Timeout remaining time 642] (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 --stepSize=0.00079968 --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: 20.419947491958737] Failed to read output from testmodel.py, exit status != 0: ['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'] 18.171099971048534 18.189075767 17.894653945 Calling exit ...