Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.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.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Rotational_Examples_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.002428/0.002427, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.162/2.162, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.00159/0.00159, allocations: 94.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.451e-05/3.46e-05, allocations: 7.984 kB / 321.6 MB, free: 17.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.106, allocations: 47.56 MB / 369.2 MB, free: 2.129 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4262/0.5323, allocations: 77.49 MB / 446.7 MB, free: 15.69 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.5327, allocations: 67.91 kB / 446.7 MB, free: 15.65 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01405/0.5467, allocations: 3.123 MB / 449.9 MB, free: 13.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5468, allocations: 0 / 449.9 MB, free: 13.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.113e-05/0.5468, allocations: 8 kB / 449.9 MB, free: 13.03 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008188/0.5477, allocations: 434.1 kB / 450.3 MB, free: 12.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.874e-05/0.5478, allocations: 12.03 kB / 450.3 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.991e-05/0.5479, allocations: 48.11 kB / 450.3 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.39e-05/0.548, allocations: 19.81 kB / 450.4 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004948/0.5485, allocations: 211.4 kB / 450.6 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.5486, allocations: 14.5 kB / 450.6 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.809e-05/0.5487, allocations: 28.61 kB / 450.6 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006093/0.5493, allocations: 142.6 kB / 450.8 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/0.5493, allocations: 0 / 450.8 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.262e-05/0.5494, allocations: 7.625 kB / 450.8 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.5494, allocations: 4 kB / 450.8 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004278/0.5499, allocations: 90.58 kB / 450.9 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.5513, allocations: 0.5952 MB / 451.4 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003139/0.5517, allocations: 114.7 kB / 451.6 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.5518, allocations: 44.06 kB / 451.6 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.5519, allocations: 4 kB / 451.6 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.5519, allocations: 30.56 kB / 451.6 MB, free: 11.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.445e-06/0.5519, allocations: 0 / 451.6 MB, free: 11.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.001936/0.5539, allocations: 0.738 MB / 452.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.5539, allocations: 59.41 kB / 452.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.5542, allocations: 150 kB / 452.6 MB, free: 10.4 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.5542, allocations: 33.39 kB / 452.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.5543, allocations: 189.8 kB / 452.8 MB, free: 10.19 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.978e-05/0.5544, allocations: 62.92 kB / 452.9 MB, free: 10.13 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.199e-05/0.5544, allocations: 3.5 kB / 452.9 MB, free: 10.13 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.5546, allocations: 318.8 kB / 453.2 MB, free: 9.816 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.5548, allocations: 36.09 kB / 453.2 MB, free: 9.789 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.5549, allocations: 78.73 kB / 453.3 MB, free: 9.719 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.5551, allocations: 55.36 kB / 453.3 MB, free: 9.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5551, allocations: 0 / 453.3 MB, free: 9.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005481/0.5557, allocations: 184.6 kB / 453.5 MB, free: 9.527 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.5557, allocations: 4 kB / 453.5 MB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.5557, allocations: 0 / 453.5 MB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002644/0.556, allocations: 40.62 kB / 453.6 MB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/0.5563, allocations: 39.28 kB / 453.6 MB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/0.5581, allocations: 1.415 MB / 455 MB, free: 8.012 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.5583, allocations: 12.05 kB / 455 MB, free: 8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.5584, allocations: 11.86 kB / 455 MB, free: 7.992 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001335/0.5585, allocations: 116.9 kB / 455.2 MB, free: 7.875 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.032e-05/0.5586, allocations: 11.91 kB / 455.2 MB, free: 7.863 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.675e-05/0.5587, allocations: 20.12 kB / 455.2 MB, free: 7.855 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.5587, allocations: 0 / 455.2 MB, free: 7.855 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.5587, allocations: 192 / 455.2 MB, free: 7.855 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5587, allocations: 0 / 455.2 MB, free: 7.855 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.56, allocations: 0.5908 MB / 455.8 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.5601, allocations: 0 / 455.8 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002963/0.5604, allocations: 27.98 kB / 455.8 MB, free: 7.266 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002046/0.5606, allocations: 32.66 kB / 455.8 MB, free: 7.234 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.5606, allocations: 7.875 kB / 455.8 MB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/0.5622, allocations: 1.367 MB / 457.2 MB, free: 5.809 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5623, allocations: 4.062 kB / 457.2 MB, free: 5.805 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008152/0.5631, allocations: 324.9 kB / 457.5 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.858e-05/0.5632, allocations: 85.05 kB / 457.6 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.5632, allocations: 7.688 kB / 457.6 MB, free: 5.422 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.5634, allocations: 3.875 kB / 457.6 MB, free: 5.422 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-05/0.5635, allocations: 19.92 kB / 457.6 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.5636, allocations: 8.062 kB / 457.7 MB, free: 5.395 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001439/0.5637, allocations: 118.6 kB / 457.8 MB, free: 5.293 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5637, allocations: 0 / 457.8 MB, free: 5.293 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004735/0.5642, allocations: 43.81 kB / 457.8 MB, free: 5.254 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001142/0.5654, allocations: 0.8585 MB / 458.7 MB, free: 4.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006595/0.566, allocations: 238.3 kB / 458.9 MB, free: 4.219 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5661, allocations: 0 / 458.9 MB, free: 4.219 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003711/0.5664, allocations: 189.1 kB / 459.1 MB, free: 4.043 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.5669, allocations: 20.97 kB / 459.1 MB, free: 4.031 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.5682, allocations: 435.1 kB / 459.5 MB, free: 3.594 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.5687, allocations: 0.7324 MB / 460.3 MB, free: 2.832 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.5688, allocations: 50.36 kB / 460.3 MB, free: 2.812 MB / 330.7 MB Notification: Performance of SimCode: time 1.383e-06/0.5688, allocations: 4 kB / 460.3 MB, free: 2.809 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.86/3.429, allocations: 3.62 MB / 463.9 MB, free: 15.23 MB / 346.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_Rotational_Examples_RollingWheel_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat does not exist to compare? outputFormat=mat