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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002431/0.002436, allocations: 183.2 kB / 16.4 MB, free: 5.75 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.195/2.195, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.00116/0.001159, allocations: 95.27 kB / 270.9 MB, free: 8.363 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.5207/0.5207, allocations: 43.55 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000632/0.0006322, allocations: 16 kB / 431.5 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1292, allocations: 58.84 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.3689/0.4981, allocations: 47.92 MB / 0.5256 GB, free: 16.29 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02686/0.525, allocations: 10.39 MB / 0.5358 GB, free: 9.242 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01063/0.5357, allocations: 240.6 kB / 0.536 GB, free: 9.203 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00859/0.5444, allocations: 2.432 MB / 0.5384 GB, free: 8.398 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03511/0.5795, allocations: 7.016 MB / 0.5452 GB, free: 5.129 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003982/0.5836, allocations: 293.4 kB / 0.5455 GB, free: 5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003462/0.5871, allocations: 0.8972 MB / 0.5464 GB, free: 4.543 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006994/0.5941, allocations: 2.846 MB / 0.5492 GB, free: 3.434 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001619/0.5958, allocations: 0.5428 MB / 0.5497 GB, free: 3.203 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006665/0.6025, allocations: 2.12 MB / 0.5518 GB, free: 2.785 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009275/0.6035, allocations: 71.78 kB / 0.5518 GB, free: 2.785 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00195/0.6055, allocations: 312.9 kB / 0.5521 GB, free: 2.715 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005724/0.6113, allocations: 2.906 MB / 0.555 GB, free: 2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0035/0.6148, allocations: 1.392 MB / 0.5563 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01622/0.6311, allocations: 6.877 MB / 0.563 GB, free: 13.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.6312, allocations: 0 / 0.563 GB, free: 13.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.367e-06/0.6312, allocations: 0 / 0.563 GB, free: 13.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004906/0.6317, allocations: 0.9375 kB / 0.563 GB, free: 13.73 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.02881/0.6605, allocations: 8.002 MB / 0.5708 GB, free: 7.715 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.353e-05/0.6606, allocations: 8.031 kB / 0.5709 GB, free: 7.707 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002609/0.6633, allocations: 0.6235 MB / 0.5715 GB, free: 7.074 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003846/0.6671, allocations: 0.9705 MB / 0.5724 GB, free: 6.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01454/0.6817, allocations: 3.703 MB / 0.576 GB, free: 2.316 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002218/0.682, allocations: 135.3 kB / 0.5762 GB, free: 2.184 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006871/0.6827, allocations: 168.8 kB / 0.5763 GB, free: 2.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01881/0.7016, allocations: 6.624 MB / 0.5828 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.152e-05/0.7017, allocations: 11.88 kB / 0.5828 GB, free: 11.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002517/0.702, allocations: 75.94 kB / 0.5829 GB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002687/0.7047, allocations: 1.557 MB / 0.5844 GB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01263/0.7173, allocations: 4.164 MB / 0.5885 GB, free: 5.414 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04916/0.7665, allocations: 20.77 MB / 0.6087 GB, free: 388 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002761/0.7694, allocations: 342.2 kB / 0.6091 GB, free: 36 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009201/0.7786, allocations: 3.583 MB / 0.6126 GB, free: 12.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.297e-05/0.7787, allocations: 109.8 kB / 0.6127 GB, free: 11.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 2.845e-06/0.7787, allocations: 0 / 0.6127 GB, free: 11.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 0.002584/0.7813, allocations: 0.8424 MB / 0.6135 GB, free: 11.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.248e-05/0.7815, allocations: 126.7 kB / 0.6136 GB, free: 10.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03031/0.8118, allocations: 10.59 MB / 0.624 GB, free: 452 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.8119, allocations: 29.64 kB / 0.624 GB, free: 416 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007785/0.8197, allocations: 5.033 MB / 0.6289 GB, free: 11.33 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.8199, allocations: 95.91 kB / 0.629 GB, free: 11.24 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002884/0.8202, allocations: 84 kB / 0.6291 GB, free: 11.16 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003389/0.8205, allocations: 487.9 kB / 0.6295 GB, free: 10.67 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002045/0.8226, allocations: 0.742 MB / 0.6303 GB, free: 9.918 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005042/0.8277, allocations: 3.968 MB / 0.6341 GB, free: 4.266 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004074/0.8318, allocations: 1.615 MB / 0.6357 GB, free: 2.648 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.455e-05/0.8319, allocations: 32 kB / 0.6357 GB, free: 2.617 MB / 458.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01163/0.8436, allocations: 4.23 MB / 0.6399 GB, free: 14.38 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.8437, allocations: 57.88 kB / 0.6399 GB, free: 14.33 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001767/0.8439, allocations: 121.3 kB / 0.64 GB, free: 14.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002303/0.8442, allocations: 168 kB / 0.6402 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005143/0.8493, allocations: 0.9863 MB / 0.6412 GB, free: 13.06 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002594/0.8496, allocations: 231 kB / 0.6414 GB, free: 12.83 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006527/0.8562, allocations: 0.6695 MB / 0.642 GB, free: 12.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007589/0.857, allocations: 288 kB / 0.6423 GB, free: 11.88 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.008947/0.8659, allocations: 3.409 MB / 0.6456 GB, free: 8.449 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002247/0.8682, allocations: 0.912 MB / 0.6465 GB, free: 7.52 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003128/0.8714, allocations: 1.019 MB / 0.6475 GB, free: 6.492 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.32e-05/0.8715, allocations: 184.2 kB / 0.6477 GB, free: 6.305 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.2e-05/0.8716, allocations: 176.3 kB / 0.6479 GB, free: 6.125 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.9e-05/0.8717, allocations: 188.2 kB / 0.6481 GB, free: 5.934 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01574/0.8874, allocations: 5.134 MB / 0.6531 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.575e-05/0.8875, allocations: 101 kB / 0.6532 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.795e-05/0.8876, allocations: 108.9 kB / 0.6533 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.867e-05/0.8877, allocations: 184.2 kB / 0.6534 GB, free: 336 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.03e-05/0.8878, allocations: 180.2 kB / 0.6536 GB, free: 148 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.519e-05/0.8879, allocations: 176.3 kB / 0.6538 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.916e-05/0.888, allocations: 180.3 kB / 0.654 GB, free: 15.78 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002305/0.8903, allocations: 1.163 MB / 0.6551 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003537/0.8939, allocations: 1.225 MB / 0.6563 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002153/0.8961, allocations: 180.3 kB / 0.6565 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003435/0.8995, allocations: 173 kB / 0.6566 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.099e-05/0.8997, allocations: 188.2 kB / 0.6568 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-05/0.8997, allocations: 101 kB / 0.6569 GB, free: 12.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0226/0.9223, allocations: 7.189 MB / 0.6639 GB, free: 5.527 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.103e-06/0.9224, allocations: 0 / 0.6639 GB, free: 5.527 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006945/0.9294, allocations: 1.143 MB / 0.665 GB, free: 4.379 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.003151/0.9326, allocations: 1.739 MB / 0.6667 GB, free: 2.602 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004854/0.9375, allocations: 1.855 MB / 0.6685 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.9375, allocations: 0 / 0.6685 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.961e-06/0.9375, allocations: 368 / 0.6685 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02266/0.9602, allocations: 3.279 MB / 0.6717 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6792/1.639, allocations: 164.3 MB / 0.8322 GB, free: 16.87 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01518/1.655, allocations: 5.456 MB / 0.8376 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008686/1.663, allocations: 4.185 MB / 0.8416 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of SimCode: time 1.764e-06/1.664, allocations: 1.625 kB / 0.8416 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.646/9.31, allocations: 200.9 MB / 1.038 GB, free: 27.86 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_ColorMaps_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1)