Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_2_3_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.0009423/0.0009422, allocations: 171.3 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.504/1.504, allocations: 205.2 MB / 219.8 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.0008759/0.0008758, allocations: 90.64 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.729e-05/2.731e-05, allocations: 0 / 322.5 MB, free: 17.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08538/0.08543, allocations: 47.57 MB / 370.1 MB, free: 1.629 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.314/0.3995, allocations: 77.49 MB / 447.6 MB, free: 15.79 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001556/0.3997, allocations: 66.53 kB / 447.7 MB, free: 15.76 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007634/0.4074, allocations: 3.111 MB / 450.8 MB, free: 13.15 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.4074, allocations: 0 / 450.8 MB, free: 13.15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.4074, allocations: 15.94 kB / 450.8 MB, free: 13.14 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.0004627/0.4079, allocations: 434.5 kB / 451.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.4079, allocations: 8.797 kB / 451.2 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.076e-05/0.408, allocations: 53.86 kB / 451.3 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.4081, allocations: 19.8 kB / 451.3 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.4083, allocations: 206.3 kB / 451.5 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.4083, allocations: 19.62 kB / 451.5 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/0.4083, allocations: 15.45 kB / 451.5 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.4086, allocations: 147.6 kB / 451.7 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.4086, allocations: 2.078 kB / 451.7 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.4086, allocations: 11.86 kB / 451.7 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.4086, allocations: 4 kB / 451.7 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.4088, allocations: 97.7 kB / 451.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007666/0.4096, allocations: 0.6005 MB / 452.4 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.4098, allocations: 105.5 kB / 452.5 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.069e-05/0.4098, allocations: 36.7 kB / 452.5 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.4099, allocations: 0 / 452.5 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.4099, allocations: 42.44 kB / 452.6 MB, free: 11.44 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.4099, allocations: 0 / 452.6 MB, free: 11.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.001144/0.4111, allocations: 0.7398 MB / 453.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.4111, allocations: 59.41 kB / 453.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.4112, allocations: 145.9 kB / 453.5 MB, free: 10.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.4113, allocations: 29.58 kB / 453.5 MB, free: 10.47 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.4113, allocations: 127.7 kB / 453.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.654e-05/0.4114, allocations: 58.98 kB / 453.7 MB, free: 10.31 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.4114, allocations: 3.875 kB / 453.7 MB, free: 10.31 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.4115, allocations: 334.5 kB / 454.1 MB, free: 9.977 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.63e-05/0.4116, allocations: 39.59 kB / 454.1 MB, free: 9.949 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.515e-05/0.4117, allocations: 67.69 kB / 454.2 MB, free: 9.887 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.744e-05/0.4118, allocations: 57.03 kB / 454.2 MB, free: 9.848 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4118, allocations: 0 / 454.2 MB, free: 9.848 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002947/0.4121, allocations: 196.7 kB / 454.4 MB, free: 9.688 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.4121, allocations: 7.938 kB / 454.4 MB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.4121, allocations: 4 kB / 454.4 MB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001551/0.4123, allocations: 40.45 kB / 454.5 MB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.4124, allocations: 27.98 kB / 454.5 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/0.4135, allocations: 1.425 MB / 455.9 MB, free: 8.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.162e-05/0.4136, allocations: 10.52 kB / 455.9 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.4136, allocations: 7.438 kB / 455.9 MB, free: 8.148 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 7.221e-05/0.4137, allocations: 116 kB / 456 MB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.4137, allocations: 11.16 kB / 456 MB, free: 8.023 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.287e-05/0.4138, allocations: 26.61 kB / 456.1 MB, free: 8.008 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.4138, allocations: 4 kB / 456.1 MB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.4138, allocations: 0 / 456.1 MB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4138, allocations: 0 / 456.1 MB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006633/0.4144, allocations: 0.5764 MB / 456.7 MB, free: 7.453 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4145, allocations: 3.938 kB / 456.7 MB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.4146, allocations: 31.97 kB / 456.7 MB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001015/0.4147, allocations: 31.22 kB / 456.7 MB, free: 7.391 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.4148, allocations: 3 kB / 456.7 MB, free: 7.391 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009885/0.4158, allocations: 1.37 MB / 458.1 MB, free: 5.965 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4158, allocations: 0 / 458.1 MB, free: 5.965 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003955/0.4162, allocations: 319 kB / 458.4 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/0.4162, allocations: 95.19 kB / 458.5 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.4163, allocations: 3.188 kB / 458.5 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.585e-05/0.4164, allocations: 4 kB / 458.5 MB, free: 5.578 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.4164, allocations: 15.38 kB / 458.5 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.4164, allocations: 4 kB / 458.5 MB, free: 5.562 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.402e-05/0.4165, allocations: 121 kB / 458.6 MB, free: 5.457 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4165, allocations: 0 / 458.6 MB, free: 5.457 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002577/0.4168, allocations: 46.75 kB / 458.7 MB, free: 5.418 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.0006369/0.4174, allocations: 0.8551 MB / 459.5 MB, free: 4.598 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003663/0.4178, allocations: 247.3 kB / 459.8 MB, free: 4.379 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4178, allocations: 0 / 459.8 MB, free: 4.379 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.418, allocations: 175.4 kB / 460 MB, free: 4.211 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.4183, allocations: 23.92 kB / 460 MB, free: 4.188 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000751/0.419, allocations: 413.3 kB / 460.4 MB, free: 3.746 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.4193, allocations: 0.7363 MB / 461.1 MB, free: 2.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.392e-05/0.4194, allocations: 13.33 kB / 461.1 MB, free: 2.969 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.15e-05/0.4195, allocations: 47.42 kB / 461.2 MB, free: 2.922 MB / 330.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4195, allocations: 4 kB / 461.2 MB, free: 2.918 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01519/0.4347, allocations: 3.388 MB / 464.6 MB, free: 15.53 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/0.4349, allocations: 170.4 kB / 464.7 MB, free: 15.31 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.543/1.978, allocations: 3.938 kB / 464.7 MB, free: 15.31 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_RollingWheel_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat does not exist to compare? outputFormat=mat