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.001897/0.001897, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002389/0.002389, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.487/1.487, allocations: 230.6 MB / 258.3 MB, free: 8.07 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.001961/0.001961, allocations: 72.75 kB / 378.6 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2924, allocations: 53.36 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008782/0.3012, allocations: 7.07 MB / 439 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006268/0.3075, allocations: 3.197 MB / 442.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000961/0.3084, allocations: 35.88 kB / 442.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002116/0.3105, allocations: 0.9145 MB / 443.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003467/0.314, allocations: 1.378 MB / 444.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.3152, allocations: 0.5225 MB / 445 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004015/0.3192, allocations: 2.762 MB / 447.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001917/0.3211, allocations: 1.224 MB / 449 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001662/0.3228, allocations: 0.8758 MB / 449.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003375/0.3262, allocations: 2.256 MB / 452.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006731/0.3268, allocations: 180 kB / 452.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002341/0.3292, allocations: 0.9984 MB / 453.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001523/0.3307, allocations: 1.141 MB / 454.5 MB, free: 268 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00169/0.3324, allocations: 1.301 MB / 455.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005917/0.3383, allocations: 4.409 MB / 460.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3383, allocations: 0 / 460.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.3383, allocations: 0 / 460.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001189/0.3384, 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.009298/0.3477, allocations: 3.365 MB / 463.5 MB, free: 7.121 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.3478, allocations: 12.03 kB / 463.6 MB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006885/0.3485, allocations: 466.3 kB / 464 MB, free: 6.645 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006031/0.3545, allocations: 1.676 MB / 465.7 MB, free: 4.965 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003929/0.3584, allocations: 1.669 MB / 467.4 MB, free: 3.266 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.3585, allocations: 127.2 kB / 467.5 MB, free: 3.141 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005422/0.3591, allocations: 171.8 kB / 467.7 MB, free: 2.973 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01114/0.3702, allocations: 6.6 MB / 474.3 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001044/0.3703, allocations: 39.7 kB / 474.3 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002976/0.3706, allocations: 83.89 kB / 474.4 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002203/0.3728, allocations: 1.331 MB / 475.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01128/0.3841, allocations: 5.847 MB / 481.5 MB, free: 4.527 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03675/0.4209, allocations: 27.9 MB / 0.4975 GB, free: 7.773 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006389/0.4273, allocations: 2.248 MB / 0.4997 GB, free: 5.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00189/0.4291, allocations: 1.223 MB / 0.5009 GB, free: 4.246 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005539/0.4297, allocations: 196.1 kB / 0.5011 GB, free: 4.055 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.4297, allocations: 43.06 kB / 0.5011 GB, free: 4.004 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 4.108e-06/0.4297, allocations: 0 / 0.5011 GB, free: 4.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07772/0.5075, allocations: 20.91 MB / 0.5216 GB, free: 15.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/0.5076, allocations: 167.2 kB / 0.5217 GB, free: 14.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005206/0.5128, allocations: 2.804 MB / 0.5244 GB, free: 12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003461/0.5132, allocations: 45.7 kB / 0.5245 GB, free: 11.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00191/0.5151, allocations: 2.167 MB / 0.5266 GB, free: 9.762 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001037/0.5161, allocations: 0.6667 MB / 0.5273 GB, free: 9.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002618/0.5187, allocations: 0.9965 MB / 0.5282 GB, free: 8.082 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5189, allocations: 305.1 kB / 0.5285 GB, free: 7.781 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0039/0.5228, allocations: 2.219 MB / 0.5307 GB, free: 5.555 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.219/0.7418, allocations: 5.137 MB / 0.5357 GB, free: 97.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00831/0.7501, allocations: 7.96 MB / 0.5435 GB, free: 91.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.942e-05/0.7502, allocations: 28.25 kB / 0.5435 GB, free: 91.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02071/0.7709, allocations: 10.25 MB / 0.5535 GB, free: 88.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.771, allocations: 51.97 kB / 0.5536 GB, free: 88.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001402/0.7712, allocations: 100.9 kB / 0.5537 GB, free: 88.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01055/0.7817, allocations: 3.436 MB / 0.557 GB, free: 87.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002928/0.7846, allocations: 1.08 MB / 0.5581 GB, free: 86.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01558/0.8002, allocations: 12.74 MB / 0.5705 GB, free: 73.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003549/0.8038, allocations: 337.4 kB / 0.5708 GB, free: 73.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006046/0.8044, allocations: 307.8 kB / 0.5711 GB, free: 72.87 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.001976/0.8063, allocations: 1.465 MB / 0.5726 GB, free: 71.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005107/0.8068, allocations: 260.8 kB / 0.5728 GB, free: 71.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01417/0.821, allocations: 5.977 MB / 0.5786 GB, free: 65.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.239e-05/0.8211, allocations: 27.44 kB / 0.5787 GB, free: 65.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.79e-05/0.8211, allocations: 12.75 kB / 0.5787 GB, free: 65.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.871e-05/0.8211, allocations: 7.969 kB / 0.5787 GB, free: 65.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02614/0.8473, allocations: 13.19 MB / 0.5916 GB, free: 52.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.917e-05/0.8473, allocations: 0.75 kB / 0.5916 GB, free: 52.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/0.8484, allocations: 231.6 kB / 0.5918 GB, free: 51.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01122/0.8596, allocations: 4.012 MB / 0.5957 GB, free: 47.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003221/0.8599, allocations: 47.95 kB / 0.5957 GB, free: 47.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01552/0.8754, allocations: 12.73 MB / 0.6082 GB, free: 35.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.8754, allocations: 4.25 kB / 0.6082 GB, free: 35.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01802/0.8935, allocations: 10.07 MB / 0.618 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005972/0.8941, allocations: 240.2 kB / 0.6182 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006006/0.8947, allocations: 39.98 kB / 0.6183 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001757/0.8964, allocations: 191 kB / 0.6185 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004445/0.8969, allocations: 116.8 kB / 0.6186 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001721/0.897, allocations: 51.97 kB / 0.6186 GB, free: 24.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002282/0.8993, allocations: 1.734 MB / 0.6203 GB, free: 22.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8993, allocations: 3.938 kB / 0.6203 GB, free: 22.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00358/0.9029, allocations: 0.805 MB / 0.6211 GB, free: 21.74 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.01806/0.921, allocations: 10.71 MB / 0.6316 GB, free: 10.99 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.008661/0.9296, allocations: 5.567 MB / 0.637 GB, free: 5.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.9296, allocations: 0 / 0.637 GB, free: 5.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004183/0.9338, allocations: 2.271 MB / 0.6392 GB, free: 3.113 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/0.9357, allocations: 290.8 kB / 0.6395 GB, free: 2.836 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07818/1.014, allocations: 42.38 MB / 0.6809 GB, free: 4.156 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003042/1.017, allocations: 2.31 MB / 0.6831 GB, free: 1.816 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003452/1.02, allocations: 1.507 MB / 0.6846 GB, free: 312 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001864/1.022, allocations: 1.137 MB / 0.6857 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of SimCode: time 8.32e-07/1.022, allocations: 0 / 0.6857 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3257/1.348, allocations: 67.39 MB / 0.7515 GB, free: 180.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.87/18.22, allocations: 5.672 kB / 0.7515 GB, free: 180.7 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 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.789681828115135] 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.344773246906698 18.36217015 18.020533429 Calling exit ...