Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001066/0.001066, allocations: 196.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.196/1.196, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008737/0.0008736, allocations: 92.5 kB / 292.1 MB, free: 6.004 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1773/0.1773, allocations: 45.14 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.465e-05/2.467e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09517/0.09521, allocations: 63.24 MB / 0.5114 GB, free: 6.699 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3755/0.4708, allocations: 96.33 MB / 0.6055 GB, free: 13.69 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001816/0.471, allocations: 69.97 kB / 0.6056 GB, free: 13.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08469/0.5557, allocations: 35.71 MB / 0.6405 GB, free: 14.5 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.5558, allocations: 0 / 0.6405 GB, free: 14.5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.794e-05/0.5558, allocations: 35.88 kB / 0.6405 GB, free: 14.47 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.002128/0.558, allocations: 1.678 MB / 0.6421 GB, free: 12.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.558, allocations: 15.97 kB / 0.6421 GB, free: 12.85 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004036/0.5584, allocations: 373.1 kB / 0.6425 GB, free: 12.6 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006036/0.5645, allocations: 1.658 MB / 0.6441 GB, free: 10.94 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001753/0.5662, allocations: 1.023 MB / 0.6451 GB, free: 10.07 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.289e-05/0.5663, allocations: 133.3 kB / 0.6452 GB, free: 9.984 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002784/0.5666, allocations: 167.1 kB / 0.6454 GB, free: 9.863 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005606/0.5722, allocations: 4.917 MB / 0.6502 GB, free: 5.457 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.895e-05/0.5723, allocations: 35.69 kB / 0.6502 GB, free: 5.422 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002204/0.5725, allocations: 93.64 kB / 0.6503 GB, free: 5.371 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000536/0.5731, allocations: 0.5084 MB / 0.6508 GB, free: 4.938 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0055/0.5786, allocations: 4.015 MB / 0.6547 GB, free: 2.035 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02025/0.5988, allocations: 24.67 MB / 0.6788 GB, free: 9.223 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.6002, allocations: 1.174 MB / 0.68 GB, free: 7.91 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003925/0.6006, allocations: 346.5 kB / 0.6803 GB, free: 7.562 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.6006, allocations: 4 kB / 0.6803 GB, free: 7.559 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.6007, allocations: 34.56 kB / 0.6804 GB, free: 7.516 MB / 474.7 MB Notification: Performance of pre-optimization done (n=60): time 2.665e-06/0.6007, allocations: 0 / 0.6804 GB, free: 7.516 MB / 474.7 MB Notification: Performance of matching and sorting (n=60): time 0.001078/0.6018, allocations: 0.7635 MB / 0.6811 GB, free: 6.746 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.6018, allocations: 106.8 kB / 0.6812 GB, free: 6.617 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002304/0.6041, allocations: 1.945 MB / 0.6831 GB, free: 4.625 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.6042, allocations: 29.7 kB / 0.6831 GB, free: 4.59 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.6053, allocations: 1.629 MB / 0.6847 GB, free: 2.934 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.6055, allocations: 265 kB / 0.685 GB, free: 2.672 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.6056, allocations: 63.98 kB / 0.685 GB, free: 2.609 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003074/0.6059, allocations: 0.4979 MB / 0.6855 GB, free: 2.102 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.6071, allocations: 0.8616 MB / 0.6864 GB, free: 1.238 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002638/0.6097, allocations: 3.124 MB / 0.6894 GB, free: 12.97 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001985/0.6117, allocations: 1.68 MB / 0.6911 GB, free: 11.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.068e-05/0.6118, allocations: 28 kB / 0.6911 GB, free: 11.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.006301/0.6181, allocations: 3.77 MB / 0.6948 GB, free: 7.488 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.529e-05/0.6182, allocations: 41.25 kB / 0.6948 GB, free: 7.449 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.139e-05/0.6183, allocations: 80 kB / 0.6949 GB, free: 7.371 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001134/0.6184, allocations: 120.8 kB / 0.695 GB, free: 7.254 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001924/0.6203, allocations: 0.7525 MB / 0.6957 GB, free: 6.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001312/0.6204, allocations: 159.7 kB / 0.6959 GB, free: 6.344 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002063/0.6225, allocations: 494.7 kB / 0.6964 GB, free: 5.855 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002433/0.6228, allocations: 216 kB / 0.6966 GB, free: 5.645 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 371 * 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 (410): * Single equations (assignments): 407 * 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.0003615/0.6231, allocations: 370.9 kB / 0.6969 GB, free: 5.273 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/0.6234, allocations: 169.7 kB / 0.6971 GB, free: 5.105 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003732/0.6237, allocations: 199.9 kB / 0.6973 GB, free: 4.91 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/0.6238, allocations: 12 kB / 0.6973 GB, free: 4.898 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.6238, allocations: 0 / 0.6973 GB, free: 4.898 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.6238, allocations: 3.984 kB / 0.6973 GB, free: 4.895 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003097/0.6269, allocations: 2.012 MB / 0.6992 GB, free: 2.816 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.6269, allocations: 0 / 0.6992 GB, free: 2.816 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.6272, allocations: 63.89 kB / 0.6993 GB, free: 2.754 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/0.6272, allocations: 4 kB / 0.6993 GB, free: 2.75 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/0.6272, allocations: 8 kB / 0.6993 GB, free: 2.742 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.6272, allocations: 7.984 kB / 0.6993 GB, free: 2.734 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6272, allocations: 0 / 0.6993 GB, free: 2.734 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.6283, allocations: 1.055 MB / 0.7004 GB, free: 1.637 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/0.6286, allocations: 246.6 kB / 0.7006 GB, free: 1.375 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.6287, allocations: 15.95 kB / 0.7006 GB, free: 1.359 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004622/0.6292, allocations: 23.97 kB / 0.7006 GB, free: 1.336 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.6292, allocations: 23.95 kB / 0.7007 GB, free: 1.312 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.65e-05/0.6293, allocations: 20 kB / 0.7007 GB, free: 1.293 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001717/0.631, allocations: 1.341 MB / 0.702 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.631, allocations: 0 / 0.702 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002021/0.633, allocations: 0.491 MB / 0.7025 GB, free: 15.43 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.001573/0.6346, allocations: 1.806 MB / 0.7042 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002798/0.6374, allocations: 1.995 MB / 0.7062 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.6374, allocations: 8 kB / 0.7062 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003641/0.6378, allocations: 335.6 kB / 0.7065 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006906/0.6385, allocations: 160.8 kB / 0.7067 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00632/0.6448, allocations: 3.633 MB / 0.7102 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001627/0.6465, allocations: 1.822 MB / 0.712 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002425/0.6489, allocations: 1.117 MB / 0.7131 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008514/0.6498, allocations: 0.7258 MB / 0.7138 GB, free: 3.719 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/0.6498, allocations: 0 / 0.7138 GB, free: 3.719 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05432/0.7041, allocations: 32.64 MB / 0.7457 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/0.7043, allocations: 160.4 kB / 0.7458 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.484/3.189, allocations: 0 / 0.7458 GB, free: 3.066 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat does not exist to compare? outputFormat=mat