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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0007738/0.0007739, allocations: 99.48 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008435/0.0008433, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002589/0.000259, allocations: 4 kB / 306.8 MB, free: 1.488 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09654/0.09682, allocations: 51.49 MB / 358.3 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002306/0.09918, allocations: 1.775 MB / 360.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1003, allocations: 0.538 MB / 360.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.1004, allocations: 7.938 kB / 360.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.1006, allocations: 23.78 kB / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.69e-05/0.1007, allocations: 43.67 kB / 360.7 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.1009, allocations: 35.97 kB / 360.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.1011, allocations: 195.1 kB / 360.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.1013, allocations: 57.78 kB / 361 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.919e-05/0.1014, allocations: 63.72 kB / 361 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.1015, allocations: 71.69 kB / 361.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.1016, allocations: 11.94 kB / 361.1 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.95e-05/0.1016, allocations: 15.94 kB / 361.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.626e-05/0.1016, allocations: 27.91 kB / 361.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.164e-05/0.1017, allocations: 57.58 kB / 361.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.1019, allocations: 147.8 kB / 361.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.1019, allocations: 4 kB / 361.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1019, allocations: 0 / 361.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1019, allocations: 0 / 361.4 MB, free: 10.92 MB / 302.1 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.0007529/0.1027, allocations: 454.7 kB / 361.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.1028, allocations: 8.031 kB / 361.8 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.755e-05/0.1028, allocations: 50.55 kB / 361.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.245e-05/0.1029, allocations: 23.81 kB / 361.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.1032, allocations: 214.8 kB / 362.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.1032, allocations: 15.89 kB / 362.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.668e-05/0.1033, allocations: 20 kB / 362.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003668/0.1037, allocations: 153.4 kB / 362.3 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.1037, allocations: 0 / 362.3 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.1037, allocations: 4 kB / 362.3 MB, free: 9.891 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.1037, allocations: 4 kB / 362.3 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.104, allocations: 111.9 kB / 362.4 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.105, allocations: 0.6002 MB / 363 MB, free: 9.121 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.1053, allocations: 122.6 kB / 363.1 MB, free: 8.992 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.704e-05/0.1054, allocations: 40.84 kB / 363.2 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.1055, allocations: 0 / 363.2 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.966e-05/0.1055, allocations: 38.56 kB / 363.2 MB, free: 8.902 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.1055, allocations: 0 / 363.2 MB, free: 8.902 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001622/0.1071, allocations: 0.8108 MB / 364 MB, free: 8.004 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.1072, allocations: 51.41 kB / 364.1 MB, free: 7.941 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.1074, allocations: 167.9 kB / 364.2 MB, free: 7.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.1074, allocations: 29.7 kB / 364.2 MB, free: 7.734 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.829e-05/0.1075, allocations: 128.3 kB / 364.4 MB, free: 7.605 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.1076, allocations: 67.09 kB / 364.4 MB, free: 7.539 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/0.1076, allocations: 0 / 364.4 MB, free: 7.539 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1077, allocations: 326.8 kB / 364.8 MB, free: 7.211 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.1078, allocations: 40.36 kB / 364.8 MB, free: 7.172 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.108, allocations: 85.97 kB / 364.9 MB, free: 7.078 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.1081, allocations: 55.98 kB / 364.9 MB, free: 7.023 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.1081, allocations: 3.953 kB / 364.9 MB, free: 7.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003764/0.1085, allocations: 204.5 kB / 365.1 MB, free: 6.812 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.1085, allocations: 15.92 kB / 365.2 MB, free: 6.797 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.1086, allocations: 4.062 kB / 365.2 MB, free: 6.793 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001624/0.1087, allocations: 40.84 kB / 365.2 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.1089, allocations: 31.92 kB / 365.2 MB, free: 6.719 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.1101, allocations: 1.425 MB / 366.7 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.435e-05/0.1102, allocations: 12.02 kB / 366.7 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.1103, allocations: 4 kB / 366.7 MB, free: 5.145 MB / 302.1 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.0001381/0.1104, allocations: 133.6 kB / 366.8 MB, free: 5.004 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.1104, allocations: 11.91 kB / 366.8 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.714e-05/0.1105, allocations: 21.25 kB / 366.8 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1105, allocations: 0 / 366.8 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.1105, allocations: 4 kB / 366.8 MB, free: 4.965 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1105, allocations: 7.938 kB / 366.8 MB, free: 4.957 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008623/0.1114, allocations: 0.5919 MB / 367.4 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.1114, allocations: 4 kB / 367.4 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.1116, allocations: 27.98 kB / 367.5 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001135/0.1117, allocations: 36.77 kB / 367.5 MB, free: 4.227 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.1117, allocations: 4 kB / 367.5 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/0.1128, allocations: 1.37 MB / 368.9 MB, free: 2.719 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1128, allocations: 0 / 368.9 MB, free: 2.719 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004872/0.1133, allocations: 346.2 kB / 369.2 MB, free: 2.363 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.414e-05/0.1133, allocations: 85.05 kB / 369.3 MB, free: 2.262 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.1134, allocations: 0 / 369.3 MB, free: 2.262 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.566e-05/0.1135, allocations: 15.94 kB / 369.3 MB, free: 2.246 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.1135, allocations: 19.92 kB / 369.3 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.1135, allocations: 8.062 kB / 369.3 MB, free: 2.219 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.939e-05/0.1136, allocations: 115.2 kB / 369.5 MB, free: 2.105 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1136, allocations: 0 / 369.5 MB, free: 2.105 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003071/0.114, allocations: 44 kB / 369.5 MB, free: 2.062 MB / 302.1 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.0007962/0.1148, allocations: 0.873 MB / 370.4 MB, free: 1.156 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004958/0.1153, allocations: 257.1 kB / 370.6 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1153, allocations: 4.188 kB / 370.6 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002473/0.1155, allocations: 194.6 kB / 370.8 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.1159, allocations: 23.89 kB / 370.8 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1607/0.2766, allocations: 1.217 MB / 372.1 MB, free: 18.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.2768, allocations: 0.7292 MB / 372.8 MB, free: 17.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.734e-05/0.2769, allocations: 20.88 kB / 372.8 MB, free: 17.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.999e-05/0.277, allocations: 51.5 kB / 372.9 MB, free: 17.98 MB / 302.1 MB Notification: Performance of SimCode: time 8.32e-07/0.277, allocations: 6.469 kB / 372.9 MB, free: 17.98 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01466/0.2917, allocations: 3.412 MB / 376.3 MB, free: 17.75 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000132/0.2918, allocations: 210.4 kB / 376.5 MB, free: 17.5 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/2.108, allocations: 4 kB / 376.5 MB, free: 17.5 MB / 302.1 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