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.001418/0.001418, allocations: 117.8 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001587/0.001587, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2162/0.2162, allocations: 46.08 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 79.88 kB / 480.8 MB, free: 4.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3195, 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.01222/0.3318, allocations: 10.36 MB / 0.5406 GB, free: 5.297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008255/0.3401, allocations: 3.077 MB / 0.5436 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002708/0.3429, allocations: 66.59 kB / 0.5437 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005411/0.3483, allocations: 2.678 MB / 0.5463 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003281/0.3516, allocations: 1.026 MB / 0.5473 GB, free: 360 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.3527, allocations: 264.4 kB / 0.5476 GB, free: 180 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00272/0.3554, allocations: 1.529 MB / 0.5491 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00297/0.3584, allocations: 2.445 MB / 0.5514 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001493/0.3599, allocations: 0.9108 MB / 0.5523 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004082/0.364, allocations: 3.328 MB / 0.5556 GB, free: 8.055 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00054/0.3646, allocations: 184 kB / 0.5558 GB, free: 7.875 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009125/0.3655, allocations: 275.8 kB / 0.556 GB, free: 7.605 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002596/0.3681, allocations: 2.981 MB / 0.5589 GB, free: 4.617 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003981/0.3721, allocations: 3.329 MB / 0.5622 GB, free: 1.262 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01052/0.3827, allocations: 9.758 MB / 0.5717 GB, free: 7.465 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.2e-05/0.3827, allocations: 0 / 0.5717 GB, free: 7.465 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.3827, allocations: 0 / 0.5717 GB, free: 7.465 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004504/0.3832, allocations: 0 / 0.5717 GB, free: 7.465 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.01476/0.398, allocations: 8.773 MB / 0.5803 GB, free: 14.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.398, allocations: 12.03 kB / 0.5803 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001071/0.3991, allocations: 0.6196 MB / 0.5809 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/0.4005, allocations: 0.9666 MB / 0.5818 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005839/0.4063, allocations: 3.745 MB / 0.5855 GB, free: 9.137 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.4065, allocations: 131.3 kB / 0.5856 GB, free: 9.008 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003473/0.4068, allocations: 167.9 kB / 0.5858 GB, free: 8.844 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009114/0.4159, allocations: 6.597 MB / 0.5922 GB, free: 2.066 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.341e-05/0.416, allocations: 15.88 kB / 0.5922 GB, free: 2.051 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002553/0.4163, allocations: 83.88 kB / 0.5923 GB, free: 1.969 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001719/0.418, allocations: 1.564 MB / 0.5938 GB, free: 412 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007823/0.4259, allocations: 4.135 MB / 0.5979 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02947/0.4554, allocations: 20.23 MB / 0.6176 GB, free: 7.77 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/0.457, allocations: 334.2 kB / 0.618 GB, free: 7.434 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.4571, allocations: 64.81 kB / 0.618 GB, free: 7.367 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00477/0.4619, allocations: 3.256 MB / 0.6212 GB, free: 3.746 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.979e-05/0.462, allocations: 113.8 kB / 0.6213 GB, free: 3.625 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 1.753e-06/0.462, allocations: 0 / 0.6213 GB, free: 3.625 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.001311/0.4633, allocations: 0.8347 MB / 0.6221 GB, free: 2.773 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.4634, allocations: 130.6 kB / 0.6222 GB, free: 2.633 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01782/0.4812, allocations: 10.54 MB / 0.6325 GB, free: 8.141 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.4813, allocations: 25.7 kB / 0.6326 GB, free: 8.109 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00573/0.487, allocations: 5.83 MB / 0.6383 GB, free: 2.234 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/0.4872, allocations: 95.89 kB / 0.6384 GB, free: 2.141 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009469/0.4882, allocations: 0.8251 MB / 0.6392 GB, free: 1.301 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.4883, allocations: 309.1 kB / 0.6395 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009889/0.4893, allocations: 0.7577 MB / 0.6402 GB, free: 236 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003111/0.4924, allocations: 3.999 MB / 0.6441 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004996/0.4974, allocations: 5.197 MB / 0.6492 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.708e-05/0.4975, allocations: 32 kB / 0.6492 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008538/0.506, allocations: 4.924 MB / 0.654 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.579e-05/0.5061, allocations: 56 kB / 0.6541 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001139/0.5063, allocations: 120 kB / 0.6542 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000124/0.5064, allocations: 148 kB / 0.6543 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002563/0.509, allocations: 0.9863 MB / 0.6553 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002278/0.5092, allocations: 231.1 kB / 0.6555 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003595/0.5128, allocations: 0.603 MB / 0.6561 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003067/0.5131, allocations: 288 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.004579/0.5177, allocations: 3.409 MB / 0.6597 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001052/0.5188, allocations: 0.9122 MB / 0.6606 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/0.5205, allocations: 1.027 MB / 0.6616 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.292e-05/0.5206, allocations: 180.2 kB / 0.6618 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.658e-05/0.5206, allocations: 180.2 kB / 0.6619 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.326e-05/0.5207, allocations: 180.3 kB / 0.6621 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006677/0.5274, allocations: 5.135 MB / 0.6671 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.381e-05/0.5274, allocations: 108.9 kB / 0.6672 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.204e-05/0.5275, allocations: 105 kB / 0.6673 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.89e-05/0.5275, allocations: 184.2 kB / 0.6675 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.246e-05/0.5276, allocations: 176.3 kB / 0.6677 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.706e-05/0.5277, allocations: 176.3 kB / 0.6678 GB, free: 400 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-05/0.5277, allocations: 188.2 kB / 0.668 GB, free: 204 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.5289, allocations: 1.155 MB / 0.6691 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/0.5302, allocations: 0.8975 MB / 0.67 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000522/0.5307, allocations: 188.2 kB / 0.6702 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007454/0.5314, allocations: 104.9 kB / 0.6703 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/0.5315, allocations: 188.2 kB / 0.6705 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/0.5315, allocations: 104.9 kB / 0.6706 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0104/0.542, allocations: 7.142 MB / 0.6776 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.102e-06/0.542, allocations: 3.938 kB / 0.6776 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004149/0.5461, allocations: 1.132 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.001472/0.5476, allocations: 1.697 MB / 0.6803 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002932/0.5506, allocations: 1.863 MB / 0.6821 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.5506, allocations: 0 / 0.6821 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.494e-06/0.5506, allocations: 8.25 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.01144/0.5621, 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.5405/1.103, allocations: 62.11 MB / 0.7462 GB, free: 158.2 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006397/1.109, allocations: 5.27 MB / 0.7513 GB, free: 155.7 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.005483/1.115, allocations: 2.098 MB / 0.7534 GB, free: 155 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003852/1.118, allocations: 4.059 MB / 0.7573 GB, free: 151.3 MB / 0.5763 GB Notification: Performance of SimCode: time 1.543e-06/1.118, allocations: 0 / 0.7573 GB, free: 151.3 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1943/1.313, allocations: 157 MB / 0.9107 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 37.89/39.2, allocations: 2.391 kB / 0.9107 GB, free: 15.73 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