Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",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.001472/0.001472, allocations: 173 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 221.5 MB / 230.7 MB, free: 7.582 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.000922/0.0009222, allocations: 100.2 kB / 281.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.211/0.211, allocations: 44.14 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.682e-05/1.683e-05, allocations: 224 / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1206, allocations: 61.92 MB / 0.4948 GB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4219/0.5426, allocations: 94.58 MB / 0.5871 GB, free: 1.777 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.5429, allocations: 79.95 kB / 0.5872 GB, free: 1.699 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08875/0.6317, allocations: 35.02 MB / 0.6214 GB, free: 14.34 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6317, allocations: 0 / 0.6214 GB, free: 14.34 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.14e-05/0.6318, allocations: 32 kB / 0.6214 GB, free: 14.3 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 706 * Number of variables: 706 Notification: Performance of Generate backend data structure: time 0.003249/0.635, allocations: 1.675 MB / 0.6231 GB, free: 12.58 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.374e-05/0.6351, allocations: 15.98 kB / 0.6231 GB, free: 12.56 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00742/0.6425, allocations: 1.647 MB / 0.6247 GB, free: 10.91 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002619/0.6452, allocations: 1.033 MB / 0.6257 GB, free: 9.832 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.253e-05/0.6453, allocations: 56 kB / 0.6257 GB, free: 9.777 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003713/0.6457, allocations: 96 kB / 0.6258 GB, free: 9.684 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004421/0.6501, allocations: 2.785 MB / 0.6286 GB, free: 6.891 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006794/0.6569, allocations: 4.66 MB / 0.6331 GB, free: 1.586 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.1e-05/0.657, allocations: 31.69 kB / 0.6331 GB, free: 1.555 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00021/0.6573, allocations: 24 kB / 0.6332 GB, free: 1.531 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006534/0.6579, allocations: 0.514 MB / 0.6337 GB, free: 1.02 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02193/0.6799, allocations: 23.55 MB / 0.6567 GB, free: 8.66 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.6813, allocations: 1.155 MB / 0.6578 GB, free: 7.367 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004214/0.6817, allocations: 330.5 kB / 0.6581 GB, free: 7.035 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.6818, allocations: 7.938 kB / 0.6581 GB, free: 7.027 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.6818, allocations: 50.45 kB / 0.6582 GB, free: 6.969 MB / 474.7 MB Notification: Performance of pre-optimization done (n=60): time 4.709e-06/0.6818, allocations: 0 / 0.6582 GB, free: 6.969 MB / 474.7 MB Notification: Performance of matching and sorting (n=60): time 0.001218/0.6831, allocations: 0.7227 MB / 0.6589 GB, free: 6.242 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.6831, allocations: 106.8 kB / 0.659 GB, free: 6.113 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002338/0.6855, allocations: 1.707 MB / 0.6606 GB, free: 4.406 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.566e-05/0.6855, allocations: 25.7 kB / 0.6607 GB, free: 4.375 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001209/0.6868, allocations: 1.671 MB / 0.6623 GB, free: 2.676 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002361/0.687, allocations: 261 kB / 0.6625 GB, free: 2.418 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.593e-05/0.6871, allocations: 4 kB / 0.6625 GB, free: 2.414 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002819/0.6874, allocations: 490.4 kB / 0.663 GB, free: 1.926 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.6885, allocations: 0.8385 MB / 0.6638 GB, free: 1.086 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003102/0.6916, allocations: 3.203 MB / 0.667 GB, free: 12.68 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00242/0.6941, allocations: 1.678 MB / 0.6686 GB, free: 11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.176e-05/0.6941, allocations: 28 kB / 0.6686 GB, free: 10.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=455) (initialization): time 0.005585/0.6997, allocations: 3.409 MB / 0.672 GB, free: 7.562 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.907e-05/0.6998, allocations: 46.19 kB / 0.672 GB, free: 7.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.434e-05/0.6999, allocations: 88 kB / 0.6721 GB, free: 7.434 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001395/0.7001, allocations: 128 kB / 0.6722 GB, free: 7.309 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002213/0.7023, allocations: 0.7992 MB / 0.673 GB, free: 6.508 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001557/0.7024, allocations: 167.4 kB / 0.6731 GB, free: 6.344 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002766/0.7052, allocations: 426.8 kB / 0.6736 GB, free: 5.922 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002885/0.7055, allocations: 224 kB / 0.6738 GB, free: 5.703 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 392 * Number of states: 0 () * Number of discrete variables: 12 (world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (431): * Single equations (assignments): 428 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004587/0.706, allocations: 310.6 kB / 0.6741 GB, free: 5.391 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00137/0.7074, allocations: 0.7202 MB / 0.6748 GB, free: 4.664 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/0.7076, allocations: 161.9 kB / 0.6749 GB, free: 4.504 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003951/0.708, allocations: 182.6 kB / 0.6751 GB, free: 4.324 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.34e-05/0.708, allocations: 8 kB / 0.6751 GB, free: 4.316 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.7081, allocations: 0 / 0.6751 GB, free: 4.316 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.7081, allocations: 3.984 kB / 0.6751 GB, free: 4.312 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003113/0.7112, allocations: 1.644 MB / 0.6767 GB, free: 2.625 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.7112, allocations: 0 / 0.6767 GB, free: 2.625 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003025/0.7115, allocations: 67.95 kB / 0.6768 GB, free: 2.559 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.7115, allocations: 480 / 0.6768 GB, free: 2.559 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/0.7116, allocations: 4 kB / 0.6768 GB, free: 2.555 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.7116, allocations: 7.938 kB / 0.6768 GB, free: 2.547 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.7116, allocations: 0 / 0.6768 GB, free: 2.547 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.7126, allocations: 1.021 MB / 0.6778 GB, free: 1.492 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003491/0.713, allocations: 222.8 kB / 0.678 GB, free: 1.254 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.7131, allocations: 3.984 kB / 0.678 GB, free: 1.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004504/0.7136, allocations: 19.97 kB / 0.678 GB, free: 1.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.7136, allocations: 27.91 kB / 0.6781 GB, free: 1.203 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.855e-05/0.7137, allocations: 23.94 kB / 0.6781 GB, free: 1.18 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001482/0.7152, allocations: 1.122 MB / 0.6792 GB, free: 68 kB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7152, allocations: 4 kB / 0.6792 GB, free: 64 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.002506/0.7177, allocations: 466.5 kB / 0.6796 GB, free: 15.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 33 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001644/0.7194, allocations: 1.736 MB / 0.6813 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003369/0.7227, allocations: 1.905 MB / 0.6832 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.7228, allocations: 0 / 0.6832 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003915/0.7232, allocations: 321.1 kB / 0.6835 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000817/0.724, allocations: 154.7 kB / 0.6836 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007689/0.7317, allocations: 3.523 MB / 0.6871 GB, free: 7.895 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001729/0.7335, allocations: 1.825 MB / 0.6889 GB, free: 6.039 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003077/0.7366, allocations: 1.152 MB / 0.69 GB, free: 4.883 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001214/0.7378, allocations: 0.7297 MB / 0.6907 GB, free: 4.152 MB / 0.4948 GB Notification: Performance of SimCode: time 1.473e-06/0.7378, allocations: 0 / 0.6907 GB, free: 4.152 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3504/1.088, allocations: 30.42 MB / 0.7204 GB, free: 160.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001706/1.089, allocations: 147.7 kB / 0.7205 GB, free: 160 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.873/3.961, allocations: 0.5312 kB / 0.7205 GB, free: 160 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_VoluminousWheel_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_VoluminousWheel.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat does not exist to compare? outputFormat=mat