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.002957/0.002957, allocations: 186.2 kB / 16.41 MB, free: 5.727 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.15/2.15, allocations: 205.4 MB / 222.5 MB, free: 9.133 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.001103/0.001103, allocations: 100.3 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004044, allocations: 12 kB / 327.1 MB, free: 124 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3333, allocations: 47.57 MB / 374.6 MB, free: 45.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.4602, allocations: 77.59 MB / 452.2 MB, free: 3.062 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.4606, allocations: 71.97 kB / 452.3 MB, free: 2.992 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0133/0.4739, allocations: 3.129 MB / 455.4 MB, free: 15.86 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4739, allocations: 0 / 455.4 MB, free: 15.86 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.418e-05/0.474, allocations: 8 kB / 455.4 MB, free: 15.85 MB / 346.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.000785/0.4748, allocations: 442.7 kB / 455.9 MB, free: 15.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.4748, allocations: 8.031 kB / 455.9 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.999e-05/0.4749, allocations: 58.55 kB / 455.9 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.803e-05/0.475, allocations: 15.81 kB / 455.9 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.4753, allocations: 218.9 kB / 456.1 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.4753, allocations: 12 kB / 456.2 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.358e-05/0.4754, allocations: 23.86 kB / 456.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000465/0.4759, allocations: 153.3 kB / 456.3 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.4759, allocations: 0 / 456.3 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.4759, allocations: 8 kB / 456.3 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.476, allocations: 4 kB / 456.3 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003856/0.4763, allocations: 111.7 kB / 456.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.4777, allocations: 0.5927 MB / 457 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003699/0.4781, allocations: 118.6 kB / 457.2 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.4781, allocations: 0 / 457.2 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.4781, allocations: 38.56 kB / 457.2 MB, free: 13.89 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 3.877e-06/0.4782, allocations: 0 / 457.2 MB, free: 13.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.002407/0.4806, allocations: 0.8115 MB / 458 MB, free: 12.99 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.4807, allocations: 55.41 kB / 458.1 MB, free: 12.92 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.4809, allocations: 148.1 kB / 458.2 MB, free: 12.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.4809, allocations: 29.7 kB / 458.2 MB, free: 12.74 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.481, allocations: 194.7 kB / 458.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.4812, allocations: 74.92 kB / 458.5 MB, free: 12.47 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.296e-05/0.4812, allocations: 7.938 kB / 458.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.4813, allocations: 318.8 kB / 458.8 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.4815, allocations: 48.34 kB / 458.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.4817, allocations: 76.28 kB / 458.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.482, allocations: 59.98 kB / 459 MB, free: 11.95 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.482, allocations: 0 / 459 MB, free: 11.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006663/0.4827, allocations: 201.8 kB / 459.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.4827, allocations: 8 kB / 459.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.4827, allocations: 0 / 459.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002674/0.483, allocations: 44.89 kB / 459.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.4833, allocations: 31.92 kB / 459.3 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001806/0.4851, allocations: 1.429 MB / 460.7 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.4853, allocations: 11.98 kB / 460.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.4854, allocations: 8 kB / 460.7 MB, free: 10.09 MB / 346.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 () * Number of clocked 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.0001989/0.4856, allocations: 129.8 kB / 460.9 MB, free: 9.949 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.103e-05/0.4857, allocations: 11.81 kB / 460.9 MB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.971e-05/0.4857, allocations: 21.25 kB / 460.9 MB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.4857, allocations: 12.41 kB / 460.9 MB, free: 9.902 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.4858, allocations: 0 / 460.9 MB, free: 9.902 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4858, allocations: 0 / 460.9 MB, free: 9.902 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.4871, allocations: 0.5956 MB / 461.5 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4871, allocations: 0 / 461.5 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/0.4874, allocations: 31.98 kB / 461.5 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000198/0.4876, allocations: 32.78 kB / 461.6 MB, free: 9.176 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.4877, allocations: 7.984 kB / 461.6 MB, free: 9.168 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/0.4893, allocations: 1.367 MB / 462.9 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.4893, allocations: 3.938 kB / 462.9 MB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008937/0.4902, allocations: 351.3 kB / 463.3 MB, free: 7.305 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.687e-05/0.4903, allocations: 88.95 kB / 463.4 MB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.4904, allocations: 4 kB / 463.4 MB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.4905, allocations: 7.984 kB / 463.4 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.167e-05/0.4906, allocations: 23.88 kB / 463.4 MB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.4906, allocations: 0 / 463.4 MB, free: 7.164 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000145/0.4908, allocations: 123.3 kB / 463.5 MB, free: 7.043 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4908, allocations: 0 / 463.5 MB, free: 7.043 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004283/0.4912, allocations: 48 kB / 463.6 MB, free: 6.996 MB / 346.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 () * Number of clocked 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.001309/0.4926, allocations: 0.8734 MB / 464.4 MB, free: 6.094 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007748/0.4934, allocations: 254.5 kB / 464.7 MB, free: 5.832 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4934, allocations: 0 / 464.7 MB, free: 5.832 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004235/0.4938, allocations: 198.7 kB / 464.9 MB, free: 5.625 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.4942, allocations: 21.02 kB / 464.9 MB, free: 5.605 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/0.4974, allocations: 1.703 MB / 466.6 MB, free: 3.832 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.4978, allocations: 0.74 MB / 467.4 MB, free: 3.066 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.498, allocations: 47.42 kB / 467.4 MB, free: 3.02 MB / 346.7 MB Notification: Performance of SimCode: time 1.443e-06/0.498, allocations: 0 / 467.4 MB, free: 3.02 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.689/3.187, allocations: 3.598 MB / 471 MB, free: 15.42 MB / 362.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