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.00215/0.002149, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.576/1.576, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001026/0.001026, allocations: 94.72 kB / 292.1 MB, free: 6.031 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.806e-05/4.818e-05, allocations: 4 kB / 350.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1312, allocations: 51.48 MB / 402.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4333/0.5646, allocations: 91.42 MB / 493.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/0.5649, allocations: 86.2 kB / 493.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1794/0.7444, allocations: 62.46 MB / 0.5431 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.7445, allocations: 0 / 0.5431 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001377/0.7446, allocations: 48 kB / 0.5431 GB, free: 0.7891 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.01329/0.7579, allocations: 3.02 MB / 0.5461 GB, free: 13.72 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.758, allocations: 11.97 kB / 0.5461 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002349/0.7603, allocations: 498.1 kB / 0.5465 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009635/0.77, allocations: 1.943 MB / 0.5484 GB, free: 11.26 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009143/0.7792, allocations: 2.782 MB / 0.5512 GB, free: 8.434 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002717/0.7795, allocations: 188.6 kB / 0.5513 GB, free: 8.246 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001647/0.7812, allocations: 247.8 kB / 0.5516 GB, free: 8.004 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01836/0.7996, allocations: 7.284 MB / 0.5587 GB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002042/0.7998, allocations: 47.53 kB / 0.5587 GB, free: 15.81 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001053/0.8009, allocations: 123.9 kB / 0.5588 GB, free: 15.69 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001244/0.8021, allocations: 0.7339 MB / 0.5596 GB, free: 14.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01318/0.8153, allocations: 6.199 MB / 0.5656 GB, free: 8.758 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3493/1.165, allocations: 36.86 MB / 0.6016 GB, free: 68.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006646/1.171, allocations: 3 MB / 0.6045 GB, free: 67.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001849/1.173, allocations: 1.41 MB / 0.6059 GB, free: 67.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006216/1.18, allocations: 4.191 MB / 0.61 GB, free: 66.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/1.18, allocations: 50.53 kB / 0.6101 GB, free: 66.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=116): time 6.843e-06/1.18, allocations: 3.281 kB / 0.6101 GB, free: 66.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=150): time 0.05972/1.239, allocations: 18.46 MB / 0.6281 GB, free: 64.54 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/1.239, allocations: 175.8 kB / 0.6283 GB, free: 64.35 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004912/1.244, allocations: 2.564 MB / 0.6308 GB, free: 64.05 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005748/1.245, allocations: 50.12 kB / 0.6308 GB, free: 64.02 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001864/1.247, allocations: 2.109 MB / 0.6329 GB, free: 62.87 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001148/1.248, allocations: 0.597 MB / 0.6335 GB, free: 62.54 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003857/1.248, allocations: 92.78 kB / 0.6335 GB, free: 62.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003664/1.249, allocations: 0.5078 MB / 0.634 GB, free: 62.22 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004498/1.253, allocations: 2.305 MB / 0.6363 GB, free: 62.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006791/1.26, allocations: 5.256 MB / 0.6414 GB, free: 57.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006815/1.267, allocations: 3.428 MB / 0.6448 GB, free: 56.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001747/1.267, allocations: 29.38 kB / 0.6448 GB, free: 56.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=635) (initialization): time 0.0292/1.296, allocations: 11.12 MB / 0.6557 GB, free: 52.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/1.297, allocations: 47.78 kB / 0.6557 GB, free: 52.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001634/1.297, allocations: 106.2 kB / 0.6558 GB, free: 52.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01391/1.311, allocations: 4.11 MB / 0.6598 GB, free: 52.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004091/1.315, allocations: 1.123 MB / 0.6609 GB, free: 52.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02128/1.336, allocations: 13.68 MB / 0.6743 GB, free: 46.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005525/1.342, allocations: 353.3 kB / 0.6746 GB, free: 46.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001405/1.343, allocations: 332.7 kB / 0.6749 GB, free: 46.07 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 478 * 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 (575): * Single equations (assignments): 565 * 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.001913/1.345, allocations: 479.6 kB / 0.6754 GB, free: 45.67 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/1.346, allocations: 246.1 kB / 0.6756 GB, free: 45.54 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01793/1.364, allocations: 6.905 MB / 0.6824 GB, free: 43.55 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.509e-05/1.364, allocations: 18 kB / 0.6824 GB, free: 43.55 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.113e-05/1.364, allocations: 11 kB / 0.6824 GB, free: 43.55 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.58e-05/1.364, allocations: 9.422 kB / 0.6824 GB, free: 43.55 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03156/1.396, allocations: 14.19 MB / 0.6963 GB, free: 33.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.301e-05/1.396, allocations: 4 kB / 0.6963 GB, free: 33.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/1.397, allocations: 228.7 kB / 0.6965 GB, free: 33.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01426/1.412, allocations: 4.685 MB / 0.7011 GB, free: 28.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004612/1.412, allocations: 45.05 kB / 0.7011 GB, free: 28.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01898/1.431, allocations: 13.77 MB / 0.7146 GB, free: 14.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/1.431, allocations: 0 / 0.7146 GB, free: 14.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02143/1.453, allocations: 11.03 MB / 0.7253 GB, free: 3.289 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/1.454, allocations: 333.7 kB / 0.7256 GB, free: 2.941 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006549/1.455, allocations: 39.98 kB / 0.7257 GB, free: 2.902 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001809/1.456, allocations: 207.5 kB / 0.7259 GB, free: 2.703 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004307/1.457, allocations: 108.8 kB / 0.726 GB, free: 2.598 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001541/1.457, allocations: 47.97 kB / 0.726 GB, free: 2.551 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002947/1.46, allocations: 1.77 MB / 0.7277 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.1e-07/1.46, allocations: 0 / 0.7277 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005844/1.466, allocations: 0.8652 MB / 0.7286 GB, free: 15.91 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (100): * Single equations (assignments): 90 * 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.02645/1.492, allocations: 12.04 MB / 0.7404 GB, free: 3.781 MB / 458.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.2641/1.756, allocations: 6.637 MB / 0.7468 GB, free: 105.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/1.757, allocations: 0 / 0.7468 GB, free: 105.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006202/1.763, allocations: 3.156 MB / 0.7499 GB, free: 104.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/1.765, allocations: 264.7 kB / 0.7502 GB, free: 104.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01715/1.782, allocations: 7.238 MB / 0.7572 GB, free: 103.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002396/1.785, allocations: 2.37 MB / 0.7596 GB, free: 102.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004061/1.789, allocations: 1.563 MB / 0.7611 GB, free: 102.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002192/1.791, allocations: 1.149 MB / 0.7622 GB, free: 102.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.272e-06/1.791, allocations: 2 kB / 0.7622 GB, free: 102.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2037/1.995, allocations: 70.68 MB / 0.8312 GB, free: 80.94 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/1.995, allocations: 187.9 kB / 0.8314 GB, free: 80.71 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.182/6.177, allocations: 0 / 0.8314 GB, free: 80.71 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