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.001922/0.001922, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.688/1.688, allocations: 221.3 MB / 235.5 MB, free: 2.969 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.0008331/0.0008334, allocations: 91.05 kB / 286.5 MB, free: 248 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.948e-05/2.984e-05, allocations: 4 kB / 343.9 MB, free: 4.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1148, allocations: 50.41 MB / 394.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3479/0.4627, allocations: 78.51 MB / 472.8 MB, free: 8.969 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.463, allocations: 67.97 kB / 472.9 MB, free: 8.902 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00878/0.4718, allocations: 3.201 MB / 476.1 MB, free: 5.715 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4719, allocations: 0 / 476.1 MB, free: 5.715 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.4719, allocations: 7.984 kB / 476.1 MB, free: 5.707 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.0005893/0.4725, allocations: 422.8 kB / 476.5 MB, free: 5.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.4726, allocations: 16.03 kB / 476.5 MB, free: 5.234 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.2e-05/0.4726, allocations: 54.5 kB / 476.6 MB, free: 5.172 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/0.4727, allocations: 19.72 kB / 476.6 MB, free: 5.152 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.473, allocations: 216.2 kB / 476.8 MB, free: 4.902 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.473, allocations: 15.94 kB / 476.8 MB, free: 4.887 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.4731, allocations: 20 kB / 476.9 MB, free: 4.867 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.4734, allocations: 141.4 kB / 477 MB, free: 4.723 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.4734, allocations: 0 / 477 MB, free: 4.723 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.4734, allocations: 16 kB / 477 MB, free: 4.707 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.4734, allocations: 7.953 kB / 477 MB, free: 4.699 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.4736, allocations: 87.98 kB / 477.1 MB, free: 4.613 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009352/0.4746, allocations: 0.5966 MB / 477.7 MB, free: 3.957 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.4748, allocations: 114.5 kB / 477.8 MB, free: 3.836 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.691e-05/0.4749, allocations: 37.08 kB / 477.9 MB, free: 3.797 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.4749, allocations: 4 kB / 477.9 MB, free: 3.793 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.475, allocations: 38.5 kB / 477.9 MB, free: 3.746 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 3.156e-06/0.475, allocations: 4 kB / 477.9 MB, free: 3.742 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.001363/0.4763, allocations: 0.7297 MB / 478.6 MB, free: 2.922 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.4764, allocations: 63.3 kB / 478.7 MB, free: 2.848 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.4765, allocations: 137.4 kB / 478.8 MB, free: 2.707 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.4766, allocations: 33.64 kB / 478.9 MB, free: 2.668 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.43e-05/0.4766, allocations: 128.3 kB / 479 MB, free: 2.539 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.849e-05/0.4767, allocations: 67.03 kB / 479.1 MB, free: 2.473 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.837e-06/0.4767, allocations: 4 kB / 479.1 MB, free: 2.469 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4769, allocations: 326.8 kB / 479.4 MB, free: 2.141 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.35e-05/0.4769, allocations: 36.38 kB / 479.4 MB, free: 2.102 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.4771, allocations: 70.98 kB / 479.5 MB, free: 2.023 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.805e-05/0.4772, allocations: 51.22 kB / 479.5 MB, free: 1.977 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.4772, allocations: 0 / 479.5 MB, free: 1.977 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003314/0.4775, allocations: 194.1 kB / 479.7 MB, free: 1.777 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.4775, allocations: 8 kB / 479.7 MB, free: 1.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4775, allocations: 0 / 479.7 MB, free: 1.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001647/0.4777, allocations: 40.91 kB / 479.8 MB, free: 1.727 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.4779, allocations: 31.92 kB / 479.8 MB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/0.4793, allocations: 1.421 MB / 481.2 MB, free: 140 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.034e-05/0.4794, allocations: 11.98 kB / 481.2 MB, free: 128 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.4794, allocations: 4 kB / 481.2 MB, free: 124 kB / 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 0.0001303/0.4796, allocations: 124.7 kB / 481.4 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.4796, allocations: 11.91 kB / 481.4 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.795e-05/0.4797, allocations: 16.75 kB / 481.4 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.4797, allocations: 4 kB / 481.4 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.4797, allocations: 8.047 kB / 481.4 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.4797, allocations: 0 / 481.4 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007926/0.4805, allocations: 0.5685 MB / 482 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4805, allocations: 3.938 kB / 482 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.4807, allocations: 31.98 kB / 482 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001289/0.4808, allocations: 44.75 kB / 482 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.4808, allocations: 4 kB / 482 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.4819, allocations: 1.371 MB / 483.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4819, allocations: 3.984 kB / 483.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004214/0.4824, allocations: 313.5 kB / 483.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.704e-05/0.4825, allocations: 88.95 kB / 483.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.4825, allocations: 4 kB / 483.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.4826, allocations: 12.11 kB / 483.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.4826, allocations: 15.98 kB / 483.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.4827, allocations: 4 kB / 483.9 MB, free: 13.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.084e-05/0.4828, allocations: 124 kB / 484 MB, free: 13.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4828, allocations: 0 / 484 MB, free: 13.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002899/0.4831, allocations: 52 kB / 484 MB, free: 13.09 MB / 362.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.0007746/0.4838, allocations: 0.8508 MB / 484.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004366/0.4843, allocations: 240 kB / 485.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4843, allocations: 0 / 485.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.4845, allocations: 186.8 kB / 485.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.4848, allocations: 24.45 kB / 485.3 MB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008178/0.4857, allocations: 401.8 kB / 485.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.486, allocations: 0.7285 MB / 486.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.134e-05/0.486, allocations: 21.31 kB / 486.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.002e-05/0.4861, allocations: 51.41 kB / 486.5 MB, free: 10.49 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4861, allocations: 0 / 486.5 MB, free: 10.49 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02513/0.5113, allocations: 3.389 MB / 489.9 MB, free: 7.234 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003132/0.5116, allocations: 183.3 kB / 490.1 MB, free: 7.004 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/2.178, allocations: 3.938 kB / 490.1 MB, free: 7 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