Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002287/0.00227, allocations: 178.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 85.3 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2968/0.2968, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.936e-05/1.958e-05, allocations: 4 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3951, allocations: 58.84 MB / 477.2 MB, free: 5.293 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1753/0.5705, allocations: 93.19 MB / 0.557 GB, free: 6.09 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/0.5708, allocations: 83.45 kB / 0.5571 GB, free: 6.012 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1458/0.7167, allocations: 34.4 MB / 0.5907 GB, free: 3.25 MB / 427.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.7167, allocations: 0 / 0.5907 GB, free: 3.25 MB / 427.1 MB Notification: Performance of Transformations before backend: time 8.86e-05/0.7168, allocations: 32 kB / 0.5907 GB, free: 3.219 MB / 427.1 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.004975/0.7218, allocations: 1.664 MB / 0.5923 GB, free: 1.504 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.7219, allocations: 11.97 kB / 0.5923 GB, free: 1.492 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01268/0.7346, allocations: 1.651 MB / 0.5939 GB, free: 15.83 MB / 443.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003883/0.7386, allocations: 1.032 MB / 0.5949 GB, free: 14.76 MB / 443.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.7387, allocations: 63.94 kB / 0.595 GB, free: 14.7 MB / 443.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008921/0.7396, allocations: 96 kB / 0.5951 GB, free: 14.61 MB / 443.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007471/0.7471, allocations: 2.785 MB / 0.5978 GB, free: 11.82 MB / 443.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01174/0.7589, allocations: 4.666 MB / 0.6024 GB, free: 6.504 MB / 443.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.751e-05/0.7591, allocations: 31.69 kB / 0.6024 GB, free: 6.473 MB / 443.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00053/0.7596, allocations: 20 kB / 0.6024 GB, free: 6.453 MB / 443.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001103/0.7607, allocations: 0.5101 MB / 0.6029 GB, free: 5.941 MB / 443.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03348/0.7942, allocations: 23.56 MB / 0.6259 GB, free: 13.58 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002207/0.7965, allocations: 1.159 MB / 0.6271 GB, free: 12.29 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007675/0.7973, allocations: 326.4 kB / 0.6274 GB, free: 11.96 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.7974, allocations: 4 kB / 0.6274 GB, free: 11.95 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.7974, allocations: 46.5 kB / 0.6274 GB, free: 11.9 MB / 475.1 MB Notification: Performance of pre-optimization done (n=60): time 7.554e-06/0.7974, allocations: 3.984 kB / 0.6274 GB, free: 11.89 MB / 475.1 MB Notification: Performance of matching and sorting (n=60): time 0.001936/0.7994, allocations: 0.7225 MB / 0.6281 GB, free: 11.17 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.949e-05/0.7995, allocations: 106.8 kB / 0.6282 GB, free: 11.04 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004246/0.8038, allocations: 1.711 MB / 0.6299 GB, free: 9.328 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001187/0.8039, allocations: 25.7 kB / 0.6299 GB, free: 9.297 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002092/0.8061, allocations: 1.716 MB / 0.6316 GB, free: 7.555 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005158/0.8066, allocations: 257 kB / 0.6318 GB, free: 7.301 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003355/0.807, allocations: 7.938 kB / 0.6319 GB, free: 7.293 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.000369/0.8074, allocations: 462.4 kB / 0.6323 GB, free: 6.832 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002259/0.8096, allocations: 0.8346 MB / 0.6331 GB, free: 5.996 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005078/0.8148, allocations: 3.203 MB / 0.6362 GB, free: 1.59 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004165/0.819, allocations: 1.666 MB / 0.6379 GB, free: 15.92 MB / 491.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.119e-05/0.8191, allocations: 24 kB / 0.6379 GB, free: 15.9 MB / 491.1 MB Notification: Performance of matching and sorting (n=455) (initialization): time 0.01032/0.8295, allocations: 3.407 MB / 0.6412 GB, free: 12.49 MB / 491.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.145e-05/0.8296, allocations: 44.22 kB / 0.6413 GB, free: 12.45 MB / 491.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001512/0.8298, allocations: 88 kB / 0.6413 GB, free: 12.36 MB / 491.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000196/0.83, allocations: 128 kB / 0.6415 GB, free: 12.23 MB / 491.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004713/0.8347, allocations: 0.7875 MB / 0.6422 GB, free: 11.45 MB / 491.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001872/0.8349, allocations: 167.4 kB / 0.6424 GB, free: 11.28 MB / 491.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00368/0.8386, allocations: 423 kB / 0.6428 GB, free: 10.86 MB / 491.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008656/0.8395, allocations: 224 kB / 0.643 GB, free: 10.64 MB / 491.1 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.0007198/0.8403, allocations: 310.9 kB / 0.6433 GB, free: 10.33 MB / 491.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001832/0.8421, allocations: 0.7308 MB / 0.644 GB, free: 9.594 MB / 491.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003177/0.8425, allocations: 153.9 kB / 0.6442 GB, free: 9.441 MB / 491.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006474/0.8431, allocations: 182.6 kB / 0.6443 GB, free: 9.262 MB / 491.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.698e-05/0.8432, allocations: 8 kB / 0.6443 GB, free: 9.254 MB / 491.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.8432, allocations: 4 kB / 0.6444 GB, free: 9.25 MB / 491.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.8432, allocations: 0 / 0.6444 GB, free: 9.25 MB / 491.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004873/0.8481, allocations: 1.646 MB / 0.646 GB, free: 7.559 MB / 491.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.8482, allocations: 0 / 0.646 GB, free: 7.559 MB / 491.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006247/0.8488, allocations: 63.91 kB / 0.646 GB, free: 7.496 MB / 491.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.819e-06/0.8488, allocations: 0 / 0.646 GB, free: 7.496 MB / 491.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.825e-05/0.8489, allocations: 4 kB / 0.646 GB, free: 7.492 MB / 491.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.014e-06/0.8489, allocations: 4 kB / 0.646 GB, free: 7.488 MB / 491.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.8489, allocations: 0 / 0.646 GB, free: 7.488 MB / 491.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.8507, allocations: 1.029 MB / 0.647 GB, free: 6.426 MB / 491.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004918/0.8512, allocations: 222.9 kB / 0.6472 GB, free: 6.188 MB / 491.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/0.8514, allocations: 0 / 0.6472 GB, free: 6.188 MB / 491.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008536/0.8523, allocations: 23.92 kB / 0.6473 GB, free: 6.164 MB / 491.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.042e-05/0.8524, allocations: 19.97 kB / 0.6473 GB, free: 6.145 MB / 491.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.698e-05/0.8525, allocations: 20 kB / 0.6473 GB, free: 6.125 MB / 491.1 MB Notification: Performance of sorting global known variables: time 0.002874/0.8554, allocations: 1.125 MB / 0.6484 GB, free: 5.004 MB / 491.1 MB Notification: Performance of sort global known variables: time 1.563e-06/0.8554, allocations: 0 / 0.6484 GB, free: 5.004 MB / 491.1 MB Notification: Performance of remove unused functions: time 0.003855/0.8593, allocations: 462.4 kB / 0.6488 GB, free: 4.551 MB / 491.1 MB 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.002557/0.8619, allocations: 1.746 MB / 0.6506 GB, free: 2.77 MB / 491.1 MB Notification: Performance of simCode: created initialization part: time 0.004987/0.8669, allocations: 1.908 MB / 0.6524 GB, free: 0.8789 MB / 491.1 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.867, allocations: 0 / 0.6524 GB, free: 0.8789 MB / 491.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007108/0.8677, allocations: 324.7 kB / 0.6527 GB, free: 0.5625 MB / 491.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.869, allocations: 140.9 kB / 0.6529 GB, free: 436 kB / 491.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3238/1.193, allocations: 3.74 MB / 0.6565 GB, free: 148.3 MB / 491.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003385/1.196, allocations: 1.831 MB / 0.6583 GB, free: 147.6 MB / 491.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001764/1.198, allocations: 0.7581 MB / 0.659 GB, free: 147.6 MB / 491.1 MB Notification: Performance of SimCode: time 1.463e-06/1.198, allocations: 1.031 kB / 0.659 GB, free: 147.6 MB / 491.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.297/4.495, allocations: 35.3 MB / 0.6935 GB, free: 139.1 MB / 491.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_VoluminousWheel_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_VoluminousWheel.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1)