Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 105.3 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2019/0.2019, allocations: 43.51 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 62.97 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09485/0.09647, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01049/0.107, allocations: 11.29 MB / 451.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006074/0.1131, allocations: 2.773 MB / 454.7 MB, free: 8.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002755/0.1159, allocations: 63.88 kB / 454.7 MB, free: 8.613 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003324/0.1193, allocations: 1.308 MB / 456 MB, free: 7.301 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003634/0.123, allocations: 1.21 MB / 457.3 MB, free: 6.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005278/0.1235, allocations: 79.84 kB / 457.3 MB, free: 6.008 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00371/0.1273, allocations: 2.748 MB / 460.1 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002813/0.1301, allocations: 1.856 MB / 461.9 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00196/0.1321, allocations: 1.059 MB / 463 MB, free: 312 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002477/0.1346, allocations: 1.444 MB / 464.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008172/0.1354, allocations: 208 kB / 464.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.1369, allocations: 499.3 kB / 465.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001662/0.1386, allocations: 1.402 MB / 466.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002705/0.1413, allocations: 1.727 MB / 468.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006481/0.1478, allocations: 5.201 MB / 473.5 MB, free: 5.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1478, allocations: 0 / 473.5 MB, free: 5.801 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1478, allocations: 0 / 473.5 MB, free: 5.801 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001953/0.148, allocations: 0 / 473.5 MB, free: 5.801 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1443 * Number of variables: 1443 Notification: Performance of Generate backend data structure: time 0.008789/0.1568, allocations: 3.601 MB / 477.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.1569, allocations: 11.89 kB / 477.1 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001594/0.1585, allocations: 0.6632 MB / 477.7 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01051/0.169, allocations: 2.944 MB / 480.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003238/0.1723, allocations: 1.53 MB / 482.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001596/0.1725, allocations: 176.6 kB / 482.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008844/0.1734, allocations: 223.8 kB / 482.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01358/0.187, allocations: 9.468 MB / 492.1 MB, free: 2.676 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.338e-05/0.1871, allocations: 19.81 kB / 492.1 MB, free: 2.656 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003408/0.1874, allocations: 107.8 kB / 492.2 MB, free: 2.551 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003629/0.191, allocations: 2.381 MB / 494.6 MB, free: 172 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01655/0.2076, allocations: 8.664 MB / 0.4914 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04163/0.2493, allocations: 29.29 MB / 0.5201 GB, free: 9.402 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004805/0.2541, allocations: 3.053 MB / 0.523 GB, free: 6.125 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/0.2555, allocations: 0.9765 MB / 0.524 GB, free: 5.145 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008422/0.2639, allocations: 4.842 MB / 0.5287 GB, free: 44 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1959/0.4599, allocations: 40.44 kB / 0.5288 GB, free: 89.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 9.208e-06/0.4599, allocations: 0 / 0.5288 GB, free: 89.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.00615/0.4661, allocations: 2.731 MB / 0.5314 GB, free: 89.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.4661, allocations: 59.59 kB / 0.5315 GB, free: 89.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00348/0.4696, allocations: 2.57 MB / 0.534 GB, free: 88.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.847e-05/0.4697, allocations: 35.7 kB / 0.534 GB, free: 88.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001322/0.4711, allocations: 2.654 MB / 0.5366 GB, free: 87.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004057/0.4715, allocations: 0.4887 MB / 0.5371 GB, free: 86.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009955/0.4725, allocations: 0.8974 MB / 0.538 GB, free: 86.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.607e-05/0.4726, allocations: 365.1 kB / 0.5383 GB, free: 86.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001878/0.4745, allocations: 1.354 MB / 0.5396 GB, free: 85.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002716/0.4772, allocations: 4.121 MB / 0.5437 GB, free: 81.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005388/0.4826, allocations: 5.961 MB / 0.5495 GB, free: 76.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.876e-05/0.4826, allocations: 27.53 kB / 0.5495 GB, free: 76.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.006015/0.4887, allocations: 5.298 MB / 0.5547 GB, free: 74.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.625e-05/0.4887, allocations: 46.44 kB / 0.5547 GB, free: 74.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.881e-05/0.4888, allocations: 97.19 kB / 0.5548 GB, free: 74.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001026/0.4889, allocations: 129.7 kB / 0.5549 GB, free: 74.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002397/0.4913, allocations: 0.9721 MB / 0.5559 GB, free: 74.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001165/0.4915, allocations: 191.3 kB / 0.5561 GB, free: 74.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/0.4939, allocations: 0.6015 MB / 0.5567 GB, free: 73.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002565/0.4942, allocations: 278.7 kB / 0.5569 GB, free: 73.88 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 446 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 534 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002012/0.4962, allocations: 1.901 MB / 0.5588 GB, free: 72.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.4964, allocations: 217 kB / 0.559 GB, free: 72.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003416/0.4968, allocations: 273.6 kB / 0.5593 GB, free: 72.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.287e-05/0.4968, allocations: 16 kB / 0.5593 GB, free: 72.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.497e-05/0.4968, allocations: 0 / 0.5593 GB, free: 72.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.4968, allocations: 3.75 kB / 0.5593 GB, free: 72.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006054/0.5029, allocations: 5.605 MB / 0.5647 GB, free: 67.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.5029, allocations: 8 kB / 0.5648 GB, free: 67.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005087/0.5034, allocations: 133.8 kB / 0.5649 GB, free: 67.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.5034, allocations: 8.562 kB / 0.5649 GB, free: 67.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.933e-05/0.5035, allocations: 24 kB / 0.5649 GB, free: 67.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.165e-06/0.5035, allocations: 15.78 kB / 0.5649 GB, free: 67.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.5035, allocations: 7.562 kB / 0.5649 GB, free: 67.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.505, allocations: 1.788 MB / 0.5667 GB, free: 65.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003073/0.5053, allocations: 294 kB / 0.567 GB, free: 65.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/0.5055, allocations: 16 kB / 0.567 GB, free: 65.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005591/0.5061, allocations: 47.39 kB / 0.567 GB, free: 65.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.5062, allocations: 60.38 kB / 0.5671 GB, free: 64.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.159e-05/0.5063, allocations: 46.89 kB / 0.5671 GB, free: 64.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001448/0.5077, allocations: 1.556 MB / 0.5686 GB, free: 63.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5077, allocations: 0 / 0.5686 GB, free: 63.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002802/0.5105, allocations: 1.009 MB / 0.5696 GB, free: 62.36 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (78): * Single equations (assignments): 72 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001708/0.5123, allocations: 2.425 MB / 0.572 GB, free: 59.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00439/0.5167, allocations: 3.961 MB / 0.5759 GB, free: 55.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.5167, allocations: 0 / 0.5759 GB, free: 55.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006023/0.5173, allocations: 0.7372 MB / 0.5766 GB, free: 55.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.5183, allocations: 253.7 kB / 0.5768 GB, free: 54.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03099/0.5493, allocations: 31.12 MB / 0.6072 GB, free: 19.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002484/0.5519, allocations: 2.957 MB / 0.6101 GB, free: 16.1 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00286/0.5547, allocations: 1.494 MB / 0.6116 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00149/0.5562, allocations: 1.511 MB / 0.613 GB, free: 13.09 MB / 414.1 MB Notification: Performance of SimCode: time 8.61e-07/0.5563, allocations: 8 kB / 0.613 GB, free: 13.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08042/0.6367, allocations: 41.12 MB / 0.6532 GB, free: 3.973 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.769/10.41, allocations: 11.94 kB / 0.6532 GB, free: 3.961 MB / 446.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1)