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.001098/0.001098, allocations: 95.09 kB / 16.93 MB, free: 5.98 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.001427/0.001428, allocations: 181 kB / 17.82 MB, free: 5.652 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.497/1.497, 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.0004747/0.0004749, allocations: 12 kB / 280.8 MB, free: 3.645 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09726/0.09774, allocations: 47.58 MB / 328.4 MB, free: 4 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002537/0.1003, allocations: 1.674 MB / 330.1 MB, free: 2.316 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008512/0.1012, allocations: 0.5585 MB / 330.7 MB, free: 1.75 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.1013, allocations: 7.938 kB / 330.7 MB, free: 1.742 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.01e-05/0.1014, allocations: 15.84 kB / 330.7 MB, free: 1.727 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.1016, allocations: 63.8 kB / 330.7 MB, free: 1.664 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.1018, allocations: 47.88 kB / 330.8 MB, free: 1.617 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.102, allocations: 135.7 kB / 330.9 MB, free: 1.484 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.1022, allocations: 65.77 kB / 331 MB, free: 1.418 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.461e-05/0.1023, allocations: 59.78 kB / 331 MB, free: 1.359 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.1024, allocations: 71.69 kB / 331.1 MB, free: 1.289 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.1024, allocations: 8 kB / 331.1 MB, free: 1.281 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.55e-05/0.1024, allocations: 12 kB / 331.1 MB, free: 1.27 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.083e-05/0.1025, allocations: 31.84 kB / 331.2 MB, free: 1.238 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.292e-05/0.1025, allocations: 53.64 kB / 331.2 MB, free: 1.18 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.1027, allocations: 151.8 kB / 331.4 MB, free: 1.031 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1027, allocations: 0 / 331.4 MB, free: 1.031 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1027, allocations: 0 / 331.4 MB, free: 1.031 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1028, allocations: 4 kB / 331.4 MB, free: 1.027 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.0006309/0.1034, allocations: 454.5 kB / 331.8 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.1035, allocations: 8.031 kB / 331.8 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.119e-05/0.1035, allocations: 58.55 kB / 331.9 MB, free: 472 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.324e-05/0.1036, allocations: 15.81 kB / 331.9 MB, free: 456 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.1038, allocations: 222.6 kB / 332.1 MB, free: 192 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.1039, allocations: 16 kB / 332.1 MB, free: 176 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.915e-05/0.1039, allocations: 19.91 kB / 332.1 MB, free: 156 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.1042, allocations: 153.4 kB / 332.3 MB, free: 16 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1043, allocations: 0 / 332.3 MB, free: 16 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.1043, allocations: 8 kB / 332.3 MB, free: 15.99 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1043, allocations: 4 kB / 332.3 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002255/0.1045, allocations: 107.7 kB / 332.4 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008602/0.1054, allocations: 0.5888 MB / 333 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.1056, allocations: 118.6 kB / 333.1 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.1057, allocations: 7.922 kB / 333.1 MB, free: 15.1 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.1057, allocations: 42.5 kB / 333.2 MB, free: 15.05 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.1057, allocations: 0 / 333.2 MB, free: 15.05 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001541/0.1073, allocations: 0.8013 MB / 334 MB, free: 14.15 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.1073, allocations: 59.34 kB / 334 MB, free: 14.08 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.1075, allocations: 162.2 kB / 334.2 MB, free: 13.91 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.1075, allocations: 29.7 kB / 334.2 MB, free: 13.88 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.084e-05/0.1076, allocations: 128.3 kB / 334.3 MB, free: 13.75 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.815e-05/0.1076, allocations: 67 kB / 334.4 MB, free: 13.68 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-06/0.1077, allocations: 0 / 334.4 MB, free: 13.68 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1078, allocations: 334.8 kB / 334.7 MB, free: 13.35 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.1079, allocations: 44.36 kB / 334.8 MB, free: 13.3 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.108, allocations: 76.16 kB / 334.9 MB, free: 13.22 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.1081, allocations: 63.62 kB / 334.9 MB, free: 13.16 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1082, allocations: 0 / 334.9 MB, free: 13.16 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003674/0.1085, allocations: 206.1 kB / 335.1 MB, free: 12.95 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.1086, allocations: 15.94 kB / 335.1 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1086, allocations: 0 / 335.1 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001568/0.1087, allocations: 36.84 kB / 335.2 MB, free: 12.89 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.1089, allocations: 31.92 kB / 335.2 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.1101, allocations: 1.437 MB / 336.6 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.509e-05/0.1102, allocations: 8.094 kB / 336.6 MB, free: 11.29 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.1103, allocations: 8 kB / 336.6 MB, free: 11.28 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.0001257/0.1104, allocations: 129.8 kB / 336.8 MB, free: 11.14 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.1104, allocations: 15.77 kB / 336.8 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.579e-05/0.1105, allocations: 25.17 kB / 336.8 MB, free: 11.1 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1105, allocations: 4 kB / 336.8 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1105, allocations: 0 / 336.8 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.1105, allocations: 0 / 336.8 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007771/0.1113, allocations: 0.5878 MB / 337.4 MB, free: 10.44 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1113, allocations: 0 / 337.4 MB, free: 10.44 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.1115, allocations: 31.92 kB / 337.4 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001061/0.1116, allocations: 40.83 kB / 337.5 MB, free: 10.37 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.1116, allocations: 4 kB / 337.5 MB, free: 10.36 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/0.1127, allocations: 1.39 MB / 338.9 MB, free: 8.84 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1127, allocations: 0 / 338.9 MB, free: 8.84 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004758/0.1131, allocations: 340 kB / 339.2 MB, free: 8.488 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.1132, allocations: 97.06 kB / 339.3 MB, free: 8.375 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.1132, allocations: 4 kB / 339.3 MB, free: 8.371 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.711e-05/0.1133, allocations: 4 kB / 339.3 MB, free: 8.367 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/0.1134, allocations: 15.98 kB / 339.3 MB, free: 8.352 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.1134, allocations: 0 / 339.3 MB, free: 8.352 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.913e-05/0.1135, allocations: 123.2 kB / 339.4 MB, free: 8.23 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1135, allocations: 0 / 339.4 MB, free: 8.23 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.1138, allocations: 44 kB / 339.5 MB, free: 8.188 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.0007695/0.1146, allocations: 0.8763 MB / 340.4 MB, free: 7.285 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004413/0.115, allocations: 258.5 kB / 340.6 MB, free: 7.02 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.115, allocations: 0 / 340.6 MB, free: 7.02 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002484/0.1153, allocations: 186.6 kB / 340.8 MB, free: 6.824 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.1156, allocations: 28.06 kB / 340.8 MB, free: 6.797 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.1175, allocations: 1.675 MB / 342.5 MB, free: 5.055 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.1179, allocations: 0.732 MB / 343.2 MB, free: 4.297 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.936e-05/0.1179, allocations: 21.53 kB / 343.3 MB, free: 4.277 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.95e-05/0.118, allocations: 55.41 kB / 343.3 MB, free: 4.223 MB / 286.1 MB Notification: Performance of SimCode: time 2.6e-07/0.118, allocations: 0 / 343.3 MB, free: 4.223 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01467/0.1327, allocations: 3.397 MB / 346.7 MB, free: 0.832 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/0.133, allocations: 200.8 kB / 346.9 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/1.89, allocations: 0 / 346.9 MB, free: 0.5938 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