Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001607/0.001608, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001777/0.001777, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2317/0.2317, allocations: 46.12 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002292/0.002292, allocations: 78.31 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1261, allocations: 62.45 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01202/0.1382, allocations: 10.36 MB / 490.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006585/0.1448, allocations: 3.075 MB / 493.6 MB, free: 7.645 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.1463, allocations: 71.75 kB / 493.7 MB, free: 7.574 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005069/0.1514, allocations: 2.683 MB / 496.4 MB, free: 4.883 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002935/0.1544, allocations: 1.023 MB / 497.4 MB, free: 3.855 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008157/0.1552, allocations: 267.5 kB / 497.7 MB, free: 3.594 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003138/0.1584, allocations: 1.502 MB / 499.2 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003286/0.1617, allocations: 2.441 MB / 0.4899 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.1633, allocations: 0.9459 MB / 0.4908 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004599/0.1679, allocations: 3.316 MB / 0.494 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005459/0.1685, allocations: 184 kB / 0.4942 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007833/0.1693, allocations: 267.8 kB / 0.4945 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002439/0.1717, allocations: 2.923 MB / 0.4973 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003231/0.175, allocations: 3.333 MB / 0.5006 GB, free: 4.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2491/0.4241, allocations: 9.209 MB / 0.5096 GB, free: 21.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.4241, allocations: 0 / 0.5096 GB, free: 21.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4242, allocations: 2.938 kB / 0.5096 GB, free: 21.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005251/0.4247, allocations: 0 / 0.5096 GB, free: 21.21 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.01999/0.4447, allocations: 8.77 MB / 0.5181 GB, free: 16.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.4448, allocations: 10.59 kB / 0.5181 GB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001697/0.4465, allocations: 0.6173 MB / 0.5187 GB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002289/0.4488, allocations: 0.9679 MB / 0.5197 GB, free: 16.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009265/0.458, allocations: 3.726 MB / 0.5233 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.4582, allocations: 131.6 kB / 0.5235 GB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000276/0.4585, allocations: 164.6 kB / 0.5236 GB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/0.469, allocations: 6.606 MB / 0.5301 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.945e-05/0.4691, allocations: 11.31 kB / 0.5301 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001557/0.4693, allocations: 77.86 kB / 0.5301 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001697/0.471, allocations: 1.566 MB / 0.5317 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00783/0.4788, allocations: 4.126 MB / 0.5357 GB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03457/0.5134, allocations: 20.4 MB / 0.5556 GB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.5152, allocations: 341.3 kB / 0.5559 GB, free: 7.309 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.5154, allocations: 64.77 kB / 0.556 GB, free: 7.242 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007022/0.5224, allocations: 3.261 MB / 0.5592 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.38e-05/0.5225, allocations: 105.8 kB / 0.5593 GB, free: 3.516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 2.384e-06/0.5225, allocations: 4 kB / 0.5593 GB, free: 3.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.001741/0.5243, allocations: 0.834 MB / 0.5601 GB, free: 2.664 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.405e-05/0.5244, allocations: 130 kB / 0.5602 GB, free: 2.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02641/0.5508, allocations: 10.54 MB / 0.5705 GB, free: 8.043 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.5509, allocations: 25.7 kB / 0.5706 GB, free: 8.012 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.008976/0.5599, allocations: 5.837 MB / 0.5763 GB, free: 2.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002633/0.5602, allocations: 89 kB / 0.5763 GB, free: 2.094 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001851/0.5621, allocations: 0.8174 MB / 0.5771 GB, free: 1.262 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.5623, allocations: 309.1 kB / 0.5774 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/0.5637, allocations: 0.7616 MB / 0.5782 GB, free: 192 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004467/0.5682, allocations: 3.999 MB / 0.5821 GB, free: 10.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006146/0.5744, allocations: 5.2 MB / 0.5872 GB, free: 4.195 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.238e-05/0.5745, allocations: 36 kB / 0.5872 GB, free: 4.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.009988/0.5845, allocations: 4.919 MB / 0.592 GB, free: 15.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.5846, allocations: 64.16 kB / 0.5921 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001626/0.5848, allocations: 116 kB / 0.5922 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001838/0.585, allocations: 155.5 kB / 0.5923 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002641/0.5876, allocations: 0.9825 MB / 0.5933 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001952/0.5878, allocations: 227.1 kB / 0.5935 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004659/0.5925, allocations: 0.5962 MB / 0.5941 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004956/0.593, allocations: 290.3 kB / 0.5944 GB, free: 13.25 MB / 446.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.006829/0.5999, allocations: 3.409 MB / 0.5977 GB, free: 9.828 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002329/0.6022, allocations: 0.912 MB / 0.5986 GB, free: 8.898 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003195/0.6054, allocations: 1.015 MB / 0.5996 GB, free: 7.875 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.029e-05/0.6055, allocations: 188.2 kB / 0.5997 GB, free: 7.684 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.293e-05/0.6056, allocations: 176.3 kB / 0.5999 GB, free: 7.504 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001102/0.6058, allocations: 180.2 kB / 0.6001 GB, free: 7.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01441/0.6202, allocations: 5.135 MB / 0.6051 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.925e-05/0.6203, allocations: 105 kB / 0.6052 GB, free: 2.008 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.802e-05/0.6203, allocations: 108.9 kB / 0.6053 GB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.805e-05/0.6204, allocations: 180.2 kB / 0.6055 GB, free: 1.711 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.6205, allocations: 184.2 kB / 0.6057 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.628e-05/0.6206, allocations: 182 kB / 0.6058 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.384e-05/0.6207, allocations: 177.7 kB / 0.606 GB, free: 1.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002567/0.6233, allocations: 1.163 MB / 0.6071 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002485/0.6258, allocations: 0.9013 MB / 0.608 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00148/0.6273, allocations: 178.7 kB / 0.6082 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.6284, allocations: 108.4 kB / 0.6083 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.972e-05/0.6285, allocations: 184.2 kB / 0.6085 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.562e-05/0.6286, allocations: 105.9 kB / 0.6086 GB, free: 14.44 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.01963/0.6482, allocations: 7.138 MB / 0.6155 GB, free: 7.352 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.01e-07/0.6482, allocations: 0 / 0.6155 GB, free: 7.352 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005997/0.6542, allocations: 1.125 MB / 0.6166 GB, free: 6.223 MB / 462.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.002729/0.657, allocations: 1.712 MB / 0.6183 GB, free: 4.469 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003793/0.6608, allocations: 1.866 MB / 0.6201 GB, free: 2.629 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.6608, allocations: 0 / 0.6201 GB, free: 2.629 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.628e-06/0.6609, allocations: 0.75 kB / 0.6201 GB, free: 2.629 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0174/0.6783, allocations: 3.456 MB / 0.6235 GB, free: 15.18 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.333/1.011, allocations: 94.39 MB / 0.7157 GB, free: 190.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006694/1.018, allocations: 5.276 MB / 0.7208 GB, free: 189.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005959/1.024, allocations: 2.1 MB / 0.7229 GB, free: 189.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003927/1.028, allocations: 4.058 MB / 0.7268 GB, free: 186.1 MB / 0.545 GB Notification: Performance of SimCode: time 8.92e-07/1.028, allocations: 0 / 0.7268 GB, free: 186.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1971/1.225, allocations: 161.1 MB / 0.8842 GB, free: 34.44 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.91, allocations: 13.48 kB / 0.8842 GB, free: 34.43 MB / 0.545 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1)