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.001406/0.001406, allocations: 101.8 kB / 16.27 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.001602/0.001602, allocations: 189.5 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.431/1.431, 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.2152/0.2152, allocations: 43.52 MB / 313.9 MB, free: 0.5234 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.001669/0.001669, allocations: 66.19 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1136, allocations: 57.79 MB / 440.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.009623/0.1233, allocations: 10.38 MB / 451 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007063/0.1304, allocations: 3.029 MB / 454 MB, free: 9.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002515/0.1329, allocations: 67.81 kB / 454.1 MB, free: 9.273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005678/0.1387, allocations: 2.679 MB / 456.8 MB, free: 6.586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003093/0.1418, allocations: 1.027 MB / 457.8 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009302/0.1428, allocations: 263.6 kB / 458.1 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002571/0.1454, allocations: 1.522 MB / 459.6 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00333/0.1487, allocations: 2.453 MB / 462 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001697/0.1504, allocations: 0.9421 MB / 463 MB, free: 340 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004373/0.1548, allocations: 3.312 MB / 466.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008414/0.1557, allocations: 188 kB / 466.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.1569, allocations: 275.8 kB / 466.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002914/0.1598, allocations: 2.923 MB / 469.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00508/0.1649, allocations: 3.329 MB / 473 MB, free: 6.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008855/0.1738, allocations: 9.218 MB / 482.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1738, allocations: 0 / 482.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1738, allocations: 0 / 482.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002598/0.1741, allocations: 0 / 482.2 MB, free: 13.02 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.01254/0.1866, allocations: 8.781 MB / 491 MB, free: 4.137 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.1867, allocations: 11.89 kB / 491 MB, free: 4.125 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008734/0.1876, allocations: 0.6157 MB / 491.6 MB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/0.1889, allocations: 0.9705 MB / 492.6 MB, free: 2.516 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005115/0.194, allocations: 3.722 MB / 496.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.1942, allocations: 135.3 kB / 496.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/0.1944, allocations: 175.9 kB / 496.6 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008091/0.2025, allocations: 6.604 MB / 0.4914 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.127e-05/0.2026, allocations: 7.938 kB / 0.4914 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/0.2027, allocations: 75.94 kB / 0.4915 GB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0016/0.2043, allocations: 1.561 MB / 0.493 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006797/0.2111, allocations: 4.133 MB / 0.4971 GB, free: 1.855 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02921/0.2404, allocations: 20.39 MB / 0.517 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.242, allocations: 338.2 kB / 0.5173 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.2421, allocations: 64.84 kB / 0.5174 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005142/0.2473, allocations: 3.268 MB / 0.5206 GB, free: 9.156 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.859e-05/0.2474, allocations: 105.8 kB / 0.5207 GB, free: 9.043 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.743e-06/0.2474, allocations: 0 / 0.5207 GB, free: 9.043 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.001386/0.2488, allocations: 0.8346 MB / 0.5215 GB, free: 8.191 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/0.2488, allocations: 130.7 kB / 0.5216 GB, free: 8.051 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3486/0.5974, allocations: 10.54 MB / 0.5319 GB, free: 78.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.5975, allocations: 25.7 kB / 0.5319 GB, free: 78.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004279/0.6018, allocations: 5.842 MB / 0.5376 GB, free: 75.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.6019, allocations: 96.52 kB / 0.5377 GB, free: 75.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008292/0.6028, allocations: 0.8171 MB / 0.5385 GB, free: 75.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.555e-05/0.6028, allocations: 305.6 kB / 0.5388 GB, free: 75.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009871/0.6038, allocations: 0.7608 MB / 0.5395 GB, free: 75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002229/0.606, allocations: 3.995 MB / 0.5434 GB, free: 70.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004438/0.6105, allocations: 5.205 MB / 0.5485 GB, free: 65.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.837e-05/0.6106, allocations: 35.88 kB / 0.5486 GB, free: 65.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008324/0.6189, allocations: 4.925 MB / 0.5534 GB, free: 63.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.727e-05/0.619, allocations: 58.36 kB / 0.5534 GB, free: 63.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001031/0.6191, allocations: 117.8 kB / 0.5535 GB, free: 63.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001688/0.6193, allocations: 147.9 kB / 0.5537 GB, free: 63.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002151/0.6215, allocations: 0.9873 MB / 0.5546 GB, free: 62.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001422/0.6216, allocations: 230.8 kB / 0.5549 GB, free: 62.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003438/0.6251, allocations: 0.6051 MB / 0.5555 GB, free: 62.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00032/0.6254, allocations: 286.8 kB / 0.5557 GB, free: 62.53 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.003884/0.6293, allocations: 3.4 MB / 0.5591 GB, free: 61.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008351/0.6301, allocations: 0.9085 MB / 0.5599 GB, free: 60.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.6315, allocations: 1.028 MB / 0.5609 GB, free: 60.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.803e-05/0.6315, allocations: 191.5 kB / 0.5611 GB, free: 60.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-05/0.6316, allocations: 176.3 kB / 0.5613 GB, free: 59.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.539e-05/0.6316, allocations: 180.3 kB / 0.5615 GB, free: 59.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005376/0.637, allocations: 5.137 MB / 0.5665 GB, free: 57.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.186e-05/0.637, allocations: 108.7 kB / 0.5666 GB, free: 57.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.165e-05/0.6371, allocations: 104.9 kB / 0.5667 GB, free: 57.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.769e-05/0.6371, allocations: 176.3 kB / 0.5669 GB, free: 57.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.759e-05/0.6372, allocations: 180.2 kB / 0.567 GB, free: 57.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.123e-05/0.6372, allocations: 187.8 kB / 0.5672 GB, free: 56.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-05/0.6372, allocations: 180.2 kB / 0.5674 GB, free: 56.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008041/0.638, allocations: 1.154 MB / 0.5685 GB, free: 55.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/0.6391, allocations: 0.9062 MB / 0.5694 GB, free: 55.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004259/0.6395, allocations: 176.3 kB / 0.5696 GB, free: 54.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007125/0.6402, allocations: 112.4 kB / 0.5697 GB, free: 54.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.6402, allocations: 192.8 kB / 0.5698 GB, free: 54.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.6403, allocations: 101 kB / 0.5699 GB, free: 54.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.008126/0.6484, allocations: 7.145 MB / 0.5769 GB, free: 47.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.052e-06/0.6484, allocations: 0 / 0.5769 GB, free: 47.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004046/0.6525, allocations: 1.124 MB / 0.578 GB, free: 46.85 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.0009528/0.6535, allocations: 1.708 MB / 0.5797 GB, free: 45.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002476/0.6559, allocations: 1.868 MB / 0.5815 GB, free: 43.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.656, allocations: 0 / 0.5815 GB, free: 43.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.555e-06/0.656, allocations: 4 kB / 0.5815 GB, free: 43.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01135/0.6673, allocations: 3.45 MB / 0.5849 GB, free: 40.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1115/0.7788, allocations: 94.47 MB / 0.6771 GB, free: 15.99 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01014/0.789, allocations: 5.276 MB / 0.6823 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007868/0.797, allocations: 2.091 MB / 0.6843 GB, free: 8.605 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005854/0.8028, allocations: 4.065 MB / 0.6883 GB, free: 4.539 MB / 494.1 MB Notification: Performance of SimCode: time 7.82e-07/0.8029, allocations: 0 / 0.6883 GB, free: 4.539 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4274/1.23, allocations: 161.1 MB / 0.8456 GB, free: 70.79 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/14.68, allocations: 7.188 kB / 0.8456 GB, free: 70.78 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_ColorMaps_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1)