Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001379/0.001379, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.2 MB / 219.8 MB, free: 14.26 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 86.66 kB / 268 MB, free: 14.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.565e-05/2.567e-05, allocations: 0 / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08647/0.08651, allocations: 47.58 MB / 370.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3255/0.4121, allocations: 89.27 MB / 459.4 MB, free: 4.199 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/0.4124, allocations: 92.44 kB / 459.5 MB, free: 4.152 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1493/0.5617, allocations: 59.3 MB / 0.5066 GB, free: 9.656 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5618, allocations: 0 / 0.5066 GB, free: 9.656 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.773e-05/0.5618, allocations: 48 kB / 0.5067 GB, free: 9.609 MB / 394.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.007224/0.5691, allocations: 2.92 MB / 0.5095 GB, free: 6.633 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.5691, allocations: 12.02 kB / 0.5095 GB, free: 6.621 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007347/0.5699, allocations: 494.2 kB / 0.51 GB, free: 6.129 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007498/0.5774, allocations: 1.935 MB / 0.5119 GB, free: 4.188 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009076/0.5865, allocations: 3.474 MB / 0.5153 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.5867, allocations: 180.8 kB / 0.5155 GB, free: 492 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005243/0.5872, allocations: 243.9 kB / 0.5157 GB, free: 248 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01113/0.5983, allocations: 7.277 MB / 0.5228 GB, free: 8.105 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.538e-05/0.5984, allocations: 47.53 kB / 0.5228 GB, free: 8.059 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003481/0.5988, allocations: 131.9 kB / 0.523 GB, free: 7.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000968/0.5998, allocations: 0.7378 MB / 0.5237 GB, free: 7.195 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01047/0.6103, allocations: 6.198 MB / 0.5297 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.263/0.8733, allocations: 36.89 MB / 0.5658 GB, free: 77.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006845/0.8802, allocations: 3.005 MB / 0.5687 GB, free: 76.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002035/0.8823, allocations: 1.404 MB / 0.5701 GB, free: 76.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005705/0.8881, allocations: 4.225 MB / 0.5742 GB, free: 74.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.8881, allocations: 45.75 kB / 0.5742 GB, free: 74.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=116): time 3.868e-06/0.8881, allocations: 0 / 0.5742 GB, free: 74.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.05211/0.9402, allocations: 18.51 MB / 0.5923 GB, free: 69.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.9404, allocations: 174.8 kB / 0.5925 GB, free: 69.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003559/0.9439, allocations: 2.577 MB / 0.595 GB, free: 68.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003221/0.9443, allocations: 41.61 kB / 0.5951 GB, free: 68.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009552/0.9452, allocations: 2.122 MB / 0.5971 GB, free: 67.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004727/0.9457, allocations: 0.5845 MB / 0.5977 GB, free: 66.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/0.9459, allocations: 96.66 kB / 0.5978 GB, free: 66.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.9461, allocations: 0.5105 MB / 0.5983 GB, free: 66.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00276/0.9489, allocations: 2.3 MB / 0.6005 GB, free: 65.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003777/0.9527, allocations: 5.253 MB / 0.6057 GB, free: 60.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003964/0.9567, allocations: 3.429 MB / 0.609 GB, free: 59.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.244e-05/0.9567, allocations: 28.72 kB / 0.609 GB, free: 59.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=635) (initialization): time 0.02293/0.9797, allocations: 11.11 MB / 0.6199 GB, free: 53.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.277e-05/0.9798, allocations: 53.25 kB / 0.6199 GB, free: 53.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.212e-05/0.9799, allocations: 104 kB / 0.62 GB, free: 53.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01272/0.9926, allocations: 4.117 MB / 0.6241 GB, free: 50.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003912/0.9965, allocations: 1.119 MB / 0.6252 GB, free: 49.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01813/1.015, allocations: 13.68 MB / 0.6385 GB, free: 35.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004152/1.019, allocations: 357 kB / 0.6389 GB, free: 34.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000812/1.02, allocations: 336.5 kB / 0.6392 GB, free: 34.59 MB / 410.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.0007469/1.02, allocations: 483.9 kB / 0.6396 GB, free: 34.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005113/1.021, allocations: 252.7 kB / 0.6399 GB, free: 33.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01656/1.038, allocations: 6.899 MB / 0.6466 GB, free: 26.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.11e-05/1.038, allocations: 23.19 kB / 0.6466 GB, free: 26.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.957e-05/1.038, allocations: 8 kB / 0.6466 GB, free: 26.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.93e-05/1.038, allocations: 7.969 kB / 0.6467 GB, free: 26.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02803/1.066, allocations: 14.2 MB / 0.6605 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-05/1.066, allocations: 8.094 kB / 0.6605 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/1.067, allocations: 219.7 kB / 0.6607 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01322/1.08, allocations: 4.685 MB / 0.6653 GB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003623/1.08, allocations: 48.5 kB / 0.6654 GB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01919/1.1, allocations: 13.77 MB / 0.6788 GB, free: 9.758 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.1, allocations: 7.938 kB / 0.6788 GB, free: 9.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2234/1.323, allocations: 11.01 MB / 0.6896 GB, free: 110 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008464/1.324, allocations: 339.6 kB / 0.6899 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005069/1.325, allocations: 34.73 kB / 0.6899 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/1.326, allocations: 201.8 kB / 0.6901 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004517/1.327, allocations: 110.8 kB / 0.6902 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001662/1.327, allocations: 49.3 kB / 0.6903 GB, free: 109.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002719/1.33, allocations: 1.782 MB / 0.692 GB, free: 109.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/1.33, allocations: 0.9375 kB / 0.692 GB, free: 109.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003978/1.334, allocations: 0.8581 MB / 0.6928 GB, free: 109.7 MB / 426.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.02426/1.358, allocations: 12.04 MB / 0.7046 GB, free: 108.2 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74: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 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74: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.01088/1.369, allocations: 6.64 MB / 0.7111 GB, free: 107.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/1.369, allocations: 4.312 kB / 0.7111 GB, free: 107.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005509/1.374, allocations: 3.155 MB / 0.7142 GB, free: 106.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/1.376, allocations: 268.1 kB / 0.7144 GB, free: 106.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/1.389, allocations: 7.243 MB / 0.7215 GB, free: 103.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00181/1.39, allocations: 2.383 MB / 0.7238 GB, free: 102.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003225/1.394, allocations: 1.558 MB / 0.7253 GB, free: 102.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001289/1.395, allocations: 1.148 MB / 0.7265 GB, free: 101.9 MB / 426.7 MB Notification: Performance of SimCode: time 9.12e-07/1.395, allocations: 0 / 0.7265 GB, free: 101.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09125/1.486, allocations: 70.79 MB / 0.7956 GB, free: 50.11 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/1.486, allocations: 196.1 kB / 0.7958 GB, free: 49.88 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.257/4.744, allocations: 0 / 0.7958 GB, free: 49.88 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat does not exist to compare? outputFormat=mat