Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.ColorMaps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001464/0.001464, allocations: 108 kB / 15.61 MB, free: 148 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.001927/0.001927, allocations: 193.7 kB / 16.53 MB, free: 6.664 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.669/1.669, allocations: 205.1 MB / 222.4 MB, free: 4.547 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.3374/0.3374, allocations: 39.94 MB / 309.7 MB, free: 9.398 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.001562/0.001562, allocations: 70.41 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1267, allocations: 56.87 MB / 434.5 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.0113/0.1381, allocations: 10.39 MB / 444.9 MB, free: 9.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006314/0.1444, allocations: 3.029 MB / 447.9 MB, free: 6.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00151/0.146, allocations: 67.81 kB / 448 MB, free: 6.145 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004942/0.151, allocations: 2.667 MB / 450.6 MB, free: 3.469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002884/0.1539, allocations: 1.035 MB / 451.7 MB, free: 2.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007078/0.1546, allocations: 255.6 kB / 451.9 MB, free: 2.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002045/0.1567, allocations: 1.529 MB / 453.5 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2699/0.4266, allocations: 2.448 MB / 455.9 MB, free: 36.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001527/0.4282, allocations: 0.9455 MB / 456.8 MB, free: 36.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003426/0.4316, allocations: 3.313 MB / 460.2 MB, free: 35.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004617/0.4321, allocations: 185.2 kB / 460.3 MB, free: 35.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006653/0.4327, allocations: 277.5 kB / 460.6 MB, free: 35.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001677/0.4344, allocations: 2.919 MB / 463.5 MB, free: 35.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002636/0.4371, allocations: 3.341 MB / 466.9 MB, free: 33.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007948/0.445, allocations: 9.213 MB / 476.1 MB, free: 30.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.4451, allocations: 3.219 kB / 476.1 MB, free: 30.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4451, allocations: 0 / 476.1 MB, free: 30.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002713/0.4454, allocations: 0 / 476.1 MB, free: 30.95 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: 1421 * Number of variables: 1421 Notification: Performance of Generate backend data structure: time 0.01583/0.4612, allocations: 8.782 MB / 484.9 MB, free: 25.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.4613, allocations: 14.58 kB / 484.9 MB, free: 25.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001658/0.463, allocations: 0.9692 MB / 485.9 MB, free: 24.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007255/0.4702, allocations: 3.716 MB / 489.6 MB, free: 22.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.4704, allocations: 125.4 kB / 489.7 MB, free: 22.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000251/0.4706, allocations: 172.6 kB / 489.9 MB, free: 22.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01281/0.4834, allocations: 6.608 MB / 496.5 MB, free: 20.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.722e-05/0.4835, allocations: 6.656 kB / 496.5 MB, free: 20.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/0.4837, allocations: 80.61 kB / 496.6 MB, free: 19.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002127/0.4858, allocations: 1.563 MB / 498.1 MB, free: 19.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01039/0.4962, allocations: 4.132 MB / 0.4905 GB, free: 18.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04206/0.5384, allocations: 20.4 MB / 0.5104 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.5401, allocations: 333 kB / 0.5107 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.5403, allocations: 70.7 kB / 0.5108 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005779/0.546, allocations: 3.265 MB / 0.514 GB, free: 3.098 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.5461, allocations: 105.8 kB / 0.5141 GB, free: 2.984 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.653e-06/0.5461, allocations: 0 / 0.5141 GB, free: 2.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.001089/0.5472, allocations: 0.8385 MB / 0.5149 GB, free: 2.129 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.5473, allocations: 130.7 kB / 0.515 GB, free: 1.988 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02101/0.5683, allocations: 10.56 MB / 0.5253 GB, free: 7.484 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.5683, allocations: 25.7 kB / 0.5253 GB, free: 7.453 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005731/0.5741, allocations: 5.829 MB / 0.531 GB, free: 1.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/0.5743, allocations: 99.89 kB / 0.5311 GB, free: 1.523 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001055/0.5754, allocations: 0.8096 MB / 0.5319 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.5755, allocations: 313 kB / 0.5322 GB, free: 400 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.5766, allocations: 0.7666 MB / 0.533 GB, free: 15.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003838/0.5805, allocations: 3.997 MB / 0.5369 GB, free: 9.996 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005747/0.5862, allocations: 5.197 MB / 0.542 GB, free: 3.625 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.816e-05/0.5863, allocations: 32 kB / 0.542 GB, free: 3.594 MB / 414.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.009801/0.5961, allocations: 4.925 MB / 0.5468 GB, free: 14.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.239e-05/0.5962, allocations: 57.59 kB / 0.5468 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000105/0.5963, allocations: 120.9 kB / 0.547 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001383/0.5965, allocations: 148 kB / 0.5471 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002205/0.5987, allocations: 0.9902 MB / 0.5481 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001803/0.5989, allocations: 223.1 kB / 0.5483 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005969/0.6049, allocations: 0.603 MB / 0.5489 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003857/0.6053, allocations: 284 kB / 0.5491 GB, free: 12.57 MB / 430.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.007498/0.6128, allocations: 3.401 MB / 0.5525 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002966/0.6157, allocations: 0.9164 MB / 0.5534 GB, free: 8.215 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003101/0.6189, allocations: 1.015 MB / 0.5544 GB, free: 7.191 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.186e-05/0.6189, allocations: 192.2 kB / 0.5545 GB, free: 6.996 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.667e-05/0.619, allocations: 180.3 kB / 0.5547 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.405e-05/0.6191, allocations: 180.3 kB / 0.5549 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/0.6311, allocations: 5.138 MB / 0.5599 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-05/0.6312, allocations: 109 kB / 0.56 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.794e-05/0.6312, allocations: 104.9 kB / 0.5601 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.151e-05/0.6313, allocations: 180.2 kB / 0.5603 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-05/0.6314, allocations: 181.4 kB / 0.5604 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.296e-05/0.6315, allocations: 189.1 kB / 0.5606 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.584e-05/0.6316, allocations: 176.3 kB / 0.5608 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002585/0.6342, allocations: 1.156 MB / 0.5619 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002331/0.6365, allocations: 0.9052 MB / 0.5628 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007889/0.6374, allocations: 180.2 kB / 0.563 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008317/0.6382, allocations: 107.6 kB / 0.5631 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.753e-05/0.6383, allocations: 188.2 kB / 0.5633 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/0.6383, allocations: 101 kB / 0.5634 GB, free: 13.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.01491/0.6532, allocations: 7.146 MB / 0.5703 GB, free: 6.645 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6533, allocations: 4 kB / 0.5703 GB, free: 6.641 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006197/0.6595, allocations: 1.124 MB / 0.5714 GB, free: 5.512 MB / 446.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.000237/0.6598, allocations: 182.2 kB / 0.5716 GB, free: 5.324 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003413/0.6632, allocations: 1.863 MB / 0.5734 GB, free: 3.488 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.6632, allocations: 0 / 0.5734 GB, free: 3.488 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.843e-06/0.6632, allocations: 4 kB / 0.5734 GB, free: 3.484 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01564/0.6789, allocations: 3.455 MB / 0.5768 GB, free: 52 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.035/0.7139, allocations: 15.89 MB / 0.5923 GB, free: 144 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007384/0.7214, allocations: 5.278 MB / 0.5975 GB, free: 10.83 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006874/0.7283, allocations: 2.094 MB / 0.5995 GB, free: 8.73 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007795/0.7291, allocations: 407.4 kB / 0.5999 GB, free: 8.332 MB / 478.1 MB Notification: Performance of SimCode: time 6.01e-07/0.7291, allocations: 0 / 0.5999 GB, free: 8.332 MB / 478.1 MB Notification: Performance of Templates: time 0.3978/1.127, allocations: 90.22 MB / 0.688 GB, free: 106.9 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1)