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.001763/0.001763, allocations: 118.6 kB / 18.5 MB, free: 4.602 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.002131/0.002131, allocations: 206.6 kB / 21.45 MB, free: 1.652 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.489/1.489, allocations: 230.5 MB / 254.8 MB, free: 15.25 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.002012/0.002012, allocations: 71.83 kB / 373.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.104, allocations: 53.32 MB / 427 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008859/0.1129, allocations: 7.045 MB / 434.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00628/0.1191, allocations: 3.174 MB / 437.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00095/0.1201, allocations: 31.88 kB / 437.3 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002174/0.1223, allocations: 0.9184 MB / 438.2 MB, free: 9.605 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003769/0.126, allocations: 1.378 MB / 439.6 MB, free: 8.223 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.1274, allocations: 0.5147 MB / 440.1 MB, free: 7.707 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004178/0.1315, allocations: 2.754 MB / 442.8 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001801/0.1333, allocations: 1.173 MB / 444 MB, free: 3.758 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.135, allocations: 0.8719 MB / 444.9 MB, free: 2.883 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003183/0.1381, allocations: 2.26 MB / 447.1 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000675/0.1388, allocations: 180 kB / 447.3 MB, free: 452 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2179/0.3568, allocations: 1.001 MB / 448.3 MB, free: 11.56 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001545/0.3583, allocations: 1.133 MB / 449.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001812/0.3601, allocations: 1.3 MB / 450.7 MB, free: 11.1 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007078/0.3672, allocations: 4.409 MB / 455.2 MB, free: 10.42 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.3672, allocations: 0 / 455.2 MB, free: 10.42 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3672, allocations: 0 / 455.2 MB, free: 10.42 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001938/0.3674, allocations: 1.438 kB / 455.2 MB, free: 10.42 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.01347/0.3809, allocations: 3.444 MB / 458.6 MB, free: 9.059 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.451e-05/0.3809, allocations: 10.09 kB / 458.6 MB, free: 9.059 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001968/0.3829, allocations: 458.6 kB / 459.1 MB, free: 9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007736/0.3906, allocations: 1.678 MB / 460.7 MB, free: 8.816 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004906/0.3955, allocations: 1.725 MB / 462.5 MB, free: 8.398 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000164/0.3957, allocations: 133.4 kB / 462.6 MB, free: 8.391 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001091/0.3968, allocations: 169.1 kB / 462.8 MB, free: 8.387 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01383/0.4106, allocations: 6.601 MB / 469.4 MB, free: 5.254 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001357/0.4108, allocations: 34.33 kB / 469.4 MB, free: 5.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005103/0.4113, allocations: 88.23 kB / 469.5 MB, free: 5.219 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002293/0.4136, allocations: 1.325 MB / 470.8 MB, free: 4.996 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01149/0.4251, allocations: 5.838 MB / 476.6 MB, free: 3.035 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03859/0.4636, allocations: 28 MB / 0.4928 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006971/0.4706, allocations: 2.708 MB / 0.4955 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002021/0.4726, allocations: 1.223 MB / 0.4966 GB, free: 7.422 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008854/0.4735, allocations: 0.6328 MB / 0.4973 GB, free: 6.684 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.088e-05/0.4736, allocations: 50.34 kB / 0.4973 GB, free: 6.629 MB / 398.1 MB Notification: Performance of pre-optimization done (n=129): time 3.817e-06/0.4736, allocations: 0 / 0.4973 GB, free: 6.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=163): time 0.07818/0.5518, allocations: 21.13 MB / 0.5179 GB, free: 1.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.5519, allocations: 171.2 kB / 0.5181 GB, free: 1.277 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004783/0.5567, allocations: 2.804 MB / 0.5208 GB, free: 14.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004446/0.5571, allocations: 48.75 kB / 0.5209 GB, free: 14.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00195/0.5591, allocations: 2.168 MB / 0.523 GB, free: 12.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001049/0.5601, allocations: 0.6601 MB / 0.5237 GB, free: 11.6 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002024/0.5621, allocations: 1.006 MB / 0.5246 GB, free: 10.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.5623, allocations: 305.1 kB / 0.5249 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004022/0.5663, allocations: 2.215 MB / 0.5271 GB, free: 8.062 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007437/0.5737, allocations: 5.142 MB / 0.5321 GB, free: 1.516 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0114/0.5851, allocations: 7.955 MB / 0.5399 GB, free: 8.438 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001063/0.5852, allocations: 28 kB / 0.5399 GB, free: 8.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02694/0.6122, allocations: 10.25 MB / 0.5499 GB, free: 14.13 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.874e-05/0.6123, allocations: 48 kB / 0.55 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001518/0.6124, allocations: 105.5 kB / 0.5501 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01266/0.6251, allocations: 3.431 MB / 0.5534 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004062/0.6292, allocations: 1.084 MB / 0.5545 GB, free: 9.445 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02234/0.6515, allocations: 12.86 MB / 0.567 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005041/0.6565, allocations: 331.6 kB / 0.5674 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001142/0.6577, allocations: 306.5 kB / 0.5676 GB, free: 11.84 MB / 478.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.003983/0.6617, allocations: 1.467 MB / 0.5691 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007909/0.6624, allocations: 258.3 kB / 0.5693 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01764/0.6801, allocations: 5.971 MB / 0.5752 GB, free: 4.102 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-05/0.6802, allocations: 31.98 kB / 0.5752 GB, free: 4.07 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.008e-05/0.6802, allocations: 12.69 kB / 0.5752 GB, free: 4.059 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.533e-05/0.6802, allocations: 3.984 kB / 0.5752 GB, free: 4.055 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03391/0.7141, allocations: 13.2 MB / 0.5881 GB, free: 6.816 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.112e-05/0.7142, allocations: 0 / 0.5881 GB, free: 6.816 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/0.7154, allocations: 239.6 kB / 0.5883 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01352/0.7289, allocations: 4.011 MB / 0.5922 GB, free: 2.547 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004589/0.7294, allocations: 54.7 kB / 0.5923 GB, free: 2.496 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02262/0.752, allocations: 12.82 MB / 0.6048 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/0.752, allocations: 4 kB / 0.6048 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02396/0.776, allocations: 10.07 MB / 0.6146 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008757/0.7769, allocations: 319.1 kB / 0.615 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009224/0.7778, allocations: 35.98 kB / 0.615 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002353/0.7801, allocations: 186.3 kB / 0.6152 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007046/0.7808, allocations: 116.8 kB / 0.6153 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000321/0.7812, allocations: 51.97 kB / 0.6153 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00412/0.7853, allocations: 1.734 MB / 0.617 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7853, allocations: 0 / 0.617 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006223/0.7915, allocations: 0.8112 MB / 0.6178 GB, free: 8.152 MB / 0.5137 GB 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.02551/0.817, allocations: 10.71 MB / 0.6283 GB, free: 13.39 MB / 0.5294 GB [/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.01338/0.8304, allocations: 6.004 MB / 0.6341 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.8304, allocations: 3.938 kB / 0.6341 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006391/0.8368, allocations: 2.722 MB / 0.6368 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003174/0.84, allocations: 298.3 kB / 0.6371 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3067/1.147, allocations: 42.33 MB / 0.6784 GB, free: 163.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003653/1.15, allocations: 2.315 MB / 0.6807 GB, free: 162 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003958/1.154, allocations: 1.508 MB / 0.6821 GB, free: 161.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002281/1.157, allocations: 1.128 MB / 0.6833 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of SimCode: time 1.723e-06/1.157, allocations: 0 / 0.6833 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1043/1.261, allocations: 62.97 MB / 0.7447 GB, free: 101.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.88/17.14, allocations: 3.938 kB / 0.7447 GB, free: 101.1 MB / 0.5294 GB " [Timeout remaining time 643] (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: 19.769591287709773] 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'] 17.26257597282529 17.273175164 16.903212456 Calling exit ...