Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001485/0.001484, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001604/0.001604, allocations: 199.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2384/0.2384, allocations: 46.12 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 83.86 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.424, allocations: 62.43 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01329/0.4374, allocations: 10.37 MB / 0.5407 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007881/0.4453, allocations: 3.074 MB / 0.5437 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002205/0.4475, allocations: 66.91 kB / 0.5438 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005657/0.4532, allocations: 2.683 MB / 0.5464 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003367/0.4567, allocations: 1.03 MB / 0.5474 GB, free: 304 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009235/0.4576, allocations: 261.3 kB / 0.5477 GB, free: 128 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002905/0.4605, allocations: 1.519 MB / 0.5491 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003473/0.464, allocations: 2.453 MB / 0.5515 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001849/0.4659, allocations: 0.9265 MB / 0.5524 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006657/0.4726, allocations: 3.325 MB / 0.5557 GB, free: 7.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009491/0.4736, allocations: 184 kB / 0.5559 GB, free: 7.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.4748, allocations: 267.8 kB / 0.5561 GB, free: 7.488 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003223/0.4781, allocations: 2.927 MB / 0.559 GB, free: 4.555 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003977/0.4821, allocations: 3.333 MB / 0.5622 GB, free: 1.195 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01271/0.4948, allocations: 9.805 MB / 0.5718 GB, free: 7.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/0.4949, allocations: 3.938 kB / 0.5718 GB, free: 7.336 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4949, allocations: 3.938 kB / 0.5718 GB, free: 7.332 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003415/0.4952, allocations: 0 / 0.5718 GB, free: 7.332 MB / 430.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.01571/0.511, allocations: 9.114 MB / 0.5807 GB, free: 14.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.511, allocations: 12.03 kB / 0.5807 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001171/0.5122, allocations: 0.6195 MB / 0.5813 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/0.5137, allocations: 1.024 MB / 0.5823 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0069/0.5206, allocations: 3.827 MB / 0.5861 GB, free: 8.535 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.5208, allocations: 135.3 kB / 0.5862 GB, free: 8.402 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003266/0.5212, allocations: 164 kB / 0.5864 GB, free: 8.242 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01007/0.5312, allocations: 6.601 MB / 0.5928 GB, free: 1.461 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.469e-05/0.5313, allocations: 15.92 kB / 0.5928 GB, free: 1.445 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/0.5315, allocations: 71.95 kB / 0.5929 GB, free: 1.375 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001857/0.5334, allocations: 1.557 MB / 0.5944 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00811/0.5415, allocations: 4.136 MB / 0.5984 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03196/0.5735, allocations: 20.31 MB / 0.6183 GB, free: 7.105 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/0.5751, allocations: 338.2 kB / 0.6186 GB, free: 6.766 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.5753, allocations: 56.83 kB / 0.6187 GB, free: 6.707 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006139/0.5814, allocations: 3.269 MB / 0.6218 GB, free: 3.074 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.153e-05/0.5816, allocations: 121.9 kB / 0.622 GB, free: 2.945 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 2.174e-06/0.5816, allocations: 0 / 0.622 GB, free: 2.945 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.001486/0.5831, allocations: 0.8825 MB / 0.6228 GB, free: 2.051 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.946e-05/0.5832, allocations: 126.7 kB / 0.6229 GB, free: 1.914 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02182/0.605, allocations: 10.55 MB / 0.6332 GB, free: 7.418 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.6051, allocations: 25.7 kB / 0.6333 GB, free: 7.387 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006832/0.6119, allocations: 5.954 MB / 0.6391 GB, free: 1.402 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002319/0.6122, allocations: 95.91 kB / 0.6392 GB, free: 1.309 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001075/0.6132, allocations: 0.8261 MB / 0.64 GB, free: 480 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.6134, allocations: 309.1 kB / 0.6403 GB, free: 168 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.6146, allocations: 0.7616 MB / 0.641 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004002/0.6186, allocations: 4.003 MB / 0.6449 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006472/0.6251, allocations: 5.201 MB / 0.65 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.039e-05/0.6252, allocations: 32 kB / 0.65 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.009682/0.6349, allocations: 4.964 MB / 0.6549 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.811e-05/0.6351, allocations: 58.81 kB / 0.6549 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001529/0.6352, allocations: 116 kB / 0.6551 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001806/0.6354, allocations: 152 kB / 0.6552 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00285/0.6383, allocations: 0.9824 MB / 0.6562 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002094/0.6385, allocations: 231.1 kB / 0.6564 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004065/0.6426, allocations: 0.6244 MB / 0.657 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004563/0.6431, allocations: 284 kB / 0.6573 GB, free: 11.41 MB / 0.5137 GB 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.005757/0.6488, allocations: 3.405 MB / 0.6606 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001632/0.6505, allocations: 0.9638 MB / 0.6615 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002379/0.6529, allocations: 1.027 MB / 0.6625 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-05/0.653, allocations: 180.2 kB / 0.6627 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-05/0.6531, allocations: 176.3 kB / 0.6629 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-05/0.6532, allocations: 184.2 kB / 0.663 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/0.6644, allocations: 5.134 MB / 0.6681 GB, free: 232 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.852e-05/0.6645, allocations: 105 kB / 0.6682 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.182e-05/0.6646, allocations: 108.9 kB / 0.6683 GB, free: 4 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001039/0.6647, allocations: 180.3 kB / 0.6684 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.876e-05/0.6648, allocations: 184.2 kB / 0.6686 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.737e-05/0.6649, allocations: 180.2 kB / 0.6688 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.484e-05/0.665, allocations: 176.3 kB / 0.669 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.6667, allocations: 1.203 MB / 0.6701 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002055/0.6688, allocations: 0.9453 MB / 0.6711 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009553/0.6697, allocations: 184.2 kB / 0.6712 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/0.671, allocations: 101 kB / 0.6713 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.92e-05/0.6711, allocations: 184.2 kB / 0.6715 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.613e-05/0.6712, allocations: 108.9 kB / 0.6716 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0147/0.6859, allocations: 7.142 MB / 0.6786 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.81e-07/0.686, allocations: 0 / 0.6786 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005164/0.6911, allocations: 1.141 MB / 0.6797 GB, free: 4.23 MB / 0.5294 GB 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.002449/0.6936, allocations: 1.752 MB / 0.6814 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003759/0.6974, allocations: 1.867 MB / 0.6832 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.6974, allocations: 0 / 0.6832 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.057e-06/0.6975, allocations: 4.188 kB / 0.6832 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0153/0.7128, allocations: 3.459 MB / 0.6866 GB, free: 13.13 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.706/1.419, allocations: 62.44 MB / 0.7476 GB, free: 157.9 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0101/1.429, allocations: 5.27 MB / 0.7527 GB, free: 155.2 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007771/1.437, allocations: 2.1 MB / 0.7548 GB, free: 154.5 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006763/1.444, allocations: 4.062 MB / 0.7588 GB, free: 150.8 MB / 0.5763 GB Notification: Performance of SimCode: time 1.352e-06/1.444, allocations: 3.469 kB / 0.7588 GB, free: 150.8 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2189/1.663, allocations: 154.3 MB / 0.9095 GB, free: 0.5938 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 40.9/42.57, allocations: 9.359 kB / 0.9095 GB, free: 0.5859 MB / 0.5763 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1)