Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001723/0.001723, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009817/0.0009816, allocations: 95.92 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.243e-05/2.245e-05, allocations: 4 kB / 343.8 MB, free: 8.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1272, allocations: 51.48 MB / 395.3 MB, free: 4.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4248/0.552, allocations: 90.76 MB / 486 MB, free: 2.277 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.5523, allocations: 86.09 kB / 486.1 MB, free: 2.234 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1637/0.716, allocations: 61.7 MB / 0.535 GB, free: 9.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.7161, allocations: 0 / 0.535 GB, free: 9.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002498/0.7164, allocations: 48 kB / 0.535 GB, free: 9.383 MB / 410.7 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.01366/0.73, allocations: 3.02 MB / 0.538 GB, free: 6.309 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.7301, allocations: 8.031 kB / 0.538 GB, free: 6.301 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009403/0.7395, allocations: 1.947 MB / 0.5399 GB, free: 4.348 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008587/0.7482, allocations: 2.783 MB / 0.5426 GB, free: 1.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002261/0.7484, allocations: 80 kB / 0.5427 GB, free: 1.441 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001583/0.75, allocations: 143.8 kB / 0.5428 GB, free: 1.301 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008983/0.759, allocations: 4.292 MB / 0.547 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01574/0.7748, allocations: 6.588 MB / 0.5534 GB, free: 5.562 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000266/0.7751, allocations: 43.62 kB / 0.5535 GB, free: 5.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001568/0.7767, allocations: 28 kB / 0.5535 GB, free: 5.492 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001485/0.7782, allocations: 0.7339 MB / 0.5542 GB, free: 4.762 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3684/1.147, allocations: 35.6 MB / 0.589 GB, free: 73.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003127/1.15, allocations: 2.317 MB / 0.5913 GB, free: 73.29 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001753/1.152, allocations: 1.362 MB / 0.5926 GB, free: 73.26 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000699/1.152, allocations: 0.6344 MB / 0.5932 GB, free: 72.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/1.152, allocations: 59.62 kB / 0.5933 GB, free: 72.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=120): time 5.19e-06/1.152, allocations: 0 / 0.5933 GB, free: 72.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=152): time 0.04197/1.194, allocations: 15.76 MB / 0.6087 GB, free: 71.13 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.989e-05/1.195, allocations: 141.7 kB / 0.6088 GB, free: 70.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00529/1.2, allocations: 2.291 MB / 0.611 GB, free: 70.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005436/1.2, allocations: 25.7 kB / 0.611 GB, free: 70.66 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001802/1.202, allocations: 2.162 MB / 0.6132 GB, free: 69.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001159/1.203, allocations: 0.5834 MB / 0.6137 GB, free: 69.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008172/1.204, allocations: 2.25 kB / 0.6137 GB, free: 69.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007329/1.205, allocations: 0.5663 MB / 0.6143 GB, free: 68.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004053/1.209, allocations: 2.259 MB / 0.6165 GB, free: 68.69 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005693/1.215, allocations: 5.324 MB / 0.6217 GB, free: 63.69 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006491/1.221, allocations: 3.416 MB / 0.625 GB, free: 62.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000316/1.222, allocations: 31.5 kB / 0.6251 GB, free: 62.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=664) (initialization): time 0.03321/1.255, allocations: 10.62 MB / 0.6354 GB, free: 59.65 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002609/1.255, allocations: 55.81 kB / 0.6355 GB, free: 59.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004106/1.256, allocations: 111.7 kB / 0.6356 GB, free: 59.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0164/1.272, allocations: 4.11 MB / 0.6396 GB, free: 58.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004866/1.277, allocations: 1.172 MB / 0.6407 GB, free: 58.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02409/1.301, allocations: 12.68 MB / 0.6531 GB, free: 53.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005805/1.307, allocations: 268.1 kB / 0.6534 GB, free: 53.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001685/1.309, allocations: 356.8 kB / 0.6537 GB, free: 53.26 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (604): * Single equations (assignments): 594 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(2,100.0%),(3,88.9%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002305/1.311, allocations: 377.2 kB / 0.6541 GB, free: 52.94 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01869/1.33, allocations: 7 MB / 0.6609 GB, free: 51.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001223/1.331, allocations: 241.6 kB / 0.6611 GB, free: 50.88 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01877/1.35, allocations: 6.709 MB / 0.6677 GB, free: 48.99 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.11e-05/1.35, allocations: 18.44 kB / 0.6677 GB, free: 48.99 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.076e-05/1.35, allocations: 7.562 kB / 0.6677 GB, free: 48.99 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.897e-05/1.35, allocations: 21.22 kB / 0.6677 GB, free: 48.98 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03413/1.384, allocations: 13.81 MB / 0.6812 GB, free: 42.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-05/1.384, allocations: 0 / 0.6812 GB, free: 42.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/1.385, allocations: 228.6 kB / 0.6814 GB, free: 42.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0148/1.4, allocations: 4.661 MB / 0.686 GB, free: 39.64 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005662/1.401, allocations: 27.95 kB / 0.686 GB, free: 39.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01853/1.419, allocations: 12.69 MB / 0.6984 GB, free: 26.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/1.42, allocations: 3.953 kB / 0.6984 GB, free: 26.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02166/1.441, allocations: 10.82 MB / 0.709 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/1.442, allocations: 325.8 kB / 0.7093 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001104/1.444, allocations: 8 kB / 0.7093 GB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00249/1.446, allocations: 179.7 kB / 0.7095 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006705/1.447, allocations: 108.6 kB / 0.7096 GB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002984/1.447, allocations: 51.97 kB / 0.7096 GB, free: 15.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003185/1.45, allocations: 1.516 MB / 0.7111 GB, free: 13.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.45, allocations: 0 / 0.7111 GB, free: 13.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006761/1.457, allocations: 0.743 MB / 0.7118 GB, free: 12.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(3,88.9%),(2,100.0%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,65.6%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02302/1.48, allocations: 11.63 MB / 0.7232 GB, free: 1.277 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72:writable] Warning: Variable $DER.wheel1.der_angles[2] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72:writable] Warning: Variable $DER.wheel1.der_angles[1] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.01448/1.495, allocations: 6.516 MB / 0.7296 GB, free: 10.64 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/1.495, allocations: 0 / 0.7296 GB, free: 10.64 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007239/1.502, allocations: 3.148 MB / 0.7326 GB, free: 7.355 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/1.504, allocations: 216.7 kB / 0.7328 GB, free: 7.148 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02407/1.529, allocations: 7.047 MB / 0.7397 GB, free: 104 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2887/1.817, allocations: 2.363 MB / 0.742 GB, free: 105.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005348/1.823, allocations: 1.632 MB / 0.7436 GB, free: 105.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002522/1.825, allocations: 1.14 MB / 0.7447 GB, free: 105.8 MB / 458.7 MB Notification: Performance of SimCode: time 1.764e-06/1.825, allocations: 0 / 0.7447 GB, free: 105.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1426/1.968, allocations: 67.23 MB / 0.8104 GB, free: 95 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/1.968, allocations: 155.6 kB / 0.8106 GB, free: 94.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.015/5.984, allocations: 0 / 0.8106 GB, free: 94.8 MB / 458.7 MB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat does not exist to compare? outputFormat=mat