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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 101.1 kB / 16.26 MB, free: 5.93 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.001585/0.001585, allocations: 190.9 kB / 17.2 MB, free: 5.574 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.448/1.448, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2208/0.2208, 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.001807/0.001807, allocations: 62.7 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1229, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01123/0.1342, allocations: 10.39 MB / 451 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007449/0.1417, allocations: 3.025 MB / 454 MB, free: 9.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002185/0.1439, allocations: 67.81 kB / 454.1 MB, free: 9.266 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005777/0.1497, allocations: 2.679 MB / 456.8 MB, free: 6.578 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002952/0.1528, allocations: 1.031 MB / 457.8 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009745/0.1538, allocations: 263.6 kB / 458.1 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002641/0.1564, allocations: 1.522 MB / 459.6 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00357/0.16, allocations: 2.445 MB / 462 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001684/0.1617, allocations: 0.9499 MB / 463 MB, free: 328 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004337/0.1661, allocations: 3.312 MB / 466.3 MB, free: 13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006787/0.1668, allocations: 188 kB / 466.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.168, allocations: 267.8 kB / 466.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002759/0.1707, allocations: 2.919 MB / 469.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005126/0.1759, allocations: 3.337 MB / 473 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0102/0.1861, allocations: 9.222 MB / 482.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/0.1862, allocations: 0 / 482.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.736e-06/0.1862, allocations: 0 / 482.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004474/0.1867, allocations: 0 / 482.2 MB, free: 13.01 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.01966/0.2063, allocations: 8.781 MB / 491 MB, free: 4.125 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.945e-05/0.2064, allocations: 11.89 kB / 491 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001896/0.2083, allocations: 0.6196 MB / 491.6 MB, free: 3.484 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002026/0.2104, allocations: 0.9666 MB / 492.6 MB, free: 2.504 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006287/0.2167, allocations: 3.722 MB / 496.3 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.2169, allocations: 143.3 kB / 496.5 MB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004216/0.2173, allocations: 163.9 kB / 496.6 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009736/0.227, allocations: 6.601 MB / 0.4914 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.854e-05/0.2271, allocations: 11.92 kB / 0.4914 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000336/0.2275, allocations: 79.94 kB / 0.4915 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001725/0.2292, allocations: 1.564 MB / 0.493 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007822/0.2371, allocations: 4.128 MB / 0.4971 GB, free: 1.848 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02892/0.266, allocations: 20.4 MB / 0.517 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.2676, allocations: 334.2 kB / 0.5173 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.2677, allocations: 60.83 kB / 0.5174 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005414/0.2732, allocations: 3.272 MB / 0.5206 GB, free: 9.145 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/0.2732, allocations: 105.8 kB / 0.5207 GB, free: 9.031 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.864e-06/0.2732, allocations: 0 / 0.5207 GB, free: 9.031 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.001396/0.2746, allocations: 0.8385 MB / 0.5215 GB, free: 8.176 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.2747, allocations: 126.7 kB / 0.5216 GB, free: 8.039 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3532/0.6279, allocations: 10.54 MB / 0.5319 GB, free: 78.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.6279, allocations: 27.42 kB / 0.5319 GB, free: 78.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004568/0.6325, allocations: 5.836 MB / 0.5376 GB, free: 75.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.6327, allocations: 100.5 kB / 0.5377 GB, free: 75.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008158/0.6335, allocations: 0.8194 MB / 0.5385 GB, free: 75.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.4e-05/0.6336, allocations: 306.1 kB / 0.5388 GB, free: 75.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.6346, allocations: 0.7622 MB / 0.5396 GB, free: 74.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002464/0.6371, allocations: 4.001 MB / 0.5435 GB, free: 70.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004132/0.6412, allocations: 5.2 MB / 0.5485 GB, free: 64.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.433e-05/0.6413, allocations: 31.66 kB / 0.5486 GB, free: 64.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.009059/0.6503, allocations: 4.923 MB / 0.5534 GB, free: 63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.211e-05/0.6504, allocations: 55.06 kB / 0.5534 GB, free: 63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001259/0.6506, allocations: 117.8 kB / 0.5535 GB, free: 63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001985/0.6508, allocations: 151.4 kB / 0.5537 GB, free: 63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002304/0.6531, allocations: 0.9867 MB / 0.5547 GB, free: 62.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001497/0.6532, allocations: 230.1 kB / 0.5549 GB, free: 62.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004068/0.6573, allocations: 0.6006 MB / 0.5555 GB, free: 62.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003361/0.6577, allocations: 285.8 kB / 0.5557 GB, free: 62.41 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.004558/0.6622, allocations: 3.41 MB / 0.5591 GB, free: 61.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008924/0.6631, allocations: 0.9072 MB / 0.5599 GB, free: 60.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/0.6645, allocations: 1.024 MB / 0.5609 GB, free: 60.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.822e-05/0.6645, allocations: 187.7 kB / 0.5611 GB, free: 59.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.372e-05/0.6645, allocations: 176.3 kB / 0.5613 GB, free: 59.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.694e-05/0.6646, allocations: 188.1 kB / 0.5615 GB, free: 59.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005202/0.6698, allocations: 5.136 MB / 0.5665 GB, free: 57.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/0.6698, allocations: 101 kB / 0.5666 GB, free: 57.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.685e-05/0.6698, allocations: 104.9 kB / 0.5667 GB, free: 57.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.674e-05/0.6699, allocations: 184 kB / 0.5669 GB, free: 57.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/0.6699, allocations: 180.2 kB / 0.567 GB, free: 56.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-05/0.6699, allocations: 184.1 kB / 0.5672 GB, free: 56.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.397e-05/0.67, allocations: 180.3 kB / 0.5674 GB, free: 56.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006864/0.6707, allocations: 1.157 MB / 0.5685 GB, free: 55.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009597/0.6716, allocations: 0.9052 MB / 0.5694 GB, free: 55.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004306/0.6721, allocations: 180.8 kB / 0.5696 GB, free: 54.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007065/0.6728, allocations: 108.8 kB / 0.5697 GB, free: 54.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.6728, allocations: 184 kB / 0.5698 GB, free: 54.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.6728, allocations: 102.6 kB / 0.5699 GB, free: 54.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.008089/0.6809, allocations: 7.15 MB / 0.5769 GB, free: 47.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.681, allocations: 0 / 0.5769 GB, free: 47.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004337/0.6853, allocations: 1.124 MB / 0.578 GB, free: 46.67 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.001051/0.6864, allocations: 1.708 MB / 0.5797 GB, free: 44.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00301/0.6894, allocations: 1.868 MB / 0.5815 GB, free: 43.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.6894, allocations: 0 / 0.5815 GB, free: 43.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/0.6894, allocations: 3.938 kB / 0.5815 GB, free: 43.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01435/0.7038, allocations: 3.451 MB / 0.5849 GB, free: 39.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1197/0.8235, allocations: 94.47 MB / 0.6771 GB, free: 15.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009368/0.8329, allocations: 5.277 MB / 0.6823 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007136/0.8401, allocations: 2.099 MB / 0.6843 GB, free: 8.418 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005801/0.8459, allocations: 4.061 MB / 0.6883 GB, free: 4.355 MB / 494.1 MB Notification: Performance of SimCode: time 1.373e-06/0.8459, allocations: 0 / 0.6883 GB, free: 4.355 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4863/1.332, allocations: 161.1 MB / 0.8456 GB, free: 70.18 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/13.56, allocations: 11 kB / 0.8456 GB, free: 70.17 MB / 0.5138 GB (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1)