Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.conf.json 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/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009826/0.0009827, allocations: 198.3 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.239/1.239, allocations: 226.5 MB / 243.4 MB, free: 6.398 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008984/0.0008982, allocations: 100.9 kB / 295.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2878/0.2878, allocations: 44.81 MB / 392.3 MB, free: 35.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002575/0.0002577, allocations: 11.98 kB / 465.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2767, allocations: 62.95 MB / 0.516 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.0317/0.3085, allocations: 50.67 MB / 0.5654 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0211/0.3296, allocations: 9.942 MB / 0.5751 GB, free: 10.19 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009774/0.3394, allocations: 243.2 kB / 0.5754 GB, free: 10.15 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008317/0.3478, allocations: 2.542 MB / 0.5779 GB, free: 9.238 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01829/0.3661, allocations: 7.315 MB / 0.585 GB, free: 2.566 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002563/0.3687, allocations: 295.6 kB / 0.5853 GB, free: 2.277 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002634/0.3713, allocations: 2.067 MB / 0.5873 GB, free: 212 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004188/0.3755, allocations: 3.097 MB / 0.5903 GB, free: 13.06 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001273/0.3768, allocations: 0.6885 MB / 0.591 GB, free: 12.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003535/0.3804, allocations: 2.735 MB / 0.5937 GB, free: 9.629 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004163/0.3808, allocations: 68 kB / 0.5937 GB, free: 9.562 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.3818, allocations: 359.4 kB / 0.5941 GB, free: 9.211 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002266/0.3841, allocations: 2.98 MB / 0.597 GB, free: 6.223 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002783/0.3869, allocations: 3.049 MB / 0.6 GB, free: 3.145 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005838/0.3928, allocations: 6.879 MB / 0.6067 GB, free: 12.25 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.3928, allocations: 0 / 0.6067 GB, free: 12.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3928, allocations: 0 / 0.6067 GB, free: 12.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000296/0.3931, allocations: 0 / 0.6067 GB, free: 12.25 MB / 426.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.012/0.4052, allocations: 7.953 MB / 0.6144 GB, free: 4.199 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.4052, allocations: 12.02 kB / 0.6145 GB, free: 4.188 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001231/0.4065, allocations: 0.6197 MB / 0.6151 GB, free: 3.559 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/0.4082, allocations: 0.9714 MB / 0.616 GB, free: 2.574 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006278/0.4145, allocations: 4.109 MB / 0.62 GB, free: 14.39 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.188e-05/0.4146, allocations: 131.5 kB / 0.6201 GB, free: 14.26 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002138/0.4148, allocations: 167.9 kB / 0.6203 GB, free: 14.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008404/0.4232, allocations: 6.589 MB / 0.6267 GB, free: 7.324 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.728e-05/0.4233, allocations: 7.938 kB / 0.6267 GB, free: 7.316 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.4234, allocations: 79.94 kB / 0.6268 GB, free: 7.238 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001595/0.4251, allocations: 1.557 MB / 0.6283 GB, free: 5.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006518/0.4316, allocations: 4.097 MB / 0.6323 GB, free: 1.582 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0282/0.4598, allocations: 20.8 MB / 0.6527 GB, free: 12.5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.4613, allocations: 338.2 kB / 0.653 GB, free: 12.16 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.618e-05/0.4614, allocations: 56.83 kB / 0.653 GB, free: 12.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005249/0.4667, allocations: 3.565 MB / 0.6565 GB, free: 8.172 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/0.4667, allocations: 113.8 kB / 0.6566 GB, free: 8.051 MB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 1.984e-06/0.4668, allocations: 0 / 0.6566 GB, free: 8.051 MB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 0.001063/0.4678, allocations: 0.8424 MB / 0.6575 GB, free: 7.191 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/0.4679, allocations: 130.7 kB / 0.6576 GB, free: 7.051 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01596/0.4839, allocations: 10.6 MB / 0.6679 GB, free: 12.51 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.4839, allocations: 25.7 kB / 0.6679 GB, free: 12.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005524/0.4894, allocations: 5.834 MB / 0.6736 GB, free: 6.598 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.4896, allocations: 95.91 kB / 0.6737 GB, free: 6.504 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.4898, allocations: 84 kB / 0.6738 GB, free: 6.422 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002377/0.4901, allocations: 487 kB / 0.6743 GB, free: 5.938 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.4911, allocations: 0.742 MB / 0.675 GB, free: 5.188 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4396/0.9307, allocations: 3.976 MB / 0.6789 GB, free: 122.6 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004764/0.9355, allocations: 5.187 MB / 0.684 GB, free: 117.6 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.268e-05/0.9356, allocations: 33.88 kB / 0.684 GB, free: 117.6 MB / 490.8 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.007216/0.9428, allocations: 4.888 MB / 0.6888 GB, free: 116.1 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.986e-05/0.9429, allocations: 55.06 kB / 0.6888 GB, free: 116.1 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001045/0.9431, allocations: 117.4 kB / 0.6889 GB, free: 116.1 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001207/0.9432, allocations: 154.9 kB / 0.6891 GB, free: 116.1 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002321/0.9455, allocations: 0.9827 MB / 0.69 GB, free: 116 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001186/0.9456, allocations: 225 kB / 0.6902 GB, free: 115.9 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003565/0.9492, allocations: 0.6754 MB / 0.6909 GB, free: 115.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003387/0.9496, allocations: 287 kB / 0.6912 GB, free: 115.8 MB / 490.8 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.004561/0.9541, allocations: 3.408 MB / 0.6945 GB, free: 114.5 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001267/0.9554, allocations: 0.9145 MB / 0.6954 GB, free: 114.1 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/0.957, allocations: 1.016 MB / 0.6964 GB, free: 113.7 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.211e-05/0.957, allocations: 185.2 kB / 0.6966 GB, free: 113.5 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-05/0.957, allocations: 179.7 kB / 0.6967 GB, free: 113.4 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-05/0.9571, allocations: 180.2 kB / 0.6969 GB, free: 113.2 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0071/0.9642, allocations: 5.142 MB / 0.7019 GB, free: 111.3 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.9642, allocations: 101 kB / 0.702 GB, free: 111.2 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.28e-05/0.9642, allocations: 112.4 kB / 0.7021 GB, free: 111 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.253e-05/0.9643, allocations: 177.4 kB / 0.7023 GB, free: 110.9 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.9643, allocations: 184.3 kB / 0.7025 GB, free: 110.7 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.239e-05/0.9643, allocations: 185.3 kB / 0.7027 GB, free: 110.5 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.108e-05/0.9644, allocations: 177.9 kB / 0.7028 GB, free: 110.3 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.9658, allocations: 1.158 MB / 0.704 GB, free: 109.5 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001592/0.9674, allocations: 1.225 MB / 0.7052 GB, free: 108.7 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006413/0.9681, allocations: 181.3 kB / 0.7053 GB, free: 108.5 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.9691, allocations: 174.2 kB / 0.7055 GB, free: 108.4 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.9691, allocations: 185.2 kB / 0.7057 GB, free: 108.2 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.9692, allocations: 101 kB / 0.7058 GB, free: 108.1 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01193/0.9811, allocations: 7.186 MB / 0.7128 GB, free: 106 MB / 490.8 MB Notification: Performance of sort global known variables: time 6.51e-07/0.9811, allocations: 0 / 0.7128 GB, free: 106 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.004584/0.9857, allocations: 1.143 MB / 0.7139 GB, free: 105.7 MB / 490.8 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.001657/0.9874, allocations: 1.727 MB / 0.7156 GB, free: 104.4 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.003225/0.9906, allocations: 1.856 MB / 0.7174 GB, free: 103.8 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.9907, allocations: 3.938 kB / 0.7174 GB, free: 103.8 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 3.346e-06/0.9907, allocations: 3.484 kB / 0.7174 GB, free: 103.8 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01265/1.003, allocations: 3.238 MB / 0.7206 GB, free: 102.7 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5171/1.52, allocations: 278.2 MB / 0.9922 GB, free: 103.6 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005209/1.526, allocations: 5.276 MB / 0.9974 GB, free: 98.3 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003201/1.529, allocations: 4.186 MB / 1.001 GB, free: 94.12 MB / 0.5418 GB Notification: Performance of SimCode: time 6.71e-07/1.529, allocations: 4 kB / 1.001 GB, free: 94.11 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 15.65/17.18, allocations: 179.7 MB / 1.177 GB, free: 108.9 MB / 0.5418 GB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Visualizers_ColorMaps_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches