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.001746/0.001746, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.002091/0.002091, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.464/1.464, allocations: 230.4 MB / 254.7 MB, free: 15 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.002003/0.002003, allocations: 63.91 kB / 373.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1077, allocations: 53.31 MB / 426.9 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.231/0.3386, allocations: 7.036 MB / 433.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005777/0.3444, allocations: 3.183 MB / 437.1 MB, free: 6.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.3454, allocations: 30.03 kB / 437.1 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002087/0.3475, allocations: 0.9155 MB / 438.1 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004472/0.352, allocations: 1.363 MB / 439.4 MB, free: 5.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.3534, allocations: 0.5222 MB / 439.9 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004715/0.3581, allocations: 2.756 MB / 442.7 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001812/0.3599, allocations: 1.173 MB / 443.9 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001673/0.3616, allocations: 0.8621 MB / 444.7 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003649/0.3653, allocations: 2.254 MB / 447 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009132/0.3662, allocations: 182 kB / 447.2 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002631/0.3688, allocations: 0.9983 MB / 448.2 MB, free: 3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00166/0.3705, allocations: 1.148 MB / 449.3 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001887/0.3724, allocations: 1.295 MB / 450.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00671/0.3791, allocations: 4.409 MB / 455 MB, free: 14.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.3791, allocations: 0.9688 kB / 455 MB, free: 14.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3791, allocations: 0 / 455 MB, free: 14.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000169/0.3793, allocations: 0 / 455 MB, free: 14.91 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.01099/0.3902, allocations: 3.439 MB / 458.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.3903, allocations: 9.875 kB / 458.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0013/0.3916, allocations: 461 kB / 458.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006854/0.3984, allocations: 1.681 MB / 460.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004943/0.4034, allocations: 1.736 MB / 462.3 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.4035, allocations: 127.5 kB / 462.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000829/0.4043, allocations: 171.1 kB / 462.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01304/0.4174, allocations: 6.601 MB / 469.2 MB, free: 5.855 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001331/0.4175, allocations: 31.7 kB / 469.2 MB, free: 5.824 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005015/0.418, allocations: 83.89 kB / 469.3 MB, free: 5.742 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002402/0.4204, allocations: 1.327 MB / 470.7 MB, free: 4.418 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01176/0.4322, allocations: 5.843 MB / 476.5 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03772/0.4699, allocations: 28.01 MB / 0.4927 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006453/0.4764, allocations: 2.7 MB / 0.4953 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001855/0.4782, allocations: 1.225 MB / 0.4965 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008155/0.479, allocations: 0.6317 MB / 0.4971 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.459e-05/0.4791, allocations: 47.12 kB / 0.4972 GB, free: 12.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.817e-06/0.4791, allocations: 0 / 0.4972 GB, free: 12.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07252/0.5516, allocations: 21.14 MB / 0.5178 GB, free: 7.605 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.5517, allocations: 175.2 kB / 0.518 GB, free: 7.398 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004355/0.5561, allocations: 2.8 MB / 0.5207 GB, free: 4.582 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004033/0.5565, allocations: 45.7 kB / 0.5208 GB, free: 4.531 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001772/0.5583, allocations: 2.167 MB / 0.5229 GB, free: 2.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008796/0.5591, allocations: 0.6551 MB / 0.5235 GB, free: 1.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001545/0.5607, allocations: 1.004 MB / 0.5245 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.5608, allocations: 305.1 kB / 0.5248 GB, free: 372 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003588/0.5644, allocations: 2.219 MB / 0.527 GB, free: 14.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006231/0.5706, allocations: 5.138 MB / 0.532 GB, free: 7.543 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01104/0.5817, allocations: 7.96 MB / 0.5398 GB, free: 14.14 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001102/0.5818, allocations: 28 kB / 0.5398 GB, free: 14.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.0265/0.6083, allocations: 10.25 MB / 0.5498 GB, free: 3.836 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.6084, allocations: 51.94 kB / 0.5498 GB, free: 3.785 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001745/0.6086, allocations: 104.9 kB / 0.5499 GB, free: 3.684 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01238/0.621, allocations: 3.441 MB / 0.5533 GB, free: 224 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003856/0.6248, allocations: 1.088 MB / 0.5544 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02222/0.647, allocations: 12.84 MB / 0.5669 GB, free: 2.141 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004397/0.6514, allocations: 327.6 kB / 0.5672 GB, free: 1.82 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001105/0.6525, allocations: 308 kB / 0.5675 GB, free: 1.52 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.003935/0.6565, allocations: 1.463 MB / 0.5689 GB, free: 48 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008356/0.6573, allocations: 258.3 kB / 0.5692 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01742/0.6747, allocations: 5.97 MB / 0.575 GB, free: 9.785 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001089/0.6748, allocations: 31.98 kB / 0.575 GB, free: 9.754 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.703e-05/0.6749, allocations: 8 kB / 0.5751 GB, free: 9.746 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.471e-05/0.6749, allocations: 4.875 kB / 0.5751 GB, free: 9.742 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03372/0.7087, allocations: 13.21 MB / 0.588 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.009e-05/0.7087, allocations: 0 / 0.588 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/0.7099, allocations: 239.6 kB / 0.5882 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01327/0.7231, allocations: 4.012 MB / 0.5921 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005642/0.7237, allocations: 47.95 kB / 0.5921 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0214/0.7451, allocations: 12.83 MB / 0.6047 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.7451, allocations: 4 kB / 0.6047 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02253/0.7677, allocations: 10.07 MB / 0.6145 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008788/0.7685, allocations: 315.2 kB / 0.6148 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006226/0.7692, allocations: 35.98 kB / 0.6148 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001805/0.771, allocations: 187.7 kB / 0.615 GB, free: 496 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004471/0.7714, allocations: 108.9 kB / 0.6151 GB, free: 388 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001695/0.7716, allocations: 61.06 kB / 0.6152 GB, free: 328 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.2109/0.9824, allocations: 1.727 MB / 0.6169 GB, free: 165.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9824, allocations: 4.938 kB / 0.6169 GB, free: 165.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004686/0.9871, allocations: 0.8047 MB / 0.6177 GB, free: 165.5 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.0219/1.009, allocations: 10.71 MB / 0.6281 GB, free: 163.3 MB / 0.5137 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.0113/1.02, allocations: 6.016 MB / 0.634 GB, free: 160.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/1.02, allocations: 1.156 kB / 0.634 GB, free: 160.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005009/1.025, allocations: 2.72 MB / 0.6367 GB, free: 159.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002296/1.028, allocations: 289.2 kB / 0.6369 GB, free: 159.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06676/1.094, allocations: 42.35 MB / 0.6783 GB, free: 125.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002001/1.096, allocations: 2.317 MB / 0.6805 GB, free: 122.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002842/1.099, allocations: 1.502 MB / 0.682 GB, free: 121.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001329/1.101, allocations: 1.128 MB / 0.6831 GB, free: 120.1 MB / 0.5137 GB Notification: Performance of SimCode: time 1.223e-06/1.101, allocations: 0 / 0.6831 GB, free: 120.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1142/1.215, allocations: 62.98 MB / 0.7446 GB, free: 57.57 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.7/16.92, allocations: 3.938 kB / 0.7446 GB, free: 57.57 MB / 0.5137 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 & /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: 19.328085836954415] 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.036527412943542 17.044586114 16.663165065 Calling exit ...