Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009037/0.0009037, allocations: 175 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.331/1.331, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007384/0.0007382, allocations: 93.02 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2932/0.2932, allocations: 43.56 MB / 363.1 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003166, allocations: 16 kB / 432.1 MB, free: 5.508 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09307/0.0934, allocations: 58.85 MB / 490.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.211/0.3044, allocations: 50.65 MB / 0.5289 GB, free: 14.22 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01986/0.3243, allocations: 9.896 MB / 0.5385 GB, free: 7.496 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009677/0.3341, allocations: 241.6 kB / 0.5388 GB, free: 7.461 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00731/0.3414, allocations: 2.535 MB / 0.5412 GB, free: 6.551 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01732/0.3588, allocations: 7.303 MB / 0.5484 GB, free: 3.512 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002692/0.3615, allocations: 308.4 kB / 0.5487 GB, free: 3.375 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002771/0.3643, allocations: 2.048 MB / 0.5507 GB, free: 2.617 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004385/0.3687, allocations: 3.082 MB / 0.5537 GB, free: 1.355 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00141/0.3701, allocations: 0.6927 MB / 0.5544 GB, free: 1.094 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004611/0.3747, allocations: 2.728 MB / 0.557 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006386/0.3754, allocations: 71.38 kB / 0.5571 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.3767, allocations: 358.8 kB / 0.5574 GB, free: 0.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003204/0.3799, allocations: 2.976 MB / 0.5603 GB, free: 15.74 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003835/0.3838, allocations: 3.048 MB / 0.5633 GB, free: 13.41 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007902/0.3917, allocations: 6.881 MB / 0.57 GB, free: 8.867 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.3917, allocations: 0 / 0.57 GB, free: 8.867 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3917, allocations: 0 / 0.57 GB, free: 8.867 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004525/0.3922, allocations: 4 kB / 0.57 GB, free: 8.863 MB / 394.7 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.01288/0.4051, allocations: 7.957 MB / 0.5778 GB, free: 1.016 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.4051, allocations: 12.03 kB / 0.5778 GB, free: 1.004 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001289/0.4064, allocations: 0.6204 MB / 0.5784 GB, free: 384 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.4079, allocations: 0.9714 MB / 0.5794 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005295/0.4132, allocations: 4.101 MB / 0.5834 GB, free: 11.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.864e-05/0.4133, allocations: 135.7 kB / 0.5835 GB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002051/0.4136, allocations: 171.9 kB / 0.5837 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008031/0.4216, allocations: 6.589 MB / 0.5901 GB, free: 4.145 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.051e-05/0.4217, allocations: 11.88 kB / 0.5901 GB, free: 4.133 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/0.4218, allocations: 75.94 kB / 0.5902 GB, free: 4.059 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001508/0.4233, allocations: 1.571 MB / 0.5917 GB, free: 2.492 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006299/0.4297, allocations: 4.098 MB / 0.5957 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02661/0.4563, allocations: 20.78 MB / 0.616 GB, free: 9.336 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.4577, allocations: 338.1 kB / 0.6163 GB, free: 8.996 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.896e-05/0.4578, allocations: 56.92 kB / 0.6164 GB, free: 8.938 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004572/0.4624, allocations: 3.583 MB / 0.6199 GB, free: 5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.4625, allocations: 109.8 kB / 0.62 GB, free: 4.883 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 2.775e-06/0.4625, allocations: 4 kB / 0.62 GB, free: 4.879 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 0.000968/0.4634, allocations: 0.8346 MB / 0.6208 GB, free: 4.027 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.4635, allocations: 126.7 kB / 0.6209 GB, free: 3.891 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01404/0.4775, allocations: 10.6 MB / 0.6313 GB, free: 9.348 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.4776, allocations: 33.62 kB / 0.6313 GB, free: 9.309 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004499/0.4821, allocations: 5.83 MB / 0.637 GB, free: 3.434 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.4822, allocations: 95.84 kB / 0.6371 GB, free: 3.34 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.4824, allocations: 80 kB / 0.6372 GB, free: 3.262 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002205/0.4826, allocations: 487 kB / 0.6377 GB, free: 2.777 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009446/0.4835, allocations: 0.7459 MB / 0.6384 GB, free: 2.023 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002676/0.4862, allocations: 3.991 MB / 0.6423 GB, free: 12.35 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004249/0.4905, allocations: 5.181 MB / 0.6473 GB, free: 5.512 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.362e-05/0.4905, allocations: 32 kB / 0.6474 GB, free: 5.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.00703/0.4976, allocations: 4.889 MB / 0.6521 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.971e-05/0.4977, allocations: 56 kB / 0.6522 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.096e-05/0.4978, allocations: 116 kB / 0.6523 GB, free: 416 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001228/0.4979, allocations: 152 kB / 0.6525 GB, free: 264 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002369/0.5003, allocations: 0.9825 MB / 0.6534 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001734/0.5005, allocations: 227.6 kB / 0.6536 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004117/0.5046, allocations: 0.6772 MB / 0.6543 GB, free: 14.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003208/0.5049, allocations: 284 kB / 0.6546 GB, free: 14.09 MB / 490.7 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.005512/0.5104, allocations: 3.409 MB / 0.6579 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001423/0.5119, allocations: 0.9121 MB / 0.6588 GB, free: 9.734 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/0.5136, allocations: 1.023 MB / 0.6598 GB, free: 8.703 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.829e-05/0.5137, allocations: 176.3 kB / 0.6599 GB, free: 8.523 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.512e-05/0.5138, allocations: 176.3 kB / 0.6601 GB, free: 8.344 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-05/0.5138, allocations: 184.2 kB / 0.6603 GB, free: 8.156 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008775/0.5226, allocations: 5.139 MB / 0.6653 GB, free: 2.949 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.598e-05/0.5227, allocations: 105.1 kB / 0.6654 GB, free: 2.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.27e-05/0.5227, allocations: 113 kB / 0.6655 GB, free: 2.723 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.812e-05/0.5228, allocations: 180.3 kB / 0.6657 GB, free: 2.539 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.392e-05/0.5229, allocations: 180.2 kB / 0.6659 GB, free: 2.355 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.623e-05/0.5229, allocations: 180.3 kB / 0.666 GB, free: 2.172 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-05/0.523, allocations: 180.2 kB / 0.6662 GB, free: 1.988 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.5244, allocations: 1.163 MB / 0.6673 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001481/0.5258, allocations: 1.221 MB / 0.6685 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005119/0.5264, allocations: 185.8 kB / 0.6687 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009842/0.5274, allocations: 180.9 kB / 0.6689 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.5274, allocations: 176.3 kB / 0.669 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.5275, allocations: 105 kB / 0.6691 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01076/0.5382, allocations: 7.189 MB / 0.6762 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.9e-07/0.5382, allocations: 0 / 0.6762 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004911/0.5432, allocations: 1.147 MB / 0.6773 GB, free: 6.578 MB / 0.4948 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 (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.002258/0.5455, allocations: 1.724 MB / 0.679 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002862/0.5483, allocations: 1.859 MB / 0.6808 GB, free: 2.98 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5484, allocations: 0 / 0.6808 GB, free: 2.98 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.815e-06/0.5484, allocations: 0 / 0.6808 GB, free: 2.98 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1794/0.7278, allocations: 3.229 MB / 0.6839 GB, free: 150.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4931/1.221, allocations: 278.2 MB / 0.9556 GB, free: 90.98 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008052/1.229, allocations: 5.275 MB / 0.9608 GB, free: 87.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00448/1.234, allocations: 4.19 MB / 0.9649 GB, free: 83.97 MB / 0.4948 GB Notification: Performance of SimCode: time 1.132e-06/1.234, allocations: 0 / 0.9649 GB, free: 83.97 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 15.11/16.34, allocations: 179.6 MB / 1.14 GB, free: 104.5 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_ColorMaps_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1)