Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 221.5 MB / 230.3 MB, free: 7.527 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009409/0.0009409, allocations: 88.86 kB / 281.2 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.266e-05/2.268e-05, allocations: 4 kB / 337.1 MB, free: 9.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.106, allocations: 50.41 MB / 387.5 MB, free: 7.473 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3223/0.4284, allocations: 77.84 MB / 465.4 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/0.4286, allocations: 68.72 kB / 465.5 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008211/0.4368, allocations: 3.176 MB / 468.6 MB, free: 13.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4369, allocations: 4 kB / 468.6 MB, free: 13.65 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.4369, allocations: 4 kB / 468.6 MB, free: 13.65 MB / 346.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.0005117/0.4374, allocations: 430.8 kB / 469.1 MB, free: 13.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.4375, allocations: 15.97 kB / 469.1 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.99e-05/0.4375, allocations: 23.67 kB / 469.1 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.4377, allocations: 216 kB / 469.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.4378, allocations: 8 kB / 469.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.133e-05/0.4378, allocations: 12 kB / 469.3 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000181/0.438, allocations: 79.98 kB / 469.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.4382, allocations: 117.4 kB / 469.5 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.4383, allocations: 3.984 kB / 469.5 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.4383, allocations: 7.891 kB / 469.5 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.4383, allocations: 4 kB / 469.5 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008618/0.4392, allocations: 0.5465 MB / 470.1 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.4393, allocations: 98.59 kB / 470.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.311e-05/0.4394, allocations: 36.86 kB / 470.2 MB, free: 11.92 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.4394, allocations: 4.219 kB / 470.2 MB, free: 11.92 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.4395, allocations: 34.52 kB / 470.3 MB, free: 11.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.4395, allocations: 3.938 kB / 470.3 MB, free: 11.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.001273/0.4408, allocations: 0.6869 MB / 470.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.4408, allocations: 63.36 kB / 471 MB, free: 11.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.4409, allocations: 122.3 kB / 471.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.441, allocations: 25.7 kB / 471.1 MB, free: 10.86 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.251e-05/0.4411, allocations: 132.2 kB / 471.3 MB, free: 10.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.758e-05/0.4411, allocations: 67.03 kB / 471.3 MB, free: 10.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.4411, allocations: 0 / 471.3 MB, free: 10.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4413, allocations: 326.8 kB / 471.7 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.33e-05/0.4413, allocations: 36.38 kB / 471.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.485e-05/0.4414, allocations: 60 kB / 471.8 MB, free: 10.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.866e-05/0.4415, allocations: 43.97 kB / 471.8 MB, free: 10.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4415, allocations: 0 / 471.8 MB, free: 10.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003095/0.4418, allocations: 182.7 kB / 472 MB, free: 9.996 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.4419, allocations: 4 kB / 472 MB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4419, allocations: 0 / 472 MB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000165/0.4421, allocations: 40.83 kB / 472 MB, free: 9.949 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.4422, allocations: 31.98 kB / 472.1 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/0.4434, allocations: 1.37 MB / 473.4 MB, free: 8.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.625e-05/0.4435, allocations: 0 / 473.4 MB, free: 8.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.4436, allocations: 12 kB / 473.4 MB, free: 8.418 MB / 346.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 8.851e-05/0.4436, allocations: 109 kB / 473.5 MB, free: 8.305 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002836/0.4439, allocations: 151.8 kB / 473.7 MB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.444, allocations: 15.81 kB / 473.7 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.295e-05/0.444, allocations: 16.73 kB / 473.7 MB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.444, allocations: 7.938 kB / 473.7 MB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4441, allocations: 3.953 kB / 473.7 MB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4441, allocations: 3.938 kB / 473.7 MB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006668/0.4447, allocations: 0.5183 MB / 474.3 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.4447, allocations: 4 kB / 474.3 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.4449, allocations: 27.98 kB / 474.3 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001145/0.445, allocations: 36.78 kB / 474.3 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.445, allocations: 4 kB / 474.3 MB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009722/0.446, allocations: 1.316 MB / 475.6 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.446, allocations: 0 / 475.6 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/0.4464, allocations: 309.7 kB / 475.9 MB, free: 5.703 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.026e-05/0.4465, allocations: 88.95 kB / 476 MB, free: 5.598 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.4465, allocations: 0 / 476 MB, free: 5.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.467e-05/0.4466, allocations: 4 kB / 476 MB, free: 5.594 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.4467, allocations: 15.92 kB / 476.1 MB, free: 5.578 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.4467, allocations: 8.062 kB / 476.1 MB, free: 5.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.941e-05/0.4467, allocations: 105.8 kB / 476.2 MB, free: 5.469 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4468, allocations: 0 / 476.2 MB, free: 5.469 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003027/0.4471, allocations: 36 kB / 476.2 MB, free: 5.434 MB / 346.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.0006593/0.4477, allocations: 0.8435 MB / 477 MB, free: 4.559 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000371/0.4481, allocations: 211.6 kB / 477.2 MB, free: 4.344 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4481, allocations: 0 / 477.2 MB, free: 4.344 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.4483, allocations: 181.5 kB / 477.4 MB, free: 4.156 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.4486, allocations: 15.98 kB / 477.4 MB, free: 4.141 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000791/0.4494, allocations: 387.4 kB / 477.8 MB, free: 3.727 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.4497, allocations: 0.7397 MB / 478.6 MB, free: 2.961 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.656e-05/0.4498, allocations: 5.219 kB / 478.6 MB, free: 2.957 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.67e-05/0.4499, allocations: 59.41 kB / 478.6 MB, free: 2.898 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4499, allocations: 0 / 478.6 MB, free: 2.898 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.4698, allocations: 2.806 MB / 481.4 MB, free: 116 kB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/0.4701, allocations: 142.1 kB / 481.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.538/2.008, allocations: 0 / 481.6 MB, free: 15.92 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat does not exist to compare? outputFormat=mat