Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.ColorMaps.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: translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.ColorMaps") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 109.1 kB / 17.03 MB, free: 5.66 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.001203/0.001203, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.364/1.364, allocations: 205.1 MB / 223.8 MB, free: 12.22 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.1953/0.1953, allocations: 43.53 MB / 314.7 MB, free: 460 kB / 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.001666/0.001666, allocations: 72.5 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1127, allocations: 57.78 MB / 442 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.009479/0.1222, allocations: 10.38 MB / 452.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006682/0.1289, allocations: 3.018 MB / 455.4 MB, free: 8.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001909/0.1309, allocations: 71.75 kB / 455.4 MB, free: 8.602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005303/0.1362, allocations: 2.679 MB / 458.1 MB, free: 5.914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002653/0.1389, allocations: 1.03 MB / 459.1 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008347/0.1398, allocations: 271.5 kB / 459.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002236/0.142, allocations: 1.529 MB / 460.9 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003033/0.1451, allocations: 2.445 MB / 463.4 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.1466, allocations: 0.9498 MB / 464.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004291/0.1509, allocations: 3.308 MB / 467.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005733/0.1515, allocations: 188 kB / 467.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008604/0.1524, allocations: 275.8 kB / 468.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0024/0.1548, allocations: 2.919 MB / 471 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003214/0.158, allocations: 3.333 MB / 474.3 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00806/0.1661, allocations: 9.532 MB / 483.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-05/0.1662, allocations: 3.984 kB / 483.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.388e-06/0.1662, allocations: 0 / 483.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002962/0.1665, allocations: 0 / 483.9 MB, free: 12.02 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1421 * Number of variables: 1421 Notification: Performance of Generate backend data structure: time 0.01404/0.1805, allocations: 8.788 MB / 492.7 MB, free: 3.121 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.1806, allocations: 11.89 kB / 492.7 MB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.1817, allocations: 0.9666 MB / 493.6 MB, free: 2.129 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00589/0.1876, allocations: 3.753 MB / 497.4 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.956e-05/0.1877, allocations: 123.4 kB / 497.5 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002208/0.1879, allocations: 171.9 kB / 497.7 MB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008176/0.1961, allocations: 6.601 MB / 0.4925 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.926e-05/0.1962, allocations: 11.88 kB / 0.4925 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/0.1964, allocations: 79.94 kB / 0.4926 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001461/0.1978, allocations: 1.561 MB / 0.4941 GB, free: 5.582 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006921/0.2047, allocations: 4.136 MB / 0.4981 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02609/0.2309, allocations: 20.23 MB / 0.5179 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.2324, allocations: 343.3 kB / 0.5182 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.2325, allocations: 60.83 kB / 0.5183 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004968/0.2375, allocations: 3.26 MB / 0.5214 GB, free: 8.914 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.964e-05/0.2375, allocations: 113.8 kB / 0.5215 GB, free: 8.793 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.703e-06/0.2375, allocations: 0 / 0.5215 GB, free: 8.793 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0008179/0.2384, allocations: 0.8385 MB / 0.5224 GB, free: 7.938 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.2384, allocations: 126.7 kB / 0.5225 GB, free: 7.801 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3386/0.5771, allocations: 10.55 MB / 0.5328 GB, free: 78.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.5771, allocations: 25.7 kB / 0.5328 GB, free: 78.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004759/0.5819, allocations: 5.835 MB / 0.5385 GB, free: 75.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.582, allocations: 91.16 kB / 0.5386 GB, free: 75.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008426/0.5829, allocations: 0.8183 MB / 0.5394 GB, free: 75.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.378e-05/0.583, allocations: 305.7 kB / 0.5397 GB, free: 74.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.584, allocations: 0.7646 MB / 0.5404 GB, free: 74.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002342/0.5864, allocations: 3.997 MB / 0.5443 GB, free: 70.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004089/0.5905, allocations: 5.202 MB / 0.5494 GB, free: 64.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001113/0.5906, allocations: 34.38 kB / 0.5495 GB, free: 64.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008598/0.5992, allocations: 4.924 MB / 0.5543 GB, free: 62.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.834e-05/0.5993, allocations: 55.12 kB / 0.5543 GB, free: 62.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/0.5994, allocations: 119.8 kB / 0.5544 GB, free: 62.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001515/0.5996, allocations: 157.2 kB / 0.5546 GB, free: 62.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/0.6017, allocations: 0.9872 MB / 0.5555 GB, free: 62.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001271/0.6018, allocations: 221 kB / 0.5558 GB, free: 62.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003887/0.6057, allocations: 0.6032 MB / 0.5563 GB, free: 62.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003323/0.6061, allocations: 290.1 kB / 0.5566 GB, free: 62.23 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 30 (translate7.color[3],translate7.color[2],translate7.color[1],translate6.color[3],translate6.color[2],translate6.color[1],translate5.color[3],translate5.color[2],translate5.color[1],translate4.color[3],translate4.color[2],translate4.color[1],translate3.color[3],translate3.color[2],translate3.color[1],translate2.color[3],translate2.color[2],translate2.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 (537): * Single equations (assignments): 537 * Array equations: 0 * 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.004542/0.6106, allocations: 3.404 MB / 0.5599 GB, free: 60.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001111/0.6117, allocations: 0.9106 MB / 0.5608 GB, free: 60.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001444/0.6132, allocations: 1.023 MB / 0.5618 GB, free: 59.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.852e-05/0.6132, allocations: 184.2 kB / 0.562 GB, free: 59.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.762e-05/0.6133, allocations: 188.8 kB / 0.5622 GB, free: 59.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.947e-05/0.6133, allocations: 180.3 kB / 0.5624 GB, free: 59.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006601/0.6199, allocations: 5.132 MB / 0.5674 GB, free: 57.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.787e-05/0.62, allocations: 104.7 kB / 0.5675 GB, free: 57.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.799e-05/0.62, allocations: 105 kB / 0.5676 GB, free: 57.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.689e-05/0.62, allocations: 184.1 kB / 0.5677 GB, free: 56.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.62, allocations: 179.1 kB / 0.5679 GB, free: 56.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.418e-05/0.6201, allocations: 187.9 kB / 0.5681 GB, free: 56.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.251e-05/0.6201, allocations: 180.2 kB / 0.5683 GB, free: 56.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.6212, allocations: 1.157 MB / 0.5694 GB, free: 55.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00171/0.6229, allocations: 0.8996 MB / 0.5703 GB, free: 54.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005534/0.6235, allocations: 180.2 kB / 0.5704 GB, free: 54.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000768/0.6243, allocations: 106.9 kB / 0.5705 GB, free: 54.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.6243, allocations: 180.2 kB / 0.5707 GB, free: 54.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.6243, allocations: 110.9 kB / 0.5708 GB, free: 54.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.01081/0.6352, allocations: 7.145 MB / 0.5778 GB, free: 47.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6352, allocations: 3.375 kB / 0.5778 GB, free: 47.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00507/0.6403, allocations: 1.132 MB / 0.5789 GB, free: 46.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0001653/0.6405, allocations: 167.8 kB / 0.5791 GB, free: 46.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002704/0.6432, allocations: 1.868 MB / 0.5809 GB, free: 44.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.6432, allocations: 7.906 kB / 0.5809 GB, free: 44.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.286e-06/0.6432, allocations: 0 / 0.5809 GB, free: 44.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01137/0.6546, allocations: 3.451 MB / 0.5843 GB, free: 41.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02057/0.6752, allocations: 15.66 MB / 0.5996 GB, free: 25.56 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004714/0.6799, allocations: 5.273 MB / 0.6047 GB, free: 20.26 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00508/0.685, allocations: 2.098 MB / 0.6068 GB, free: 18.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006105/0.6857, allocations: 403.4 kB / 0.6072 GB, free: 17.79 MB / 414.1 MB Notification: Performance of SimCode: time 1.613e-06/0.6857, allocations: 0 / 0.6072 GB, free: 17.79 MB / 414.1 MB Notification: Performance of Templates: time 0.1408/0.8265, allocations: 81.93 MB / 0.6872 GB, free: 48 kB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1)