Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001536/0.001536, allocations: 182 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001139/0.001138, allocations: 89.23 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5123/0.5123, allocations: 43.55 MB / 362.7 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004684/0.0004686, allocations: 16 kB / 431.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1263, allocations: 58.84 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.3813/0.5077, allocations: 47.92 MB / 0.5255 GB, free: 16.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02819/0.536, allocations: 10.39 MB / 0.5357 GB, free: 9.398 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01147/0.5475, allocations: 236.3 kB / 0.5359 GB, free: 9.363 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008565/0.5561, allocations: 2.428 MB / 0.5383 GB, free: 8.562 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02666/0.5828, allocations: 7.019 MB / 0.5451 GB, free: 5.293 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003283/0.5862, allocations: 297.7 kB / 0.5454 GB, free: 5.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002695/0.5889, allocations: 0.8974 MB / 0.5463 GB, free: 4.699 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005297/0.5942, allocations: 2.836 MB / 0.549 GB, free: 3.598 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.5958, allocations: 0.5444 MB / 0.5496 GB, free: 3.363 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005118/0.6009, allocations: 2.123 MB / 0.5517 GB, free: 2.945 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000793/0.6018, allocations: 71.41 kB / 0.5517 GB, free: 2.945 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.6034, allocations: 314.4 kB / 0.552 GB, free: 2.871 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004154/0.6076, allocations: 2.894 MB / 0.5548 GB, free: 2.168 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002693/0.6103, allocations: 1.396 MB / 0.5562 GB, free: 1.109 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01217/0.6226, allocations: 6.888 MB / 0.5629 GB, free: 13.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.6226, allocations: 0 / 0.5629 GB, free: 13.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.707e-06/0.6226, allocations: 0 / 0.5629 GB, free: 13.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005864/0.6232, allocations: 0 / 0.5629 GB, free: 13.89 MB / 394.7 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.02194/0.6452, allocations: 7.999 MB / 0.5707 GB, free: 7.941 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.6453, allocations: 8.031 kB / 0.5708 GB, free: 7.934 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003101/0.6484, allocations: 0.9705 MB / 0.5717 GB, free: 6.949 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01117/0.6596, allocations: 3.703 MB / 0.5753 GB, free: 3.176 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.6598, allocations: 131.3 kB / 0.5754 GB, free: 3.047 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005058/0.6603, allocations: 164 kB / 0.5756 GB, free: 2.887 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01546/0.6758, allocations: 6.636 MB / 0.5821 GB, free: 12.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.91e-05/0.6759, allocations: 7.938 kB / 0.5821 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002795/0.6762, allocations: 71.95 kB / 0.5822 GB, free: 12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002782/0.679, allocations: 1.564 MB / 0.5837 GB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01309/0.6921, allocations: 4.148 MB / 0.5877 GB, free: 6.281 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05009/0.7423, allocations: 20.78 MB / 0.608 GB, free: 1.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002756/0.7451, allocations: 342.2 kB / 0.6084 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00914/0.7543, allocations: 3.587 MB / 0.6119 GB, free: 12.94 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.723e-05/0.7544, allocations: 109.8 kB / 0.612 GB, free: 12.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 2.915e-06/0.7544, allocations: 0 / 0.612 GB, free: 12.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 0.002413/0.7569, allocations: 0.8308 MB / 0.6128 GB, free: 11.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.757, allocations: 138.6 kB / 0.6129 GB, free: 11.83 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03086/0.7879, allocations: 10.59 MB / 0.6233 GB, free: 1.289 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.788, allocations: 25.7 kB / 0.6233 GB, free: 1.258 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.008048/0.796, allocations: 5.025 MB / 0.6282 GB, free: 12.19 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.7963, allocations: 103.8 kB / 0.6283 GB, free: 12.09 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003453/0.7966, allocations: 80 kB / 0.6284 GB, free: 12.01 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003714/0.797, allocations: 487.9 kB / 0.6288 GB, free: 11.52 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002097/0.7991, allocations: 0.7459 MB / 0.6296 GB, free: 10.77 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00541/0.8046, allocations: 3.964 MB / 0.6334 GB, free: 5.121 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004171/0.8088, allocations: 1.619 MB / 0.635 GB, free: 3.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001216/0.809, allocations: 36 kB / 0.635 GB, free: 3.465 MB / 458.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01223/0.8212, allocations: 4.23 MB / 0.6392 GB, free: 15.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.8214, allocations: 56 kB / 0.6392 GB, free: 15.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000202/0.8216, allocations: 116 kB / 0.6393 GB, free: 15.06 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002417/0.8219, allocations: 168 kB / 0.6395 GB, free: 14.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005143/0.827, allocations: 0.9896 MB / 0.6405 GB, free: 13.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002852/0.8273, allocations: 235 kB / 0.6407 GB, free: 13.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006599/0.834, allocations: 0.6736 MB / 0.6413 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007352/0.8347, allocations: 284 kB / 0.6416 GB, free: 12.72 MB / 474.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009023/0.8438, allocations: 3.401 MB / 0.6449 GB, free: 9.305 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002169/0.846, allocations: 0.9159 MB / 0.6458 GB, free: 8.371 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003028/0.849, allocations: 1.019 MB / 0.6468 GB, free: 7.344 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.441e-05/0.8492, allocations: 184.3 kB / 0.647 GB, free: 7.156 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001038/0.8493, allocations: 180.2 kB / 0.6472 GB, free: 6.973 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.738e-05/0.8494, allocations: 184.2 kB / 0.6473 GB, free: 6.785 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01537/0.8648, allocations: 5.131 MB / 0.6524 GB, free: 1.586 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.643e-05/0.8649, allocations: 105 kB / 0.6525 GB, free: 1.477 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.108e-05/0.8649, allocations: 105 kB / 0.6526 GB, free: 1.367 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.192e-05/0.865, allocations: 184.2 kB / 0.6527 GB, free: 1.18 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.154e-05/0.8651, allocations: 180.2 kB / 0.6529 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.599e-05/0.8652, allocations: 180.4 kB / 0.6531 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.293e-05/0.8653, allocations: 180.3 kB / 0.6532 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002234/0.8675, allocations: 1.159 MB / 0.6544 GB, free: 15.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003395/0.871, allocations: 1.225 MB / 0.6556 GB, free: 14.17 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002074/0.8731, allocations: 180.2 kB / 0.6557 GB, free: 13.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003204/0.8764, allocations: 173 kB / 0.6559 GB, free: 13.81 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.768e-05/0.8765, allocations: 192.2 kB / 0.6561 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.245e-05/0.8766, allocations: 113 kB / 0.6562 GB, free: 13.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.02198/0.8986, allocations: 7.185 MB / 0.6632 GB, free: 6.363 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.02e-07/0.8986, allocations: 0 / 0.6632 GB, free: 6.363 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006901/0.9055, allocations: 1.143 MB / 0.6643 GB, free: 5.215 MB / 490.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004204/0.906, allocations: 202.5 kB / 0.6645 GB, free: 5.008 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004802/0.9108, allocations: 1.847 MB / 0.6663 GB, free: 3.188 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.9109, allocations: 0 / 0.6663 GB, free: 3.188 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.36e-06/0.9109, allocations: 0 / 0.6663 GB, free: 3.188 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02301/0.9339, allocations: 3.287 MB / 0.6695 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4513/1.385, allocations: 18.96 MB / 0.6881 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01489/1.4, allocations: 5.453 MB / 0.6934 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002011/1.402, allocations: 0.5229 MB / 0.6939 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.864e-06/1.402, allocations: 0 / 0.6939 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.2988/1.701, allocations: 134.7 MB / 0.8255 GB, free: 43.09 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps --alarm=480 > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1)