Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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: translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus") translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.703/1.703, allocations: 205.1 MB / 222.4 MB, free: 4.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3903/0.3903, allocations: 39.94 MB / 309.7 MB, free: 9.277 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 71.89 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1529, allocations: 56.88 MB / 434.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01356/0.1665, allocations: 11.29 MB / 445.8 MB, free: 8.352 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0078/0.1744, allocations: 2.785 MB / 448.6 MB, free: 5.559 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002543/0.1771, allocations: 55.88 kB / 448.6 MB, free: 5.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003276/0.1804, allocations: 1.308 MB / 449.9 MB, free: 4.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004202/0.1846, allocations: 1.21 MB / 451.1 MB, free: 2.977 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006296/0.1853, allocations: 79.84 kB / 451.2 MB, free: 2.898 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004886/0.1902, allocations: 2.745 MB / 454 MB, free: 148 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2912/0.4814, allocations: 1.855 MB / 455.8 MB, free: 36.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002591/0.484, allocations: 1.056 MB / 456.9 MB, free: 36.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002128/0.4862, allocations: 1.45 MB / 458.3 MB, free: 36.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005902/0.4868, allocations: 210.5 kB / 458.5 MB, free: 36.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.4879, allocations: 489.4 kB / 459 MB, free: 36.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001137/0.4891, allocations: 1.405 MB / 460.4 MB, free: 36.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001451/0.4906, allocations: 1.711 MB / 462.1 MB, free: 35.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005266/0.4958, allocations: 5.207 MB / 467.3 MB, free: 34.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.4959, allocations: 0 / 467.3 MB, free: 34.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4959, allocations: 0 / 467.3 MB, free: 34.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001793/0.496, allocations: 0 / 467.3 MB, free: 34.52 MB / 382.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.006996/0.5031, allocations: 3.608 MB / 470.9 MB, free: 32.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.5031, allocations: 13.48 kB / 470.9 MB, free: 32.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009501/0.5126, allocations: 2.934 MB / 473.9 MB, free: 32.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005014/0.5177, allocations: 1.523 MB / 475.4 MB, free: 31.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002367/0.518, allocations: 172.3 kB / 475.6 MB, free: 31.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001084/0.5191, allocations: 228.9 kB / 475.8 MB, free: 31.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01777/0.5368, allocations: 9.477 MB / 485.3 MB, free: 27.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.04e-05/0.5369, allocations: 18.56 kB / 485.3 MB, free: 27.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003894/0.5373, allocations: 108.3 kB / 485.4 MB, free: 27.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004251/0.5416, allocations: 2.372 MB / 487.8 MB, free: 27.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0202/0.5618, allocations: 8.664 MB / 496.4 MB, free: 24.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06283/0.6247, allocations: 29.3 MB / 0.5134 GB, free: 3.688 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008189/0.6329, allocations: 3.046 MB / 0.5164 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002418/0.6354, allocations: 0.9844 MB / 0.5173 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01584/0.6513, allocations: 4.844 MB / 0.5221 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.925e-05/0.6514, allocations: 45.64 kB / 0.5221 GB, free: 10.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=126): time 1.128e-05/0.6515, allocations: 0 / 0.5221 GB, free: 10.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=126): time 0.01247/0.6639, allocations: 2.732 MB / 0.5248 GB, free: 7.586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.077e-05/0.6641, allocations: 64.05 kB / 0.5248 GB, free: 7.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008945/0.673, allocations: 2.569 MB / 0.5274 GB, free: 4.914 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003465/0.6734, allocations: 40.83 kB / 0.5274 GB, free: 4.871 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003938/0.6774, allocations: 2.644 MB / 0.53 GB, free: 2.223 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001091/0.6785, allocations: 0.4935 MB / 0.5305 GB, free: 1.734 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003279/0.6819, allocations: 0.899 MB / 0.5313 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003091/0.6822, allocations: 365.9 kB / 0.5317 GB, free: 472 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00416/0.6864, allocations: 1.355 MB / 0.533 GB, free: 15.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007362/0.6938, allocations: 4.111 MB / 0.537 GB, free: 9.645 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01238/0.7062, allocations: 5.968 MB / 0.5429 GB, free: 2.699 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001163/0.7064, allocations: 28 kB / 0.5429 GB, free: 2.672 MB / 414.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01647/0.7229, allocations: 5.278 MB / 0.548 GB, free: 13.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000194/0.7231, allocations: 52.64 kB / 0.5481 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002167/0.7234, allocations: 96.91 kB / 0.5482 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002424/0.7236, allocations: 128 kB / 0.5483 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005897/0.7296, allocations: 0.9786 MB / 0.5493 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003011/0.7299, allocations: 192.8 kB / 0.5494 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006502/0.7364, allocations: 0.5953 MB / 0.55 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001147/0.7376, allocations: 279.4 kB / 0.5503 GB, free: 11.23 MB / 430.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.006689/0.7443, allocations: 1.89 MB / 0.5521 GB, free: 9.328 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008584/0.7452, allocations: 213.1 kB / 0.5523 GB, free: 9.117 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.7464, allocations: 287.3 kB / 0.5526 GB, free: 8.832 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.471e-05/0.7465, allocations: 13.33 kB / 0.5526 GB, free: 8.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/0.7466, allocations: 4 kB / 0.5526 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.013e-05/0.7466, allocations: 7.969 kB / 0.5526 GB, free: 8.809 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.017/0.7636, allocations: 5.616 MB / 0.5581 GB, free: 3.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/0.7637, allocations: 4 kB / 0.5581 GB, free: 3.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006758/0.7644, allocations: 131.8 kB / 0.5582 GB, free: 2.957 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.225e-05/0.7644, allocations: 8 kB / 0.5583 GB, free: 2.949 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.026e-05/0.7645, allocations: 23.98 kB / 0.5583 GB, free: 2.926 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.257e-05/0.7645, allocations: 8 kB / 0.5583 GB, free: 2.918 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/0.7645, allocations: 7.938 kB / 0.5583 GB, free: 2.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002536/0.7671, allocations: 1.795 MB / 0.56 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007343/0.7678, allocations: 282.1 kB / 0.5603 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005002/0.7683, allocations: 20 kB / 0.5603 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008974/0.7692, allocations: 42.77 kB / 0.5604 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.7694, allocations: 60.38 kB / 0.5604 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.782e-05/0.7695, allocations: 43.98 kB / 0.5605 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003458/0.773, allocations: 1.564 MB / 0.562 GB, free: 15.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.773, allocations: 0 / 0.562 GB, free: 15.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004801/0.7778, allocations: 1.006 MB / 0.563 GB, free: 14 MB / 446.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.0004832/0.7783, allocations: 149.3 kB / 0.5631 GB, free: 13.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007309/0.7856, allocations: 3.959 MB / 0.567 GB, free: 9.922 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/0.7857, allocations: 4.062 kB / 0.567 GB, free: 9.918 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.7867, allocations: 0.7374 MB / 0.5677 GB, free: 9.172 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/0.7888, allocations: 256.4 kB / 0.568 GB, free: 8.934 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01759/0.8064, allocations: 7.261 MB / 0.575 GB, free: 1.602 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005686/0.8122, allocations: 2.962 MB / 0.5779 GB, free: 14.61 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004353/0.8166, allocations: 1.492 MB / 0.5794 GB, free: 13.11 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006575/0.8172, allocations: 151.4 kB / 0.5795 GB, free: 12.96 MB / 462.1 MB Notification: Performance of SimCode: time 1.192e-06/0.8173, allocations: 0 / 0.5795 GB, free: 12.96 MB / 462.1 MB Notification: Performance of Templates: time 0.0449/0.8622, allocations: 18.48 MB / 0.5976 GB, free: 10.59 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1)