Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.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.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_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.001089/0.001089, allocations: 198.1 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.451/1.451, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008297/0.0008297, allocations: 94.73 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.705e-05/2.718e-05, allocations: 4 kB / 343.8 MB, free: 8.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1088, allocations: 51.47 MB / 395.3 MB, free: 4.719 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3182/0.427, allocations: 78.66 MB / 473.9 MB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001838/0.4272, allocations: 73.25 kB / 474 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007643/0.4349, allocations: 3.232 MB / 477.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.4349, allocations: 0.6562 kB / 477.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.435, allocations: 4 kB / 477.2 MB, free: 11.07 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.0004382/0.4354, allocations: 441 kB / 477.6 MB, free: 10.63 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.4355, allocations: 8.031 kB / 477.7 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.657e-05/0.4355, allocations: 23.56 kB / 477.7 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.4357, allocations: 212.1 kB / 477.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.4357, allocations: 4.859 kB / 477.9 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.4358, allocations: 15.47 kB / 477.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001752/0.436, allocations: 82.14 kB / 478 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.4362, allocations: 123.2 kB / 478.1 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.4362, allocations: 0 / 478.1 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.4362, allocations: 0 / 478.1 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.4362, allocations: 9.219 kB / 478.1 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007295/0.437, allocations: 0.5507 MB / 478.7 MB, free: 9.801 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.4371, allocations: 97.89 kB / 478.8 MB, free: 9.727 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.996e-05/0.4372, allocations: 31.17 kB / 478.8 MB, free: 9.703 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.4372, allocations: 0 / 478.8 MB, free: 9.703 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.4372, allocations: 40.02 kB / 478.8 MB, free: 9.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 9.12e-07/0.4372, allocations: 0 / 478.8 MB, free: 9.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.001079/0.4383, allocations: 0.6918 MB / 479.5 MB, free: 8.992 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/0.4384, allocations: 55.41 kB / 479.6 MB, free: 8.926 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.123e-05/0.4384, allocations: 123.6 kB / 479.7 MB, free: 8.816 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.4385, allocations: 29.7 kB / 479.7 MB, free: 8.781 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.979e-05/0.4385, allocations: 136.8 kB / 479.9 MB, free: 8.664 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.4386, allocations: 59.11 kB / 479.9 MB, free: 8.617 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-06/0.4386, allocations: 0 / 479.9 MB, free: 8.617 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.033e-05/0.4387, allocations: 322.6 kB / 480.2 MB, free: 8.305 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.278e-05/0.4387, allocations: 33.62 kB / 480.3 MB, free: 8.281 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-05/0.4388, allocations: 67.19 kB / 480.3 MB, free: 8.227 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.947e-05/0.4389, allocations: 45.86 kB / 480.4 MB, free: 8.203 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4389, allocations: 4 kB / 480.4 MB, free: 8.199 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000253/0.4391, allocations: 174.2 kB / 480.6 MB, free: 8.062 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.4392, allocations: 8 kB / 480.6 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4392, allocations: 0 / 480.6 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000149/0.4393, allocations: 42.31 kB / 480.6 MB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.4395, allocations: 31.59 kB / 480.6 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008512/0.4403, allocations: 1.364 MB / 482 MB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.473e-05/0.4404, allocations: 4.031 kB / 482 MB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.4404, allocations: 4 kB / 482 MB, free: 6.656 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 () * 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 7.578e-05/0.4405, allocations: 114.3 kB / 482.1 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002394/0.4408, allocations: 151.1 kB / 482.3 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.4408, allocations: 19.7 kB / 482.3 MB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.994e-05/0.4409, allocations: 23.2 kB / 482.3 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4409, allocations: 3.984 kB / 482.3 MB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.4409, allocations: 4 kB / 482.3 MB, free: 6.383 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.4409, allocations: 1.312 kB / 482.3 MB, free: 6.383 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005664/0.4415, allocations: 0.5204 MB / 482.8 MB, free: 5.945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4415, allocations: 4.219 kB / 482.8 MB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.4416, allocations: 31.36 kB / 482.9 MB, free: 5.914 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.699e-05/0.4417, allocations: 35 kB / 482.9 MB, free: 5.887 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.4417, allocations: 0 / 482.9 MB, free: 5.887 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006903/0.4424, allocations: 1.31 MB / 484.2 MB, free: 4.574 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4425, allocations: 3.953 kB / 484.2 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.4428, allocations: 298.4 kB / 484.5 MB, free: 4.328 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.4428, allocations: 93.03 kB / 484.6 MB, free: 4.219 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.4428, allocations: 8.141 kB / 484.6 MB, free: 4.215 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.204e-05/0.4429, allocations: 5.359 kB / 484.6 MB, free: 4.211 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.443, allocations: 8.641 kB / 484.6 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.443, allocations: 7.312 kB / 484.6 MB, free: 4.203 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.594e-05/0.443, allocations: 99.67 kB / 484.7 MB, free: 4.117 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.443, allocations: 0 / 484.7 MB, free: 4.117 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002799/0.4433, allocations: 40 kB / 484.8 MB, free: 4.078 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 () * 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.0005192/0.4438, allocations: 0.8474 MB / 485.6 MB, free: 3.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00034/0.4442, allocations: 216.6 kB / 485.8 MB, free: 3.094 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4442, allocations: 192 / 485.8 MB, free: 3.094 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.4444, allocations: 178.2 kB / 486 MB, free: 2.938 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.4447, allocations: 21.69 kB / 486 MB, free: 2.926 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007231/0.4454, allocations: 399.4 kB / 486.4 MB, free: 2.566 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.4457, allocations: 0.7289 MB / 487.1 MB, free: 17.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.883e-05/0.4458, allocations: 16.59 kB / 487.2 MB, free: 17.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.775e-05/0.4458, allocations: 47.61 kB / 487.2 MB, free: 17.81 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4458, allocations: 0 / 487.2 MB, free: 17.81 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.4671, allocations: 2.803 MB / 490 MB, free: 15.08 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000247/0.4674, allocations: 145.8 kB / 490.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.102, allocations: 4.031 kB / 490.1 MB, free: 14.89 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat does not exist to compare? outputFormat=mat