Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_trunk_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.001665/0.001665, allocations: 121.8 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002155/0.002155, allocations: 204.6 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2219/0.2219, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 75.88 kB / 480.8 MB, free: 4.629 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.393, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01473/0.4078, allocations: 10.36 MB / 0.5406 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009685/0.4175, allocations: 3.077 MB / 0.5436 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003214/0.4208, allocations: 67.03 kB / 0.5437 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00651/0.4274, allocations: 2.674 MB / 0.5463 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004044/0.4315, allocations: 1.038 MB / 0.5473 GB, free: 348 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.4328, allocations: 264.6 kB / 0.5476 GB, free: 168 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003551/0.4364, allocations: 1.516 MB / 0.549 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004187/0.4406, allocations: 2.449 MB / 0.5514 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002032/0.4427, allocations: 0.9108 MB / 0.5523 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005071/0.4478, allocations: 3.316 MB / 0.5556 GB, free: 8.066 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001121/0.449, allocations: 188 kB / 0.5557 GB, free: 7.883 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.4504, allocations: 283.8 kB / 0.556 GB, free: 7.605 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003444/0.4539, allocations: 2.977 MB / 0.5589 GB, free: 4.621 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005618/0.4596, allocations: 3.329 MB / 0.5622 GB, free: 1.266 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0133/0.4729, allocations: 9.758 MB / 0.5717 GB, free: 7.469 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.473, allocations: 0 / 0.5717 GB, free: 7.469 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.473, allocations: 0 / 0.5717 GB, free: 7.469 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004218/0.4735, allocations: 0 / 0.5717 GB, free: 7.469 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.02011/0.4936, allocations: 8.773 MB / 0.5803 GB, free: 14.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/0.4937, allocations: 12.03 kB / 0.5803 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001604/0.4953, allocations: 0.6273 MB / 0.5809 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002269/0.4976, allocations: 0.9666 MB / 0.5818 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008812/0.5064, allocations: 3.737 MB / 0.5855 GB, free: 9.141 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000223/0.5067, allocations: 135.2 kB / 0.5856 GB, free: 9.008 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006477/0.5074, allocations: 167.9 kB / 0.5858 GB, free: 8.844 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.012/0.5194, allocations: 6.604 MB / 0.5922 GB, free: 2.059 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-05/0.5195, allocations: 11.88 kB / 0.5922 GB, free: 2.047 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000454/0.52, allocations: 75.94 kB / 0.5923 GB, free: 1.973 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001791/0.5218, allocations: 1.561 MB / 0.5938 GB, free: 420 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008799/0.5306, allocations: 4.129 MB / 0.5979 GB, free: 12.28 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03521/0.5659, allocations: 20.23 MB / 0.6176 GB, free: 7.777 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/0.5676, allocations: 338.2 kB / 0.6179 GB, free: 7.438 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.5678, allocations: 56.83 kB / 0.618 GB, free: 7.379 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006553/0.5744, allocations: 3.268 MB / 0.6212 GB, free: 3.746 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.894e-05/0.5745, allocations: 113.8 kB / 0.6213 GB, free: 3.625 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 2.434e-06/0.5745, allocations: 0 / 0.6213 GB, free: 3.625 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.001653/0.5762, allocations: 0.8385 MB / 0.6221 GB, free: 2.77 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.303e-05/0.5763, allocations: 130.7 kB / 0.6222 GB, free: 2.629 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02689/0.6032, allocations: 10.54 MB / 0.6325 GB, free: 8.137 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.6032, allocations: 25.7 kB / 0.6326 GB, free: 8.105 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.009761/0.613, allocations: 5.838 MB / 0.6383 GB, free: 2.223 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000278/0.6134, allocations: 87.91 kB / 0.6384 GB, free: 2.137 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0021/0.6155, allocations: 0.8212 MB / 0.6392 GB, free: 1.301 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.6157, allocations: 305.1 kB / 0.6394 GB, free: 1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001994/0.6177, allocations: 0.7616 MB / 0.6402 GB, free: 236 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005377/0.6231, allocations: 4.003 MB / 0.6441 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008121/0.6313, allocations: 5.197 MB / 0.6492 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001759/0.6315, allocations: 36 kB / 0.6492 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01324/0.6448, allocations: 4.92 MB / 0.654 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002558/0.6451, allocations: 54.34 kB / 0.6541 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003221/0.6454, allocations: 120 kB / 0.6542 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003217/0.6458, allocations: 152.8 kB / 0.6543 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004361/0.6502, allocations: 0.9824 MB / 0.6553 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003609/0.6506, allocations: 235.1 kB / 0.6555 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006413/0.657, allocations: 0.5991 MB / 0.6561 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008872/0.658, allocations: 284 kB / 0.6564 GB, free: 12.3 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.00796/0.666, allocations: 3.409 MB / 0.6597 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002648/0.6686, allocations: 0.916 MB / 0.6606 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003768/0.6725, allocations: 1.019 MB / 0.6616 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.703e-05/0.6726, allocations: 184.2 kB / 0.6618 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.292e-05/0.6727, allocations: 180.2 kB / 0.6619 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.988e-05/0.6728, allocations: 180.3 kB / 0.6621 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01555/0.6884, allocations: 5.138 MB / 0.6671 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.582e-05/0.6885, allocations: 105 kB / 0.6672 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.024e-05/0.6886, allocations: 105 kB / 0.6673 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.718e-05/0.6886, allocations: 180.2 kB / 0.6675 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.21e-05/0.6887, allocations: 180.3 kB / 0.6677 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.898e-05/0.6888, allocations: 184.2 kB / 0.6678 GB, free: 392 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.368e-05/0.6889, allocations: 184.2 kB / 0.668 GB, free: 200 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.6904, allocations: 1.151 MB / 0.6691 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002431/0.6929, allocations: 0.9052 MB / 0.67 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001329/0.6942, allocations: 184.2 kB / 0.6702 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/0.6958, allocations: 109 kB / 0.6703 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.386e-05/0.6959, allocations: 176.3 kB / 0.6705 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.463e-05/0.696, allocations: 108.9 kB / 0.6706 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01551/0.7115, allocations: 7.138 MB / 0.6775 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.32e-07/0.7116, allocations: 3.938 kB / 0.6775 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005311/0.7169, allocations: 1.135 MB / 0.6787 GB, free: 5.242 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.002357/0.7193, allocations: 1.693 MB / 0.6803 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003936/0.7233, allocations: 1.87 MB / 0.6821 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.7233, allocations: 0 / 0.6821 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.656e-06/0.7233, allocations: 3.938 kB / 0.6821 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01562/0.739, allocations: 3.452 MB / 0.6855 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6841/1.423, allocations: 62.12 MB / 0.7462 GB, free: 158.1 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009784/1.433, allocations: 5.268 MB / 0.7513 GB, free: 155.6 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007323/1.44, allocations: 2.102 MB / 0.7534 GB, free: 154.9 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006383/1.447, allocations: 4.059 MB / 0.7573 GB, free: 151.2 MB / 0.5763 GB Notification: Performance of SimCode: time 1.183e-06/1.447, allocations: 0 / 0.7573 GB, free: 151.2 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2039/1.651, allocations: 157 MB / 0.9107 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 40.97/42.62, allocations: 6.266 kB / 0.9107 GB, free: 15.67 MB / 0.5919 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches