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.00102/0.00102, allocations: 97.3 kB / 15.69 MB, free: 484 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 175.1 kB / 16.56 MB, free: 6.387 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.582/1.582, allocations: 205.4 MB / 222.7 MB, free: 5.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4003/0.4003, allocations: 43.55 MB / 314.5 MB, free: 9.016 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.0005394/0.0005396, allocations: 16 kB / 384 MB, free: 8.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1248, allocations: 58.86 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.279/0.4038, allocations: 47.92 MB / 490.8 MB, free: 21.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02574/0.4296, allocations: 10.39 MB / 0.4894 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01158/0.4412, allocations: 239.2 kB / 0.4896 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009283/0.4505, allocations: 2.429 MB / 0.492 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.023/0.4736, allocations: 7.023 MB / 0.4989 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003246/0.4768, allocations: 282.3 kB / 0.4991 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003423/0.4803, allocations: 0.8985 MB / 0.5 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004995/0.4853, allocations: 2.843 MB / 0.5028 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.4865, allocations: 0.5416 MB / 0.5033 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003687/0.4902, allocations: 2.126 MB / 0.5054 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005984/0.4908, allocations: 71.59 kB / 0.5055 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.492, allocations: 308.2 kB / 0.5058 GB, free: 7.441 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003766/0.4958, allocations: 2.903 MB / 0.5086 GB, free: 6.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00294/0.4987, allocations: 1.392 MB / 0.5099 GB, free: 5.676 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009588/0.5084, allocations: 6.892 MB / 0.5167 GB, free: 2.094 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5084, allocations: 0 / 0.5167 GB, free: 2.094 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5084, allocations: 0 / 0.5167 GB, free: 2.094 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004765/0.5089, allocations: 0 / 0.5167 GB, free: 2.094 MB / 382.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.01855/0.5274, allocations: 7.993 MB / 0.5245 GB, free: 12.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.358e-05/0.5275, allocations: 9.031 kB / 0.5245 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002325/0.5298, allocations: 0.627 MB / 0.5251 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00276/0.5326, allocations: 0.9682 MB / 0.5261 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01008/0.5427, allocations: 3.702 MB / 0.5297 GB, free: 6.969 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.5429, allocations: 131.3 kB / 0.5298 GB, free: 6.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002713/0.5432, allocations: 171.9 kB / 0.53 GB, free: 6.672 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01185/0.5551, allocations: 6.628 MB / 0.5364 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.518e-05/0.5552, allocations: 3.938 kB / 0.5364 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001648/0.5553, allocations: 75.94 kB / 0.5365 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001791/0.5571, allocations: 1.564 MB / 0.538 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009647/0.5668, allocations: 4.16 MB / 0.5421 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03978/0.6066, allocations: 20.78 MB / 0.5624 GB, free: 5.012 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.6084, allocations: 330.2 kB / 0.5627 GB, free: 4.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008299/0.6168, allocations: 3.595 MB / 0.5662 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.44e-05/0.6169, allocations: 106.6 kB / 0.5663 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.863e-06/0.6169, allocations: 0 / 0.5663 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.001768/0.6186, allocations: 0.8385 MB / 0.5671 GB, free: 15.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.278e-05/0.6187, allocations: 130.7 kB / 0.5673 GB, free: 15.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02635/0.6451, allocations: 10.6 MB / 0.5776 GB, free: 5.078 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.6451, allocations: 25.7 kB / 0.5776 GB, free: 5.047 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006929/0.6521, allocations: 5.831 MB / 0.5833 GB, free: 15.17 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.6523, allocations: 99.89 kB / 0.5834 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002197/0.6525, allocations: 80 kB / 0.5835 GB, free: 14.99 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002906/0.6528, allocations: 479 kB / 0.584 GB, free: 14.52 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.654, allocations: 0.742 MB / 0.5847 GB, free: 13.77 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003645/0.6576, allocations: 3.972 MB / 0.5886 GB, free: 8.109 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002422/0.6601, allocations: 1.611 MB / 0.5901 GB, free: 6.496 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.598e-05/0.6602, allocations: 39.94 kB / 0.5902 GB, free: 6.457 MB / 462.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01428/0.6745, allocations: 4.897 MB / 0.595 GB, free: 1.547 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.6746, allocations: 56 kB / 0.595 GB, free: 1.492 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002274/0.6749, allocations: 116 kB / 0.5951 GB, free: 1.379 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002632/0.6751, allocations: 168 kB / 0.5953 GB, free: 1.215 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003561/0.6787, allocations: 0.9862 MB / 0.5962 GB, free: 236 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001883/0.6789, allocations: 231.1 kB / 0.5965 GB, free: 4 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005443/0.6843, allocations: 0.6705 MB / 0.5971 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005363/0.6849, allocations: 284 kB / 0.5974 GB, free: 15.05 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008118/0.6931, allocations: 3.405 MB / 0.6007 GB, free: 11.62 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002377/0.6954, allocations: 0.912 MB / 0.6016 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00371/0.6992, allocations: 1.019 MB / 0.6026 GB, free: 9.668 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.271e-05/0.6993, allocations: 184.2 kB / 0.6028 GB, free: 9.48 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.906e-05/0.6993, allocations: 184.2 kB / 0.6029 GB, free: 9.293 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.443e-05/0.6994, allocations: 184.2 kB / 0.6031 GB, free: 9.105 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0154/0.7148, allocations: 5.128 MB / 0.6081 GB, free: 3.91 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.974e-05/0.7149, allocations: 105 kB / 0.6082 GB, free: 3.801 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.904e-05/0.715, allocations: 108.9 kB / 0.6083 GB, free: 3.688 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.752e-05/0.7151, allocations: 180.3 kB / 0.6085 GB, free: 3.504 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.278e-05/0.7152, allocations: 184.2 kB / 0.6087 GB, free: 3.316 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-05/0.7152, allocations: 180.2 kB / 0.6089 GB, free: 3.133 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-05/0.7153, allocations: 184.8 kB / 0.609 GB, free: 2.945 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002377/0.7177, allocations: 1.151 MB / 0.6102 GB, free: 1.758 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002786/0.7205, allocations: 1.229 MB / 0.6114 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001035/0.7216, allocations: 176.3 kB / 0.6115 GB, free: 320 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/0.7228, allocations: 176.9 kB / 0.6117 GB, free: 136 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.7229, allocations: 192.8 kB / 0.6119 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.7229, allocations: 105 kB / 0.612 GB, free: 15.83 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.01815/0.7411, allocations: 7.193 MB / 0.619 GB, free: 8.688 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.02e-07/0.7411, allocations: 0 / 0.619 GB, free: 8.688 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006617/0.7478, allocations: 1.14 MB / 0.6201 GB, free: 7.543 MB / 494.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002761/0.7506, allocations: 1.734 MB / 0.6218 GB, free: 5.777 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003603/0.7542, allocations: 1.851 MB / 0.6236 GB, free: 3.953 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.7542, allocations: 4.188 kB / 0.6236 GB, free: 3.949 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.646e-06/0.7542, allocations: 0 / 0.6236 GB, free: 3.949 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01456/0.7688, allocations: 3.276 MB / 0.6268 GB, free: 0.668 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4649/1.234, allocations: 163.6 MB / 0.7865 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01244/1.246, allocations: 5.453 MB / 0.7919 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.009591/1.256, allocations: 2.252 MB / 0.7941 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007344/1.263, allocations: 4.158 MB / 0.7981 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of SimCode: time 1.292e-06/1.263, allocations: 0 / 0.7981 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.506/1.769, allocations: 171.5 MB / 0.9656 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/1.77, allocations: 181.5 kB / 0.9658 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.988/9.758, allocations: 3.938 kB / 0.9658 GB, free: 118.4 MB / 0.5606 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/linux/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) Environment - environmentSimulation: