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.001058/0.001058, allocations: 103.8 kB / 16.41 MB, free: 6.457 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.001008/0.001008, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.283/1.283, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.21/0.21, allocations: 43.52 MB / 314.1 MB, free: 448 kB / 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.001568/0.001568, allocations: 69.45 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09978/0.1014, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01151/0.1129, allocations: 10.39 MB / 0.4975 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006967/0.1199, allocations: 3.018 MB / 0.5005 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/0.1219, allocations: 67.81 kB / 0.5006 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005394/0.1274, allocations: 2.683 MB / 0.5032 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002886/0.1303, allocations: 1.066 MB / 0.5042 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008398/0.1312, allocations: 267.5 kB / 0.5045 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002366/0.1335, allocations: 1.521 MB / 0.506 GB, free: 9.199 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00319/0.1368, allocations: 2.453 MB / 0.5083 GB, free: 6.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001711/0.1385, allocations: 0.9069 MB / 0.5092 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004231/0.1428, allocations: 3.332 MB / 0.5125 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006132/0.1434, allocations: 188 kB / 0.5127 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009006/0.1443, allocations: 275.8 kB / 0.5129 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002537/0.1469, allocations: 2.97 MB / 0.5158 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003865/0.1508, allocations: 3.345 MB / 0.5191 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01031/0.1611, allocations: 9.816 MB / 0.5287 GB, free: 1.793 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1612, allocations: 0 / 0.5287 GB, free: 1.793 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.367e-06/0.1612, allocations: 0 / 0.5287 GB, free: 1.793 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002863/0.1615, allocations: 0 / 0.5287 GB, free: 1.793 MB / 414.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.2273/0.3888, allocations: 9.117 MB / 0.5376 GB, free: 33.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3888, allocations: 13.88 kB / 0.5376 GB, free: 33.6 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001249/0.3901, allocations: 0.6165 MB / 0.5382 GB, free: 33.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/0.3917, allocations: 1.026 MB / 0.5392 GB, free: 32.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006305/0.3981, allocations: 3.834 MB / 0.5429 GB, free: 30.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.3982, allocations: 123.4 kB / 0.5431 GB, free: 30.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002783/0.3985, allocations: 168.5 kB / 0.5432 GB, free: 30.67 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009335/0.4078, allocations: 6.605 MB / 0.5497 GB, free: 27.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.549e-05/0.4079, allocations: 11.12 kB / 0.5497 GB, free: 27.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002125/0.4082, allocations: 78.44 kB / 0.5498 GB, free: 27.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001793/0.41, allocations: 1.565 MB / 0.5513 GB, free: 27.63 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008472/0.4185, allocations: 4.136 MB / 0.5553 GB, free: 26.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0364/0.4549, allocations: 20.32 MB / 0.5752 GB, free: 8.066 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/0.4575, allocations: 337.9 kB / 0.5755 GB, free: 7.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.4577, allocations: 64.86 kB / 0.5756 GB, free: 7.664 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007865/0.4656, allocations: 3.282 MB / 0.5788 GB, free: 4.023 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.4657, allocations: 109.8 kB / 0.5789 GB, free: 3.906 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 2.775e-06/0.4657, allocations: 0 / 0.5789 GB, free: 3.906 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.002151/0.4679, allocations: 0.8786 MB / 0.5797 GB, free: 3.016 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.4679, allocations: 126.7 kB / 0.5798 GB, free: 2.879 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0257/0.4937, allocations: 10.56 MB / 0.5902 GB, free: 8.375 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.4937, allocations: 29.64 kB / 0.5902 GB, free: 8.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006503/0.5002, allocations: 5.966 MB / 0.596 GB, free: 2.344 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.5004, allocations: 91.91 kB / 0.5961 GB, free: 2.254 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009593/0.5014, allocations: 0.8299 MB / 0.5969 GB, free: 1.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.5015, allocations: 301.1 kB / 0.5972 GB, free: 1.113 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.5025, allocations: 0.7616 MB / 0.5979 GB, free: 352 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003218/0.5057, allocations: 4.002 MB / 0.6018 GB, free: 10.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00515/0.5109, allocations: 5.204 MB / 0.6069 GB, free: 3.801 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-05/0.511, allocations: 36 kB / 0.607 GB, free: 3.766 MB / 446.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008679/0.5197, allocations: 4.964 MB / 0.6118 GB, free: 14.79 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.798e-05/0.5198, allocations: 52 kB / 0.6119 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001192/0.52, allocations: 120 kB / 0.612 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000142/0.5201, allocations: 152 kB / 0.6121 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002527/0.5226, allocations: 0.9855 MB / 0.6131 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001699/0.5228, allocations: 227.1 kB / 0.6133 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004368/0.5272, allocations: 0.6208 MB / 0.6139 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004543/0.5277, allocations: 284 kB / 0.6142 GB, free: 12.37 MB / 462.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.005063/0.5328, allocations: 3.417 MB / 0.6175 GB, free: 8.941 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001813/0.5346, allocations: 0.9522 MB / 0.6184 GB, free: 7.977 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002205/0.5368, allocations: 1.023 MB / 0.6194 GB, free: 6.945 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.769e-05/0.5369, allocations: 176.3 kB / 0.6196 GB, free: 6.766 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.728e-05/0.537, allocations: 176.3 kB / 0.6198 GB, free: 6.586 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.421e-05/0.5371, allocations: 180.2 kB / 0.62 GB, free: 6.402 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009037/0.5461, allocations: 5.146 MB / 0.625 GB, free: 1.188 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.494e-05/0.5462, allocations: 104.9 kB / 0.6251 GB, free: 1.078 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.128e-05/0.5462, allocations: 105 kB / 0.6252 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-05/0.5463, allocations: 176.3 kB / 0.6253 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.657e-05/0.5463, allocations: 184.2 kB / 0.6255 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.108e-05/0.5464, allocations: 176.3 kB / 0.6257 GB, free: 432 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.371e-05/0.5465, allocations: 188.2 kB / 0.6259 GB, free: 236 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.5482, allocations: 1.203 MB / 0.627 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002366/0.5506, allocations: 0.9453 MB / 0.628 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001249/0.5519, allocations: 184.3 kB / 0.6281 GB, free: 13.83 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/0.5533, allocations: 108.9 kB / 0.6282 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.118e-05/0.5534, allocations: 176.3 kB / 0.6284 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.5534, allocations: 108.9 kB / 0.6285 GB, free: 13.43 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.01346/0.5669, allocations: 7.146 MB / 0.6355 GB, free: 6.332 MB / 478.1 MB Notification: Performance of sort global known variables: time 4e-07/0.5669, allocations: 3.938 kB / 0.6355 GB, free: 6.328 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004981/0.5719, allocations: 1.141 MB / 0.6366 GB, free: 5.184 MB / 478.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.002378/0.5743, allocations: 1.748 MB / 0.6383 GB, free: 3.398 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003115/0.5775, allocations: 1.867 MB / 0.6401 GB, free: 1.559 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.5775, allocations: 0 / 0.6401 GB, free: 1.559 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 4.138e-06/0.5775, allocations: 0 / 0.6401 GB, free: 1.559 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01528/0.5928, allocations: 3.455 MB / 0.6435 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.112/0.7049, allocations: 62.48 MB / 0.7045 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00872/0.7136, allocations: 5.285 MB / 0.7097 GB, free: 6.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00601/0.7197, allocations: 2.098 MB / 0.7117 GB, free: 3.984 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005091/0.7248, allocations: 4.057 MB / 0.7157 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.7248, allocations: 0 / 0.7157 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5761/1.301, allocations: 154.3 MB / 0.8664 GB, free: 90.55 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 34.41/35.71, allocations: 15.12 kB / 0.8664 GB, free: 90.54 MB / 0.5763 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)