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.001372/0.001372, allocations: 105.3 kB / 16.4 MB, free: 6.465 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.00137/0.00137, allocations: 189.5 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.408/1.408, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2169/0.2169, allocations: 43.52 MB / 314.1 MB, free: 452 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.002105/0.002105, allocations: 69.47 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1181, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01248/0.1307, allocations: 10.39 MB / 0.4975 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007021/0.1377, allocations: 3.025 MB / 0.5005 GB, free: 14.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001716/0.1395, allocations: 67.81 kB / 0.5006 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005356/0.1449, allocations: 2.679 MB / 0.5032 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003031/0.148, allocations: 1.027 MB / 0.5042 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008254/0.1488, allocations: 271.5 kB / 0.5044 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002644/0.1515, allocations: 1.517 MB / 0.5059 GB, free: 9.258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003505/0.155, allocations: 2.449 MB / 0.5083 GB, free: 6.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001808/0.1569, allocations: 0.9421 MB / 0.5092 GB, free: 5.824 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004763/0.1617, allocations: 3.316 MB / 0.5125 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005337/0.1622, allocations: 191.9 kB / 0.5127 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000774/0.163, allocations: 275.8 kB / 0.5129 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002565/0.1656, allocations: 2.919 MB / 0.5158 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003362/0.169, allocations: 3.345 MB / 0.519 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01014/0.1791, allocations: 9.801 MB / 0.5286 GB, free: 1.898 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1792, allocations: 0 / 0.5286 GB, free: 1.898 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1792, allocations: 0 / 0.5286 GB, free: 1.898 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002486/0.1794, allocations: 0 / 0.5286 GB, free: 1.898 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.2178/0.3972, allocations: 9.122 MB / 0.5375 GB, free: 33.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/0.3973, allocations: 14.44 kB / 0.5375 GB, free: 33.65 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001284/0.3986, allocations: 0.617 MB / 0.5381 GB, free: 33.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001879/0.4005, allocations: 1.026 MB / 0.5391 GB, free: 32.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006293/0.4068, allocations: 3.83 MB / 0.5429 GB, free: 30.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.184e-05/0.4069, allocations: 128.8 kB / 0.543 GB, free: 30.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002421/0.4071, allocations: 169 kB / 0.5432 GB, free: 30.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008532/0.4157, allocations: 6.602 MB / 0.5496 GB, free: 28.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.033e-05/0.4158, allocations: 11.41 kB / 0.5496 GB, free: 28.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/0.4159, allocations: 78.34 kB / 0.5497 GB, free: 27.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001632/0.4175, allocations: 1.562 MB / 0.5512 GB, free: 27.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007198/0.4248, allocations: 4.132 MB / 0.5552 GB, free: 26.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02465/0.4494, allocations: 20.32 MB / 0.5751 GB, free: 8.133 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.4509, allocations: 337.9 kB / 0.5754 GB, free: 7.797 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.477e-05/0.451, allocations: 56.83 kB / 0.5755 GB, free: 7.738 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004809/0.4558, allocations: 3.276 MB / 0.5787 GB, free: 4.102 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.4559, allocations: 113.8 kB / 0.5788 GB, free: 3.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.743e-06/0.4559, allocations: 0 / 0.5788 GB, free: 3.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.001544/0.4575, allocations: 0.8825 MB / 0.5796 GB, free: 3.086 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.4575, allocations: 126.7 kB / 0.5798 GB, free: 2.949 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02132/0.4788, allocations: 10.56 MB / 0.5901 GB, free: 8.441 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.4789, allocations: 25.7 kB / 0.5901 GB, free: 8.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006782/0.4857, allocations: 5.969 MB / 0.5959 GB, free: 2.414 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.4859, allocations: 87.91 kB / 0.596 GB, free: 2.328 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001161/0.487, allocations: 0.8338 MB / 0.5968 GB, free: 1.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.4872, allocations: 301.1 kB / 0.5971 GB, free: 1.184 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.4883, allocations: 0.7577 MB / 0.5979 GB, free: 428 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003812/0.4922, allocations: 4.006 MB / 0.6018 GB, free: 10.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005731/0.4979, allocations: 5.197 MB / 0.6068 GB, free: 3.879 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.924e-05/0.498, allocations: 36 kB / 0.6069 GB, free: 3.844 MB / 446.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008757/0.5068, allocations: 4.967 MB / 0.6117 GB, free: 14.87 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.5069, allocations: 56 kB / 0.6118 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001526/0.5071, allocations: 116 kB / 0.6119 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001827/0.5073, allocations: 152 kB / 0.612 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002501/0.5098, allocations: 0.994 MB / 0.613 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002188/0.51, allocations: 229.7 kB / 0.6132 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003947/0.514, allocations: 0.6165 MB / 0.6138 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004221/0.5144, allocations: 288 kB / 0.6141 GB, free: 12.43 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.005381/0.5198, allocations: 3.405 MB / 0.6174 GB, free: 9.016 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002211/0.522, allocations: 0.956 MB / 0.6184 GB, free: 8.047 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002578/0.5246, allocations: 1.019 MB / 0.6194 GB, free: 7.02 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.319e-05/0.5247, allocations: 176.3 kB / 0.6195 GB, free: 6.84 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.882e-05/0.5248, allocations: 180.2 kB / 0.6197 GB, free: 6.656 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.367e-05/0.5249, allocations: 184.3 kB / 0.6199 GB, free: 6.469 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01217/0.5371, allocations: 5.142 MB / 0.6249 GB, free: 1.258 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.498e-05/0.5372, allocations: 101 kB / 0.625 GB, free: 1.152 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.172e-05/0.5373, allocations: 105 kB / 0.6251 GB, free: 1.043 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-05/0.5374, allocations: 180.2 kB / 0.6253 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.314e-05/0.5375, allocations: 184.3 kB / 0.6254 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-05/0.5376, allocations: 184.2 kB / 0.6256 GB, free: 496 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001433/0.5377, allocations: 176.3 kB / 0.6258 GB, free: 312 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00216/0.5399, allocations: 1.207 MB / 0.627 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002659/0.5426, allocations: 0.9453 MB / 0.6279 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001679/0.5443, allocations: 188.2 kB / 0.6281 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001806/0.5461, allocations: 101 kB / 0.6282 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.296e-05/0.5462, allocations: 180.2 kB / 0.6283 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.414e-05/0.5462, allocations: 104.7 kB / 0.6284 GB, free: 13.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.01502/0.5613, allocations: 7.15 MB / 0.6354 GB, free: 6.406 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5613, allocations: 0 / 0.6354 GB, free: 6.406 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005232/0.5665, allocations: 1.145 MB / 0.6365 GB, free: 5.258 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.00248/0.5691, allocations: 1.748 MB / 0.6382 GB, free: 3.473 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003389/0.5725, allocations: 1.866 MB / 0.6401 GB, free: 1.633 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5725, allocations: 0 / 0.6401 GB, free: 1.633 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 6.002e-06/0.5725, allocations: 3.938 kB / 0.6401 GB, free: 1.629 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01578/0.5883, allocations: 3.468 MB / 0.6434 GB, free: 14.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1295/0.7178, allocations: 62.47 MB / 0.7045 GB, free: 11.47 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009622/0.7275, allocations: 5.274 MB / 0.7096 GB, free: 6.168 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006338/0.7339, allocations: 2.094 MB / 0.7117 GB, free: 4.066 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005685/0.7396, allocations: 4.065 MB / 0.7156 GB, free: 0 / 0.545 GB Notification: Performance of SimCode: time 1.923e-05/0.7396, allocations: 0 / 0.7156 GB, free: 0 / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.577/1.317, allocations: 154.3 MB / 0.8663 GB, free: 90.39 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 37.33/38.64, allocations: 6.469 kB / 0.8663 GB, free: 90.39 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)