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.00145/0.001451, allocations: 99.45 kB / 16.99 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002253/0.002253, allocations: 203.9 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002372/0.0002373, allocations: 8 kB / 306.7 MB, free: 1.242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.105, allocations: 51.5 MB / 358.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.001985/0.107, allocations: 1.693 MB / 359.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007753/0.1078, allocations: 0.5575 MB / 360.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.697e-05/0.1079, allocations: 7.938 kB / 360.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.093e-05/0.108, allocations: 15.84 kB / 360.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.1081, allocations: 67.78 kB / 360.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001491/0.1083, allocations: 35.97 kB / 360.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.1085, allocations: 139.7 kB / 360.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.1086, allocations: 61.77 kB / 360.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.23e-05/0.1087, allocations: 55.8 kB / 360.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.1088, allocations: 75.67 kB / 360.9 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.1088, allocations: 11.94 kB / 360.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.544e-05/0.1089, allocations: 12 kB / 360.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.607e-05/0.1089, allocations: 23.86 kB / 360.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.122e-05/0.109, allocations: 61.64 kB / 361 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.1091, allocations: 155.8 kB / 361.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.1091, allocations: 0 / 361.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1091, allocations: 0 / 361.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.1091, allocations: 0 / 361.2 MB, free: 10.77 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.0005271/0.1097, allocations: 446.7 kB / 361.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.1097, allocations: 12.03 kB / 361.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.693e-05/0.1097, allocations: 50.55 kB / 361.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.1098, allocations: 19.8 kB / 361.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.11, allocations: 210.8 kB / 361.9 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.11, allocations: 23.98 kB / 361.9 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.11, allocations: 19.95 kB / 361.9 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.1103, allocations: 149.4 kB / 362.1 MB, free: 9.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.1103, allocations: 0 / 362.1 MB, free: 9.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.1104, allocations: 8 kB / 362.1 MB, free: 9.742 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1104, allocations: 8 kB / 362.1 MB, free: 9.734 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002142/0.1106, allocations: 103.9 kB / 362.2 MB, free: 9.633 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007886/0.1114, allocations: 0.608 MB / 362.8 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.1116, allocations: 110.6 kB / 362.9 MB, free: 8.852 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.1116, allocations: 0 / 362.9 MB, free: 8.852 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.1117, allocations: 42.56 kB / 362.9 MB, free: 8.801 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 9.62e-07/0.1117, allocations: 0 / 362.9 MB, free: 8.801 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001339/0.113, allocations: 0.8117 MB / 363.8 MB, free: 7.898 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.1131, allocations: 51.41 kB / 363.8 MB, free: 7.836 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.1132, allocations: 163.9 kB / 364 MB, free: 7.668 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.1132, allocations: 25.7 kB / 364 MB, free: 7.637 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.508e-05/0.1133, allocations: 132.3 kB / 364.1 MB, free: 7.504 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/0.1133, allocations: 63.05 kB / 364.2 MB, free: 7.441 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-06/0.1133, allocations: 8 kB / 364.2 MB, free: 7.434 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1135, allocations: 326.8 kB / 364.5 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.454e-05/0.1136, allocations: 44.34 kB / 364.6 MB, free: 7.062 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.1137, allocations: 73.28 kB / 364.6 MB, free: 6.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.1138, allocations: 65.91 kB / 364.7 MB, free: 6.918 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1138, allocations: 3.938 kB / 364.7 MB, free: 6.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003443/0.1142, allocations: 206.1 kB / 364.9 MB, free: 6.703 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1142, allocations: 8 kB / 364.9 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1142, allocations: 0 / 364.9 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001525/0.1144, allocations: 48.83 kB / 365 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.1145, allocations: 27.98 kB / 365 MB, free: 6.617 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/0.1156, allocations: 1.437 MB / 366.4 MB, free: 5.047 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.387e-05/0.1157, allocations: 11.98 kB / 366.4 MB, free: 5.035 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.1157, allocations: 8 kB / 366.4 MB, free: 5.027 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.0001033/0.1158, allocations: 140 kB / 366.6 MB, free: 4.883 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.1158, allocations: 7.906 kB / 366.6 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.884e-05/0.1159, allocations: 25.23 kB / 366.6 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.1159, allocations: 4 kB / 366.6 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/0.1159, allocations: 0 / 366.6 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1159, allocations: 0 / 366.6 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007145/0.1166, allocations: 0.5878 MB / 367.2 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.1166, allocations: 0 / 367.2 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.1168, allocations: 35.91 kB / 367.2 MB, free: 4.152 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001035/0.1169, allocations: 32.88 kB / 367.3 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.1169, allocations: 8 kB / 367.3 MB, free: 4.109 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000904/0.1178, allocations: 1.382 MB / 368.7 MB, free: 2.594 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1178, allocations: 0 / 368.7 MB, free: 2.594 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004442/0.1183, allocations: 346.5 kB / 369 MB, free: 2.238 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.925e-05/0.1183, allocations: 89.05 kB / 369.1 MB, free: 2.133 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.1184, allocations: 0 / 369.1 MB, free: 2.133 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.839e-05/0.1185, allocations: 8 kB / 369.1 MB, free: 2.125 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.1185, allocations: 19.92 kB / 369.1 MB, free: 2.105 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.1185, allocations: 4 kB / 369.1 MB, free: 2.102 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.473e-05/0.1186, allocations: 123.3 kB / 369.2 MB, free: 1.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1186, allocations: 0 / 369.2 MB, free: 1.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.1189, allocations: 40 kB / 369.3 MB, free: 1.941 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.0006686/0.1196, allocations: 0.8731 MB / 370.1 MB, free: 1.035 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004146/0.12, allocations: 261.1 kB / 370.4 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.12, allocations: 4.125 kB / 370.4 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.1203, allocations: 194.6 kB / 370.6 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.1205, allocations: 16.28 kB / 370.6 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1496/0.2701, allocations: 1.662 MB / 372.3 MB, free: 18.49 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.2703, allocations: 0.7349 MB / 373 MB, free: 17.79 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.755e-05/0.2704, allocations: 18.64 kB / 373 MB, free: 17.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.26e-05/0.2705, allocations: 49.3 kB / 373.1 MB, free: 17.79 MB / 302.1 MB Notification: Performance of SimCode: time 1.052e-06/0.2705, allocations: 0 / 373.1 MB, free: 17.79 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01373/0.2842, allocations: 3.407 MB / 376.5 MB, free: 17.55 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001346/0.2844, allocations: 203.5 kB / 376.7 MB, free: 17.3 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/2.024, allocations: 5.5 kB / 376.7 MB, free: 17.3 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