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.001524/0.001524, allocations: 188.1 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.083/2.083, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00124/0.00124, allocations: 98.84 kB / 270.9 MB, free: 13.39 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2934/0.2934, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004764, allocations: 15.98 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1227, allocations: 58.86 MB / 490.3 MB, free: 9.254 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.01284/0.1356, allocations: 7.788 MB / 498.1 MB, free: 1.43 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006321/0.142, allocations: 2.304 MB / 0.4887 GB, free: 15.12 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.1433, allocations: 31.88 kB / 0.4887 GB, free: 15.09 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.1445, allocations: 346.4 kB / 0.489 GB, free: 14.75 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004627/0.1492, allocations: 1.184 MB / 0.4902 GB, free: 13.56 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.1495, allocations: 19.92 kB / 0.4902 GB, free: 13.54 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002139/0.1517, allocations: 0.8419 MB / 0.491 GB, free: 12.7 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001992/0.1538, allocations: 0.8902 MB / 0.4919 GB, free: 11.77 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007866/0.1546, allocations: 386.6 kB / 0.4923 GB, free: 11.39 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.1557, allocations: 0.5099 MB / 0.4928 GB, free: 10.88 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002735/0.156, allocations: 52 kB / 0.4928 GB, free: 10.83 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008253/0.1568, allocations: 263.6 kB / 0.4931 GB, free: 10.57 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008479/0.1577, allocations: 0.5844 MB / 0.4936 GB, free: 9.984 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004946/0.1582, allocations: 364.5 kB / 0.494 GB, free: 9.621 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003387/0.1616, allocations: 1.999 MB / 0.4959 GB, free: 7.617 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.1617, allocations: 0 / 0.4959 GB, free: 7.617 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.587e-06/0.1617, allocations: 4 kB / 0.496 GB, free: 7.613 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.42e-05/0.1618, allocations: 0 / 0.496 GB, free: 7.613 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: 706 * Number of variables: 706 Notification: Performance of Generate backend data structure: time 0.004328/0.1661, allocations: 1.666 MB / 0.4976 GB, free: 5.895 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.1662, allocations: 8.031 kB / 0.4976 GB, free: 5.887 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001063/0.1673, allocations: 351.9 kB / 0.4979 GB, free: 5.535 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01081/0.1781, allocations: 1.787 MB / 0.4997 GB, free: 3.742 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002723/0.1809, allocations: 0.8386 MB / 0.5005 GB, free: 2.863 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.1811, allocations: 81.91 kB / 0.5006 GB, free: 2.781 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005472/0.1816, allocations: 91.92 kB / 0.5007 GB, free: 2.691 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01044/0.1921, allocations: 4.614 MB / 0.5052 GB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.383e-05/0.1922, allocations: 19.81 kB / 0.5052 GB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003314/0.1925, allocations: 55.91 kB / 0.5052 GB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00326/0.1958, allocations: 1.107 MB / 0.5063 GB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01146/0.2073, allocations: 3.984 MB / 0.5102 GB, free: 8.504 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3513/0.5587, allocations: 18.47 MB / 0.5282 GB, free: 28.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002129/0.5609, allocations: 1.181 MB / 0.5294 GB, free: 28.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.106e-05/0.561, allocations: 4.125 kB / 0.5294 GB, free: 28.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.5611, allocations: 40.98 kB / 0.5294 GB, free: 28.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=60): time 4.488e-06/0.5611, allocations: 3.469 kB / 0.5294 GB, free: 28.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=60): time 0.002822/0.5639, allocations: 1.284 MB / 0.5307 GB, free: 27.67 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.564, allocations: 116.2 kB / 0.5308 GB, free: 27.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005601/0.5696, allocations: 2.197 MB / 0.533 GB, free: 26.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000121/0.5698, allocations: 36.59 kB / 0.533 GB, free: 26.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001604/0.5714, allocations: 1.635 MB / 0.5346 GB, free: 25.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004809/0.572, allocations: 270.6 kB / 0.5348 GB, free: 25.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000313/0.5723, allocations: 61.86 kB / 0.5349 GB, free: 25.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002925/0.5726, allocations: 459.2 kB / 0.5353 GB, free: 24.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002591/0.5752, allocations: 0.8839 MB / 0.5362 GB, free: 24.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004181/0.5794, allocations: 3.14 MB / 0.5393 GB, free: 21.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004274/0.5838, allocations: 1.687 MB / 0.5409 GB, free: 20.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001627/0.584, allocations: 22.88 kB / 0.5409 GB, free: 20.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.01057/0.5946, allocations: 3.767 MB / 0.5446 GB, free: 19.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.5947, allocations: 41.5 kB / 0.5447 GB, free: 19.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001612/0.5949, allocations: 81.12 kB / 0.5447 GB, free: 19.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001815/0.5951, allocations: 125.6 kB / 0.5449 GB, free: 19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004048/0.5992, allocations: 0.7519 MB / 0.5456 GB, free: 18.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001564/0.5994, allocations: 156.2 kB / 0.5457 GB, free: 18.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003425/0.6028, allocations: 0.4922 MB / 0.5462 GB, free: 18.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006687/0.6035, allocations: 213 kB / 0.5464 GB, free: 18.54 MB / 362.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 () * Number of clocked 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.002394/0.6059, allocations: 1.091 MB / 0.5475 GB, free: 17.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003655/0.6063, allocations: 168.5 kB / 0.5476 GB, free: 17.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004542/0.6068, allocations: 206.8 kB / 0.5478 GB, free: 17.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.383e-05/0.6068, allocations: 11.61 kB / 0.5479 GB, free: 17.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.6068, allocations: 3.875 kB / 0.5479 GB, free: 17.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.6069, allocations: 3.797 kB / 0.5479 GB, free: 17.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004824/0.6117, allocations: 2.01 MB / 0.5498 GB, free: 16.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.6118, allocations: 0 / 0.5498 GB, free: 16.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005513/0.6123, allocations: 59.88 kB / 0.5499 GB, free: 16.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-06/0.6123, allocations: 7.281 kB / 0.5499 GB, free: 16.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.725e-05/0.6124, allocations: 11.12 kB / 0.5499 GB, free: 16.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/0.6124, allocations: 6.781 kB / 0.5499 GB, free: 16.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6124, allocations: 0 / 0.5499 GB, free: 16.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.6139, allocations: 1.069 MB / 0.5509 GB, free: 16.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004689/0.6144, allocations: 234 kB / 0.5512 GB, free: 16.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000244/0.6147, allocations: 5.172 kB / 0.5512 GB, free: 16.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009007/0.6156, allocations: 26.06 kB / 0.5512 GB, free: 16.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.6157, allocations: 23.25 kB / 0.5512 GB, free: 16.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.124e-05/0.6158, allocations: 20.44 kB / 0.5512 GB, free: 16.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002884/0.6187, allocations: 1.373 MB / 0.5526 GB, free: 15.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.6188, allocations: 0 / 0.5526 GB, free: 15.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003452/0.6222, allocations: 0.4943 MB / 0.5531 GB, free: 15.48 MB / 362.7 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 () * Number of clocked 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.002042/0.6243, allocations: 1.792 MB / 0.5548 GB, free: 14.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004346/0.6287, allocations: 2.025 MB / 0.5568 GB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.6287, allocations: 4 kB / 0.5568 GB, free: 12.35 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006387/0.6294, allocations: 337.3 kB / 0.5571 GB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.6307, allocations: 157.5 kB / 0.5573 GB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05917/0.6899, allocations: 69.86 MB / 0.6255 GB, free: 3.754 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003191/0.6931, allocations: 1.831 MB / 0.6273 GB, free: 1.895 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001813/0.695, allocations: 0.7609 MB / 0.628 GB, free: 1.133 MB / 426.7 MB Notification: Performance of SimCode: time 1.563e-06/0.6951, allocations: 0 / 0.628 GB, free: 1.133 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.28/3.975, allocations: 36.54 MB / 0.6637 GB, free: 12.62 MB / 474.7 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)