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.0009791/0.000979, allocations: 179.6 kB / 14.15 MB, free: 1.176 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.461/1.461, allocations: 221.4 MB / 236 MB, free: 2.965 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.001094/0.001094, allocations: 91.55 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.219/0.219, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.055e-05/3.058e-05, allocations: 224 / 451.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1541, allocations: 61.93 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.471/0.6251, allocations: 95.24 MB / 0.5948 GB, free: 10 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.6254, allocations: 75.97 kB / 0.5949 GB, free: 9.926 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0932/0.7187, allocations: 35.67 MB / 0.6297 GB, free: 5.906 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.34e-06/0.7187, allocations: 3.984 kB / 0.6297 GB, free: 5.902 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.659e-05/0.7188, allocations: 31.94 kB / 0.6297 GB, free: 5.871 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.003094/0.7219, allocations: 1.673 MB / 0.6314 GB, free: 4.148 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.7219, allocations: 8.031 kB / 0.6314 GB, free: 4.141 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005982/0.7225, allocations: 379.9 kB / 0.6317 GB, free: 3.762 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006615/0.7292, allocations: 1.648 MB / 0.6334 GB, free: 2.109 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002952/0.7322, allocations: 1.04 MB / 0.6344 GB, free: 1.023 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/0.7323, allocations: 131.4 kB / 0.6345 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006295/0.733, allocations: 171.9 kB / 0.6347 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008197/0.7412, allocations: 4.908 MB / 0.6395 GB, free: 11.17 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-05/0.7413, allocations: 35.67 kB / 0.6395 GB, free: 11.13 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003227/0.7417, allocations: 95.92 kB / 0.6396 GB, free: 11.04 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000698/0.7424, allocations: 0.514 MB / 0.6401 GB, free: 10.52 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008596/0.751, allocations: 4.015 MB / 0.644 GB, free: 6.504 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02871/0.7798, allocations: 24.67 MB / 0.6681 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.7814, allocations: 1.176 MB / 0.6692 GB, free: 11.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004549/0.7819, allocations: 349.2 kB / 0.6696 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.7819, allocations: 4 kB / 0.6696 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.7819, allocations: 42.5 kB / 0.6696 GB, free: 11.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=60): time 3.717e-06/0.7819, allocations: 0 / 0.6696 GB, free: 11.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=60): time 0.001384/0.7833, allocations: 0.7584 MB / 0.6704 GB, free: 10.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/0.7834, allocations: 106.8 kB / 0.6705 GB, free: 10.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003125/0.7866, allocations: 1.945 MB / 0.6724 GB, free: 8.312 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.988e-05/0.7867, allocations: 29.7 kB / 0.6724 GB, free: 8.277 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001265/0.7879, allocations: 1.621 MB / 0.674 GB, free: 6.629 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003141/0.7883, allocations: 264.9 kB / 0.6742 GB, free: 6.367 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.7884, allocations: 71.98 kB / 0.6743 GB, free: 6.297 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003761/0.7888, allocations: 0.494 MB / 0.6748 GB, free: 5.793 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/0.7903, allocations: 0.8655 MB / 0.6756 GB, free: 4.926 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003141/0.7934, allocations: 3.12 MB / 0.6787 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002648/0.7961, allocations: 1.682 MB / 0.6803 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-05/0.7962, allocations: 24 kB / 0.6803 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=434) (initialization): time 0.006685/0.8029, allocations: 3.767 MB / 0.684 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.212e-05/0.803, allocations: 43.95 kB / 0.6841 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.844e-05/0.8031, allocations: 80.84 kB / 0.6841 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001236/0.8032, allocations: 116 kB / 0.6842 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00212/0.8053, allocations: 0.7563 MB / 0.685 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001276/0.8055, allocations: 163.4 kB / 0.6851 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/0.8077, allocations: 498.7 kB / 0.6856 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003423/0.808, allocations: 212 kB / 0.6858 GB, free: 9.34 MB / 0.4948 GB 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.0004041/0.8085, allocations: 359 kB / 0.6862 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/0.8087, allocations: 169.8 kB / 0.6863 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003931/0.8091, allocations: 208.1 kB / 0.6865 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/0.8092, allocations: 8 kB / 0.6865 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.8092, allocations: 0 / 0.6865 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.8092, allocations: 15.91 kB / 0.6865 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003529/0.8127, allocations: 2.015 MB / 0.6885 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.8128, allocations: 0 / 0.6885 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000288/0.813, allocations: 63.95 kB / 0.6886 GB, free: 6.438 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.8131, allocations: 3.938 kB / 0.6886 GB, free: 6.434 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.8131, allocations: 12 kB / 0.6886 GB, free: 6.422 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.8131, allocations: 4 kB / 0.6886 GB, free: 6.418 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8131, allocations: 0 / 0.6886 GB, free: 6.418 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.8142, allocations: 1.055 MB / 0.6896 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003597/0.8146, allocations: 242.7 kB / 0.6899 GB, free: 5.066 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.8147, allocations: 7.984 kB / 0.6899 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004941/0.8152, allocations: 27.97 kB / 0.6899 GB, free: 5.031 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.8153, allocations: 27.88 kB / 0.6899 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.29e-05/0.8153, allocations: 19.97 kB / 0.6899 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001859/0.8172, allocations: 1.333 MB / 0.6912 GB, free: 3.621 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.673e-06/0.8172, allocations: 4 kB / 0.6912 GB, free: 3.617 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002252/0.8195, allocations: 0.4988 MB / 0.6917 GB, free: 3.117 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.00158/0.8211, allocations: 1.787 MB / 0.6935 GB, free: 1.289 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003122/0.8242, allocations: 2.004 MB / 0.6954 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.8242, allocations: 0 / 0.6954 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004089/0.8246, allocations: 336.5 kB / 0.6957 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000903/0.8256, allocations: 147.3 kB / 0.6959 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007679/0.8332, allocations: 3.629 MB / 0.6994 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001634/0.8349, allocations: 1.825 MB / 0.7012 GB, free: 9.273 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002674/0.8376, allocations: 1.113 MB / 0.7023 GB, free: 8.156 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/0.8387, allocations: 0.7336 MB / 0.703 GB, free: 7.422 MB / 0.5105 GB Notification: Performance of SimCode: time 3.316e-06/0.8388, allocations: 0 / 0.703 GB, free: 7.422 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3709/1.21, allocations: 32.65 MB / 0.7349 GB, free: 156.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/1.21, allocations: 160.7 kB / 0.7351 GB, free: 156.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.192/4.402, allocations: 0 / 0.7351 GB, free: 156.1 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