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.001141/0.001141, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.245/1.245, allocations: 227.2 MB / 245 MB, free: 7.648 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008375/0.0008374, allocations: 100.1 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000249/0.000249, allocations: 4 kB / 358 MB, free: 9.457 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2302, allocations: 51.5 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.094/0.3243, allocations: 79.38 MB / 488.9 MB, free: 11.22 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001865/0.3245, allocations: 68.72 kB / 488.9 MB, free: 11.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01004/0.3346, allocations: 3.27 MB / 492.2 MB, free: 7.883 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3346, allocations: 4 kB / 492.2 MB, free: 7.879 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.3346, allocations: 4.219 kB / 492.2 MB, free: 7.875 MB / 362.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.0004978/0.3351, allocations: 458.7 kB / 492.7 MB, free: 7.379 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3352, allocations: 8.031 kB / 492.7 MB, free: 7.371 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.328e-05/0.3352, allocations: 50.55 kB / 492.7 MB, free: 7.312 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.3353, allocations: 15.81 kB / 492.7 MB, free: 7.297 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.3355, allocations: 218.9 kB / 493 MB, free: 7.043 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.3355, allocations: 12 kB / 493 MB, free: 7.031 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.3355, allocations: 23.86 kB / 493 MB, free: 7.008 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.3358, allocations: 153.3 kB / 493.1 MB, free: 6.852 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.3358, allocations: 8 kB / 493.2 MB, free: 6.844 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.3359, allocations: 4 kB / 493.2 MB, free: 6.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3359, allocations: 4 kB / 493.2 MB, free: 6.836 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002161/0.3361, allocations: 103.9 kB / 493.3 MB, free: 6.734 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007772/0.3369, allocations: 0.6081 MB / 493.9 MB, free: 6.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.3371, allocations: 115.5 kB / 494 MB, free: 5.949 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.3371, allocations: 0 / 494 MB, free: 5.949 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.3372, allocations: 38.55 kB / 494 MB, free: 5.902 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 9.82e-07/0.3372, allocations: 0 / 494 MB, free: 5.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.001434/0.3386, allocations: 0.8013 MB / 494.8 MB, free: 5.008 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.3386, allocations: 55.41 kB / 494.9 MB, free: 4.941 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.3388, allocations: 149.3 kB / 495 MB, free: 4.789 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.3388, allocations: 33.7 kB / 495.1 MB, free: 4.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.3389, allocations: 120.3 kB / 495.2 MB, free: 4.625 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/0.3389, allocations: 70.98 kB / 495.2 MB, free: 4.555 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/0.3389, allocations: 4 kB / 495.2 MB, free: 4.551 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.339, allocations: 330.8 kB / 495.6 MB, free: 4.219 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.902e-05/0.3391, allocations: 44.36 kB / 495.6 MB, free: 4.172 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.3393, allocations: 79.34 kB / 495.7 MB, free: 4.086 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.3394, allocations: 55.92 kB / 495.7 MB, free: 4.031 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3394, allocations: 4 kB / 495.7 MB, free: 4.027 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003437/0.3397, allocations: 210.1 kB / 496 MB, free: 3.812 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3398, allocations: 14.42 kB / 496 MB, free: 3.801 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3398, allocations: 4 kB / 496 MB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001619/0.3399, allocations: 32.91 kB / 496 MB, free: 3.762 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.3401, allocations: 39.92 kB / 496 MB, free: 3.723 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.3412, allocations: 1.43 MB / 497.5 MB, free: 2.164 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.11e-05/0.3413, allocations: 15.97 kB / 497.5 MB, free: 2.148 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.3413, allocations: 12 kB / 497.5 MB, free: 2.137 MB / 362.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.0001202/0.3415, allocations: 133.1 kB / 497.6 MB, free: 2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.3415, allocations: 15.81 kB / 497.6 MB, free: 1.984 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.523e-05/0.3415, allocations: 25.17 kB / 497.7 MB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3416, allocations: 0 / 497.7 MB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3416, allocations: 4.062 kB / 497.7 MB, free: 1.953 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3416, allocations: 4 kB / 497.7 MB, free: 1.949 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008316/0.3424, allocations: 0.5877 MB / 498.3 MB, free: 1.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3424, allocations: 4 kB / 498.3 MB, free: 1.289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.3426, allocations: 27.98 kB / 498.3 MB, free: 1.262 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001137/0.3427, allocations: 36.77 kB / 498.3 MB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.3427, allocations: 4 kB / 498.3 MB, free: 1.219 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/0.3438, allocations: 1.374 MB / 499.7 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3438, allocations: 3.938 kB / 499.7 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004843/0.3443, allocations: 342.5 kB / 0.4883 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.893e-05/0.3444, allocations: 92.91 kB / 0.4884 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.3444, allocations: 4 kB / 0.4884 GB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3445, allocations: 7.984 kB / 0.4884 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.3446, allocations: 19.88 kB / 0.4884 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.3446, allocations: 4 kB / 0.4885 GB, free: 15.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.944e-05/0.3447, allocations: 115.2 kB / 0.4886 GB, free: 15.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3447, allocations: 4 kB / 0.4886 GB, free: 15.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002866/0.345, allocations: 44.06 kB / 0.4886 GB, free: 15.05 MB / 378.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.0008379/0.3459, allocations: 0.8791 MB / 0.4895 GB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004662/0.3463, allocations: 254.4 kB / 0.4897 GB, free: 13.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3463, allocations: 0 / 0.4897 GB, free: 13.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002616/0.3466, allocations: 194.8 kB / 0.4899 GB, free: 13.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.3469, allocations: 19.98 kB / 0.4899 GB, free: 13.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.3488, allocations: 1.677 MB / 0.4916 GB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.3492, allocations: 0.74 MB / 0.4923 GB, free: 11.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.09e-05/0.3492, allocations: 17.55 kB / 0.4923 GB, free: 11.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.388e-05/0.3493, allocations: 47.42 kB / 0.4923 GB, free: 11.09 MB / 378.7 MB Notification: Performance of SimCode: time 6.31e-07/0.3493, allocations: 0 / 0.4923 GB, free: 11.09 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01547/0.3648, allocations: 3.407 MB / 0.4957 GB, free: 7.848 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/0.365, allocations: 197 kB / 0.4959 GB, free: 7.613 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/1.938, allocations: 8.062 kB / 0.4959 GB, free: 7.605 MB / 378.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