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.001873/0.001873, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.94/1.94, allocations: 205.3 MB / 214.4 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009699/0.00097, allocations: 82.72 kB / 262.4 MB, free: 1.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.928e-05/1.931e-05, allocations: 0 / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1107, allocations: 47.59 MB / 363.2 MB, free: 6.973 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.376/0.4867, allocations: 77.07 MB / 440.2 MB, free: 2.258 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.487, allocations: 70.09 kB / 440.3 MB, free: 2.223 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008402/0.4954, allocations: 3.085 MB / 443.4 MB, free: 15.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.4955, allocations: 0 / 443.4 MB, free: 15.69 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.4955, allocations: 4 kB / 443.4 MB, free: 15.68 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.000554/0.496, allocations: 452.5 kB / 443.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.4961, allocations: 8.031 kB / 443.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.4962, allocations: 23.81 kB / 443.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.4964, allocations: 207.3 kB / 444.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.4964, allocations: 4.75 kB / 444.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.15e-05/0.4965, allocations: 15.95 kB / 444.1 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001855/0.4967, allocations: 83.42 kB / 444.2 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.4969, allocations: 119.3 kB / 444.3 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.4969, allocations: 4 kB / 444.3 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.497, allocations: 0 / 444.3 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.497, allocations: 4 kB / 444.3 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008799/0.4979, allocations: 0.5571 MB / 444.9 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.498, allocations: 99.59 kB / 445 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.872e-05/0.4981, allocations: 35.73 kB / 445 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.4981, allocations: 0 / 445 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.4982, allocations: 38.56 kB / 445 MB, free: 14.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.494e-06/0.4982, allocations: 3.984 kB / 445 MB, free: 14.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.00126/0.4995, allocations: 0.6844 MB / 445.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.4995, allocations: 59.39 kB / 445.8 MB, free: 13.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.4996, allocations: 127.6 kB / 445.9 MB, free: 13.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.4996, allocations: 25.7 kB / 445.9 MB, free: 13.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.4997, allocations: 127.3 kB / 446 MB, free: 13.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.274e-05/0.4998, allocations: 65.53 kB / 446.1 MB, free: 13.01 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/0.4998, allocations: 0 / 446.1 MB, free: 13.01 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.4999, allocations: 321.6 kB / 446.4 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.713e-05/0.5, allocations: 34.59 kB / 446.5 MB, free: 12.67 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.772e-05/0.5001, allocations: 69.86 kB / 446.5 MB, free: 12.61 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.218e-05/0.5002, allocations: 45.55 kB / 446.6 MB, free: 12.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5002, allocations: 0 / 446.6 MB, free: 12.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002828/0.5005, allocations: 169.9 kB / 446.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.5005, allocations: 8 kB / 446.7 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.5005, allocations: 0 / 446.7 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001575/0.5007, allocations: 43.77 kB / 446.8 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.5008, allocations: 35.17 kB / 446.8 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.502, allocations: 1.359 MB / 448.2 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.123e-05/0.5021, allocations: 4.031 kB / 448.2 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.5022, allocations: 7 kB / 448.2 MB, free: 10.97 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 9.685e-05/0.5023, allocations: 121.5 kB / 448.3 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002822/0.5025, allocations: 152 kB / 448.5 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.5026, allocations: 19.83 kB / 448.5 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.224e-05/0.5026, allocations: 15.81 kB / 448.5 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.5027, allocations: 4 kB / 448.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.5027, allocations: 0 / 448.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5027, allocations: 0 / 448.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007007/0.5034, allocations: 0.5228 MB / 449 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5034, allocations: 0 / 449 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.5036, allocations: 27.98 kB / 449 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001071/0.5037, allocations: 39.67 kB / 449.1 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.5037, allocations: 128 / 449.1 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/0.5047, allocations: 1.313 MB / 450.4 MB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/0.5048, allocations: 3.953 kB / 450.4 MB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004444/0.5052, allocations: 296.5 kB / 450.7 MB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.086e-05/0.5053, allocations: 96.84 kB / 450.8 MB, free: 8.395 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.5053, allocations: 3.938 kB / 450.8 MB, free: 8.391 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.94e-05/0.5054, allocations: 7.984 kB / 450.8 MB, free: 8.383 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.5055, allocations: 11.36 kB / 450.8 MB, free: 8.375 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.5055, allocations: 4 kB / 450.8 MB, free: 8.371 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.3e-05/0.5056, allocations: 101.3 kB / 450.9 MB, free: 8.281 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5056, allocations: 0 / 450.9 MB, free: 8.281 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002935/0.5059, allocations: 40 kB / 451 MB, free: 8.242 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.0007442/0.5066, allocations: 0.8343 MB / 451.8 MB, free: 7.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003939/0.507, allocations: 225.4 kB / 452 MB, free: 7.238 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5071, allocations: 4 kB / 452 MB, free: 7.234 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.5073, allocations: 169.6 kB / 452.2 MB, free: 7.078 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.5076, allocations: 14.61 kB / 452.2 MB, free: 7.066 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008603/0.5085, allocations: 392.7 kB / 452.6 MB, free: 6.664 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.5088, allocations: 0.7358 MB / 453.3 MB, free: 5.902 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.852e-05/0.5089, allocations: 17.19 kB / 453.3 MB, free: 5.887 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.488e-05/0.509, allocations: 45.86 kB / 453.4 MB, free: 5.871 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.509, allocations: 0 / 453.4 MB, free: 5.871 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02609/0.5351, allocations: 2.819 MB / 456.2 MB, free: 3.055 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000307/0.5355, allocations: 135.9 kB / 456.3 MB, free: 2.867 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/2.202, allocations: 0 / 456.3 MB, free: 2.867 MB / 330.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