Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 180.5 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008849/0.0008849, allocations: 93.55 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003253/0.0003255, allocations: 4 kB / 351.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2498, allocations: 50.4 MB / 401.6 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09461/0.3444, allocations: 78.57 MB / 480.1 MB, free: 1.887 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.3447, allocations: 72.52 kB / 480.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008566/0.3533, allocations: 3.206 MB / 483.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3533, allocations: 0 / 483.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.667e-05/0.3534, allocations: 4 kB / 483.4 MB, free: 14.61 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.0006458/0.354, allocations: 458.8 kB / 483.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3541, allocations: 8.031 kB / 483.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.504e-05/0.3542, allocations: 54.5 kB / 483.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/0.3542, allocations: 24.03 kB / 484 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.3545, allocations: 206.8 kB / 484.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.3545, allocations: 15.94 kB / 484.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.132e-05/0.3546, allocations: 27.89 kB / 484.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.3549, allocations: 145.4 kB / 484.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.3549, allocations: 0 / 484.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/0.355, allocations: 16 kB / 484.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.355, allocations: 7.953 kB / 484.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.3552, allocations: 103.9 kB / 484.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000921/0.3562, allocations: 0.5928 MB / 485.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.3564, allocations: 122.5 kB / 485.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.3564, allocations: 4 kB / 485.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.3565, allocations: 34.81 kB / 485.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.3565, allocations: 0 / 485.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.001583/0.3581, allocations: 0.8093 MB / 486 MB, free: 11.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.3581, allocations: 55.41 kB / 486.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.3583, allocations: 138.1 kB / 486.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.3583, allocations: 25.7 kB / 486.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.412e-05/0.3584, allocations: 132.3 kB / 486.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.256e-05/0.3585, allocations: 71 kB / 486.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.747e-06/0.3585, allocations: 4 kB / 486.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3586, allocations: 330.8 kB / 486.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.3588, allocations: 40.36 kB / 486.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.3589, allocations: 76.16 kB / 486.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.359, allocations: 67.34 kB / 487 MB, free: 10.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3591, allocations: 3.938 kB / 487 MB, free: 10.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003884/0.3594, allocations: 202.2 kB / 487.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3595, allocations: 8.062 kB / 487.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3595, allocations: 0 / 487.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001874/0.3597, allocations: 44.77 kB / 487.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.3599, allocations: 31.98 kB / 487.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.3612, allocations: 1.434 MB / 488.7 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.499e-05/0.3613, allocations: 8 kB / 488.7 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.3613, allocations: 4 kB / 488.7 MB, free: 8.887 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.0001777/0.3615, allocations: 145.5 kB / 488.8 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.3616, allocations: 19.88 kB / 488.8 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.591e-05/0.3616, allocations: 17.19 kB / 488.9 MB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3616, allocations: 3.938 kB / 488.9 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3616, allocations: 0 / 488.9 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3616, allocations: 3.984 kB / 488.9 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008226/0.3625, allocations: 0.5879 MB / 489.5 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.3625, allocations: 0 / 489.5 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.3626, allocations: 31.92 kB / 489.5 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001119/0.3628, allocations: 28.84 kB / 489.5 MB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.3628, allocations: 11.94 kB / 489.5 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.3639, allocations: 1.383 MB / 490.9 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3639, allocations: 0 / 490.9 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004902/0.3644, allocations: 349 kB / 491.2 MB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-05/0.3645, allocations: 88.95 kB / 491.3 MB, free: 5.984 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.3645, allocations: 4 kB / 491.3 MB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.3646, allocations: 7.984 kB / 491.3 MB, free: 5.973 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.3647, allocations: 15.92 kB / 491.4 MB, free: 5.957 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.3647, allocations: 12.06 kB / 491.4 MB, free: 5.945 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.845e-05/0.3648, allocations: 117 kB / 491.5 MB, free: 5.832 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3648, allocations: 0 / 491.5 MB, free: 5.832 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002906/0.3651, allocations: 48 kB / 491.5 MB, free: 5.785 MB / 362.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.0009224/0.366, allocations: 0.8731 MB / 492.4 MB, free: 4.883 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005463/0.3666, allocations: 261.7 kB / 492.7 MB, free: 4.617 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3666, allocations: 7.938 kB / 492.7 MB, free: 4.609 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002557/0.3669, allocations: 186.6 kB / 492.9 MB, free: 4.414 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.3672, allocations: 27.88 kB / 492.9 MB, free: 4.387 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.3693, allocations: 1.68 MB / 494.6 MB, free: 2.645 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.3696, allocations: 0.7323 MB / 495.3 MB, free: 1.887 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.208e-05/0.3697, allocations: 17.53 kB / 495.3 MB, free: 1.871 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.145e-05/0.3698, allocations: 47.42 kB / 495.4 MB, free: 1.824 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.3698, allocations: 4 kB / 495.4 MB, free: 1.82 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01586/0.3857, allocations: 3.405 MB / 498.8 MB, free: 14.58 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/0.3859, allocations: 206.7 kB / 499 MB, free: 14.34 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/2.141, allocations: 0 / 499 MB, free: 14.34 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat does not exist to compare? outputFormat=mat