Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.007401/0.007401, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001433/0.001433, allocations: 197.9 kB / 16.67 MB, free: 5.926 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.564/1.564, allocations: 205.1 MB / 222.5 MB, free: 4.328 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3599/0.3599, allocations: 38 MB / 307.9 MB, free: 10.46 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.1. 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.001744/0.001744, allocations: 75.89 kB / 433 MB, free: 5.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3687, allocations: 56.46 MB / 489.4 MB, free: 20.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01047/0.3792, allocations: 10.38 MB / 499.8 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008546/0.3878, allocations: 3.021 MB / 0.4911 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002324/0.3902, allocations: 67.44 kB / 0.4911 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005238/0.3955, allocations: 2.676 MB / 0.4937 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003754/0.3993, allocations: 1.027 MB / 0.4947 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000881/0.4002, allocations: 269.3 kB / 0.495 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002787/0.403, allocations: 1.527 MB / 0.4965 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003219/0.4062, allocations: 2.456 MB / 0.4989 GB, free: 7.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001567/0.4078, allocations: 0.9183 MB / 0.4998 GB, free: 6.746 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006028/0.4138, allocations: 3.323 MB / 0.503 GB, free: 5.012 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007439/0.4146, allocations: 186.7 kB / 0.5032 GB, free: 5.012 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009725/0.4156, allocations: 282.4 kB / 0.5035 GB, free: 4.953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002717/0.4183, allocations: 2.977 MB / 0.5064 GB, free: 3.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002594/0.4209, allocations: 3.335 MB / 0.5096 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0132/0.4341, allocations: 9.755 MB / 0.5192 GB, free: 9.418 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.4342, allocations: 0 / 0.5192 GB, free: 9.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4342, allocations: 0 / 0.5192 GB, free: 9.418 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004684/0.4346, allocations: 0 / 0.5192 GB, free: 9.418 MB / 398.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.01888/0.4535, allocations: 8.785 MB / 0.5277 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.4536, allocations: 15.89 kB / 0.5278 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.4549, allocations: 0.9706 MB / 0.5287 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007409/0.4623, allocations: 3.745 MB / 0.5324 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.345e-05/0.4625, allocations: 127.3 kB / 0.5325 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000221/0.4627, allocations: 175.9 kB / 0.5327 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009288/0.472, allocations: 6.608 MB / 0.5391 GB, free: 4.617 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.68e-05/0.4721, allocations: 7.938 kB / 0.5391 GB, free: 4.609 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001734/0.4723, allocations: 79.94 kB / 0.5392 GB, free: 4.531 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001689/0.4739, allocations: 1.564 MB / 0.5407 GB, free: 2.969 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007958/0.4819, allocations: 4.136 MB / 0.5448 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04257/0.5245, allocations: 20.23 MB / 0.5645 GB, free: 10.33 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.5263, allocations: 338.1 kB / 0.5648 GB, free: 9.988 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.5264, allocations: 65.17 kB / 0.5649 GB, free: 9.922 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007278/0.5337, allocations: 3.264 MB / 0.5681 GB, free: 6.297 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.576e-05/0.5338, allocations: 105.8 kB / 0.5682 GB, free: 6.184 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.915e-06/0.5338, allocations: 3.938 kB / 0.5682 GB, free: 6.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.001829/0.5357, allocations: 0.8386 MB / 0.569 GB, free: 5.324 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/0.5358, allocations: 126.7 kB / 0.5691 GB, free: 5.188 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02522/0.561, allocations: 10.55 MB / 0.5794 GB, free: 10.69 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.561, allocations: 33.64 kB / 0.5795 GB, free: 10.65 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.008007/0.5691, allocations: 5.83 MB / 0.5852 GB, free: 4.777 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/0.5693, allocations: 95.91 kB / 0.5852 GB, free: 4.684 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001398/0.5707, allocations: 0.8135 MB / 0.586 GB, free: 3.855 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.5708, allocations: 309.1 kB / 0.5863 GB, free: 3.551 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/0.572, allocations: 0.7616 MB / 0.5871 GB, free: 2.781 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003609/0.5756, allocations: 4.003 MB / 0.591 GB, free: 13.09 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005537/0.5812, allocations: 5.201 MB / 0.5961 GB, free: 6.238 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.976e-05/0.5813, allocations: 32 kB / 0.5961 GB, free: 6.207 MB / 478.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01027/0.5916, allocations: 4.92 MB / 0.6009 GB, free: 1.273 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.5917, allocations: 56 kB / 0.601 GB, free: 1.219 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001798/0.5919, allocations: 124 kB / 0.6011 GB, free: 1.098 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002067/0.5922, allocations: 148 kB / 0.6012 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002719/0.5949, allocations: 0.9825 MB / 0.6022 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000168/0.5951, allocations: 227.6 kB / 0.6024 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005159/0.6002, allocations: 0.6069 MB / 0.603 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006892/0.601, allocations: 284 kB / 0.6033 GB, free: 14.86 MB / 494.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.007641/0.6086, allocations: 3.417 MB / 0.6066 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001567/0.6102, allocations: 0.9082 MB / 0.6075 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002675/0.6129, allocations: 1.027 MB / 0.6085 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.93e-05/0.613, allocations: 180.3 kB / 0.6087 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-05/0.613, allocations: 180.3 kB / 0.6088 GB, free: 9.098 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-05/0.6131, allocations: 184.2 kB / 0.609 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01522/0.6283, allocations: 5.135 MB / 0.614 GB, free: 3.707 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.074e-05/0.6284, allocations: 108.9 kB / 0.6141 GB, free: 3.594 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.33e-05/0.6285, allocations: 105 kB / 0.6142 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.528e-05/0.6285, allocations: 176.3 kB / 0.6144 GB, free: 3.305 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.291e-05/0.6286, allocations: 180.2 kB / 0.6146 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.882e-05/0.6287, allocations: 184.3 kB / 0.6147 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-05/0.6287, allocations: 184.2 kB / 0.6149 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/0.6303, allocations: 1.159 MB / 0.616 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002674/0.633, allocations: 0.9013 MB / 0.6169 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001474/0.6345, allocations: 184.3 kB / 0.6171 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001785/0.6363, allocations: 104.9 kB / 0.6172 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.71e-05/0.6364, allocations: 180.3 kB / 0.6174 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.859e-05/0.6364, allocations: 108.9 kB / 0.6175 GB, free: 20 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.02017/0.6566, allocations: 7.142 MB / 0.6245 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.92e-07/0.6567, allocations: 4 kB / 0.6245 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005786/0.6625, allocations: 1.128 MB / 0.6256 GB, free: 7.793 MB / 0.4981 GB 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.0002112/0.6627, allocations: 178.5 kB / 0.6257 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003115/0.6658, allocations: 1.867 MB / 0.6276 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6659, allocations: 0 / 0.6276 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.2e-06/0.6659, allocations: 4.25 kB / 0.6276 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01459/0.6805, allocations: 3.449 MB / 0.6309 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5689/1.249, allocations: 15.66 MB / 0.6462 GB, free: 117.7 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01398/1.263, allocations: 5.281 MB / 0.6514 GB, free: 115.9 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.009633/1.273, allocations: 2.095 MB / 0.6534 GB, free: 115.8 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001438/1.275, allocations: 404 kB / 0.6538 GB, free: 115.8 MB / 0.4982 GB Notification: Performance of SimCode: time 1.032e-06/1.275, allocations: 0 / 0.6538 GB, free: 115.8 MB / 0.4982 GB Notification: Performance of Templates: time 0.1445/1.419, allocations: 84.58 MB / 0.7364 GB, free: 43.33 MB / 0.4982 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1)