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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008557/0.0008558, allocations: 92.48 kB / 16.95 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008798/0.0008798, allocations: 181.7 kB / 17.84 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006451/0.0006454, allocations: 15.44 kB / 280.9 MB, free: 3.633 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0968/0.09746, allocations: 47.57 MB / 328.4 MB, free: 3.988 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.00249/0.1, allocations: 1.75 MB / 330.2 MB, free: 2.227 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.1011, allocations: 0.5505 MB / 330.7 MB, free: 1.668 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001573/0.1013, allocations: 4 kB / 330.7 MB, free: 1.664 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.1014, allocations: 23.78 kB / 330.8 MB, free: 1.641 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.1016, allocations: 47.61 kB / 330.8 MB, free: 1.594 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.1018, allocations: 31.97 kB / 330.8 MB, free: 1.562 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002603/0.1021, allocations: 187.1 kB / 331 MB, free: 1.379 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.1022, allocations: 73.7 kB / 331.1 MB, free: 1.305 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.1024, allocations: 59.72 kB / 331.2 MB, free: 1.246 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.1025, allocations: 67.7 kB / 331.2 MB, free: 1.18 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.1026, allocations: 8 kB / 331.2 MB, free: 1.172 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.961e-05/0.1026, allocations: 12 kB / 331.2 MB, free: 1.16 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.359e-05/0.1026, allocations: 27.86 kB / 331.3 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.661e-05/0.1027, allocations: 53.64 kB / 331.3 MB, free: 1.074 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.1029, allocations: 163.8 kB / 331.5 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1029, allocations: 0 / 331.5 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1029, allocations: 0 / 331.5 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.1029, allocations: 4 kB / 331.5 MB, free: 0.9102 MB / 270.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.000695/0.1036, allocations: 446.5 kB / 331.9 MB, free: 436 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.1037, allocations: 12.03 kB / 331.9 MB, free: 424 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.151e-05/0.1038, allocations: 50.55 kB / 332 MB, free: 364 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.705e-05/0.1038, allocations: 19.81 kB / 332 MB, free: 344 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.1041, allocations: 222.7 kB / 332.2 MB, free: 80 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.1041, allocations: 12 kB / 332.2 MB, free: 68 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.79e-05/0.1042, allocations: 23.91 kB / 332.3 MB, free: 44 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.1045, allocations: 153.4 kB / 332.4 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.1045, allocations: 4 kB / 332.4 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.1046, allocations: 8 kB / 332.4 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.1046, allocations: 4 kB / 332.4 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002329/0.1048, allocations: 111.7 kB / 332.5 MB, free: 15.76 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009413/0.1058, allocations: 0.5889 MB / 333.1 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.106, allocations: 118.6 kB / 333.2 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.1061, allocations: 52.83 kB / 333.3 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.1062, allocations: 0 / 333.3 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.1062, allocations: 34.56 kB / 333.3 MB, free: 14.89 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.1062, allocations: 4 kB / 333.3 MB, free: 14.89 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001638/0.1079, allocations: 0.8053 MB / 334.1 MB, free: 13.99 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.1079, allocations: 51.41 kB / 334.2 MB, free: 13.93 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.1081, allocations: 162.1 kB / 334.3 MB, free: 13.76 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.1081, allocations: 29.7 kB / 334.4 MB, free: 13.72 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.502e-05/0.1082, allocations: 132.3 kB / 334.5 MB, free: 13.59 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.501e-05/0.1083, allocations: 70.94 kB / 334.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-06/0.1083, allocations: 4 kB / 334.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1084, allocations: 330.8 kB / 334.9 MB, free: 13.18 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.1085, allocations: 44.36 kB / 334.9 MB, free: 13.14 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.1087, allocations: 76.16 kB / 335 MB, free: 13.05 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.1088, allocations: 71.36 kB / 335.1 MB, free: 12.99 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1088, allocations: 0 / 335.1 MB, free: 12.99 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003724/0.1092, allocations: 198.2 kB / 335.3 MB, free: 12.79 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.1092, allocations: 11.95 kB / 335.3 MB, free: 12.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1092, allocations: 0 / 335.3 MB, free: 12.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000164/0.1094, allocations: 48.83 kB / 335.3 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.1096, allocations: 31.98 kB / 335.4 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.1108, allocations: 1.421 MB / 336.8 MB, free: 11.14 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.995e-05/0.1109, allocations: 4 kB / 336.8 MB, free: 11.13 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.1109, allocations: 8 kB / 336.8 MB, free: 11.12 MB / 286.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.0001156/0.111, allocations: 133.8 kB / 336.9 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/0.1111, allocations: 19.77 kB / 337 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.544e-05/0.1111, allocations: 21.19 kB / 337 MB, free: 10.94 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1112, allocations: 64 / 337 MB, free: 10.94 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1112, allocations: 8 kB / 337 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1112, allocations: 0 / 337 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000812/0.112, allocations: 0.5839 MB / 337.6 MB, free: 10.29 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.112, allocations: 4 kB / 337.6 MB, free: 10.28 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.1122, allocations: 31.92 kB / 337.6 MB, free: 10.25 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001097/0.1123, allocations: 32.84 kB / 337.6 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.1123, allocations: 0 / 337.6 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.1134, allocations: 1.382 MB / 339 MB, free: 8.699 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1134, allocations: 0 / 339 MB, free: 8.699 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005093/0.114, allocations: 344 kB / 339.3 MB, free: 8.344 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.924e-05/0.114, allocations: 88.95 kB / 339.4 MB, free: 8.238 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.114, allocations: 4 kB / 339.4 MB, free: 8.234 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.391e-05/0.1141, allocations: 4 kB / 339.4 MB, free: 8.23 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/0.1142, allocations: 19.97 kB / 339.5 MB, free: 8.211 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.1142, allocations: 7.938 kB / 339.5 MB, free: 8.203 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.725e-05/0.1143, allocations: 115.2 kB / 339.6 MB, free: 8.09 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1143, allocations: 4.062 kB / 339.6 MB, free: 8.086 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000296/0.1146, allocations: 48 kB / 339.6 MB, free: 8.039 MB / 286.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.0008093/0.1154, allocations: 0.8683 MB / 340.5 MB, free: 7.145 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004944/0.1159, allocations: 254.5 kB / 340.8 MB, free: 6.883 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.116, allocations: 0 / 340.8 MB, free: 6.883 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002534/0.1162, allocations: 190.8 kB / 340.9 MB, free: 6.684 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.1166, allocations: 20 kB / 341 MB, free: 6.664 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.1185, allocations: 1.242 MB / 342.2 MB, free: 5.359 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.1188, allocations: 0.7281 MB / 342.9 MB, free: 4.605 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.274e-05/0.1189, allocations: 21.53 kB / 342.9 MB, free: 4.586 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.948e-05/0.119, allocations: 47.42 kB / 343 MB, free: 4.539 MB / 286.1 MB Notification: Performance of SimCode: time 3.61e-07/0.119, allocations: 0 / 343 MB, free: 4.539 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04719/0.1662, allocations: 3.413 MB / 346.4 MB, free: 1.133 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002446/0.1665, allocations: 209.9 kB / 346.6 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/2.153, allocations: 3.938 kB / 346.6 MB, free: 0.8867 MB / 286.1 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) Environment - environmentSimulation: 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