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.001185/0.001185, allocations: 104.7 kB / 16.27 MB, free: 6.41 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.001346/0.001346, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.593/1.593, 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.2197/0.2197, allocations: 43.53 MB / 313.9 MB, free: 0.5156 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.00151/0.00151, allocations: 69.67 kB / 382.7 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1289, allocations: 57.79 MB / 440.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01034/0.1393, allocations: 10.38 MB / 450.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007472/0.1468, allocations: 3.029 MB / 453.9 MB, free: 9.422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001943/0.1488, allocations: 71.75 kB / 454 MB, free: 9.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0055/0.1544, allocations: 2.667 MB / 456.7 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003338/0.1578, allocations: 1.035 MB / 457.7 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009948/0.1588, allocations: 267.6 kB / 458 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002766/0.1616, allocations: 1.514 MB / 459.5 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003659/0.1652, allocations: 2.453 MB / 461.9 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001725/0.167, allocations: 0.946 MB / 462.9 MB, free: 424 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004381/0.1714, allocations: 3.312 MB / 466.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007752/0.1722, allocations: 188 kB / 466.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.1734, allocations: 267.8 kB / 466.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00346/0.1769, allocations: 2.923 MB / 469.6 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004876/0.1818, allocations: 3.333 MB / 472.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01187/0.1937, allocations: 9.218 MB / 482.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.1937, allocations: 0 / 482.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1937, allocations: 0 / 482.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005258/0.1943, allocations: 0 / 482.1 MB, free: 13.11 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.0166/0.2109, allocations: 8.785 MB / 490.9 MB, free: 4.219 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.2109, allocations: 11.89 kB / 490.9 MB, free: 4.207 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/0.2123, allocations: 0.9666 MB / 491.9 MB, free: 3.227 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005046/0.2173, allocations: 3.722 MB / 495.6 MB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.519e-05/0.2174, allocations: 127.4 kB / 495.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001901/0.2176, allocations: 171.9 kB / 495.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008375/0.226, allocations: 6.604 MB / 0.4907 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.377e-05/0.2261, allocations: 7.938 kB / 0.4907 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.2262, allocations: 71.94 kB / 0.4908 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001553/0.2278, allocations: 1.564 MB / 0.4923 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00695/0.2347, allocations: 4.136 MB / 0.4964 GB, free: 2.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02778/0.2625, allocations: 20.4 MB / 0.5163 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.2641, allocations: 334.1 kB / 0.5166 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.2642, allocations: 68.8 kB / 0.5167 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004448/0.2687, allocations: 3.268 MB / 0.5199 GB, free: 9.867 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.823e-05/0.2687, allocations: 109.8 kB / 0.52 GB, free: 9.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 2.104e-06/0.2688, allocations: 0 / 0.52 GB, free: 9.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0009029/0.2697, allocations: 0.8346 MB / 0.5208 GB, free: 8.898 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.2697, allocations: 126.7 kB / 0.5209 GB, free: 8.762 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4107/0.6804, allocations: 10.55 MB / 0.5312 GB, free: 78.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.6805, allocations: 25.7 kB / 0.5312 GB, free: 78.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006588/0.6871, allocations: 5.838 MB / 0.5369 GB, free: 75.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/0.6873, allocations: 92.17 kB / 0.537 GB, free: 75.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009497/0.6882, allocations: 0.8246 MB / 0.5378 GB, free: 75.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.589e-05/0.6883, allocations: 305.7 kB / 0.5381 GB, free: 75.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.6895, allocations: 0.7587 MB / 0.5388 GB, free: 74.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003297/0.6928, allocations: 3.997 MB / 0.5427 GB, free: 70.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005067/0.6978, allocations: 5.201 MB / 0.5478 GB, free: 65.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001359/0.698, allocations: 38.75 kB / 0.5479 GB, free: 65.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01122/0.7092, allocations: 4.924 MB / 0.5527 GB, free: 63.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.7094, allocations: 56.66 kB / 0.5527 GB, free: 63.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002226/0.7096, allocations: 117.7 kB / 0.5528 GB, free: 63.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001406/0.7098, allocations: 152.9 kB / 0.553 GB, free: 63.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002422/0.7122, allocations: 0.9882 MB / 0.5539 GB, free: 62.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001827/0.7124, allocations: 227.7 kB / 0.5542 GB, free: 62.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004577/0.717, allocations: 0.5972 MB / 0.5547 GB, free: 62.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002978/0.7173, allocations: 289.6 kB / 0.555 GB, free: 62.5 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.005169/0.7225, allocations: 3.404 MB / 0.5584 GB, free: 61.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001023/0.7235, allocations: 0.9053 MB / 0.5592 GB, free: 60.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/0.7251, allocations: 1.021 MB / 0.5602 GB, free: 60.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.127e-05/0.7252, allocations: 191.7 kB / 0.5604 GB, free: 60.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.844e-05/0.7252, allocations: 176.3 kB / 0.5606 GB, free: 59.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.666e-05/0.7252, allocations: 188.2 kB / 0.5608 GB, free: 59.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006695/0.7319, allocations: 5.127 MB / 0.5658 GB, free: 57.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-05/0.732, allocations: 110.2 kB / 0.5659 GB, free: 57.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.886e-05/0.732, allocations: 106.7 kB / 0.566 GB, free: 57.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.862e-05/0.7321, allocations: 176.3 kB / 0.5661 GB, free: 57.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/0.7321, allocations: 187.8 kB / 0.5663 GB, free: 57.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.051e-05/0.7322, allocations: 180.2 kB / 0.5665 GB, free: 56.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.653e-05/0.7322, allocations: 180.2 kB / 0.5667 GB, free: 56.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.7333, allocations: 1.16 MB / 0.5678 GB, free: 55.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/0.7344, allocations: 0.9064 MB / 0.5687 GB, free: 55.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004753/0.7349, allocations: 176.3 kB / 0.5689 GB, free: 54.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007293/0.7356, allocations: 108.9 kB / 0.569 GB, free: 54.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.7357, allocations: 184.2 kB / 0.5691 GB, free: 54.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.7357, allocations: 104.7 kB / 0.5692 GB, free: 54.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.01112/0.7469, allocations: 7.146 MB / 0.5762 GB, free: 48.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7469, allocations: 0 / 0.5762 GB, free: 48.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004956/0.7519, allocations: 1.128 MB / 0.5773 GB, free: 47.31 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.0001665/0.752, allocations: 175.5 kB / 0.5775 GB, free: 47.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002878/0.7549, allocations: 1.868 MB / 0.5793 GB, free: 45.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.755, allocations: 0 / 0.5793 GB, free: 45.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.536e-06/0.755, allocations: 3.938 kB / 0.5793 GB, free: 45.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01352/0.7685, allocations: 3.451 MB / 0.5827 GB, free: 42.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02485/0.7934, allocations: 15.9 MB / 0.5982 GB, free: 26.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00635/0.7998, allocations: 5.277 MB / 0.6034 GB, free: 20.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.006382/0.8062, allocations: 2.098 MB / 0.6054 GB, free: 18.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007374/0.807, allocations: 403.4 kB / 0.6058 GB, free: 18.32 MB / 414.1 MB Notification: Performance of SimCode: time 1.262e-06/0.807, allocations: 0 / 0.6058 GB, free: 18.32 MB / 414.1 MB Notification: Performance of Templates: time 0.1692/0.9761, allocations: 90.22 MB / 0.6939 GB, free: 8.203 MB / 494.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 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1)