Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_4_0_0_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.0008823/0.0008824, allocations: 94.66 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008215/0.0008215, allocations: 172.3 kB / 18.25 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 223.3 MB / 242.3 MB, free: 176 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1845/0.1845, allocations: 44.26 MB / 337.7 MB, free: 2.629 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002803/0.0002803, allocations: 8 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1072, allocations: 61.92 MB / 472.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.2492/0.3565, allocations: 54.44 MB / 0.5145 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01984/0.3763, allocations: 10.32 MB / 0.5245 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009663/0.3861, allocations: 242.9 kB / 0.5248 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.3871, allocations: 263.2 kB / 0.525 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002633/0.3897, allocations: 0.9621 MB / 0.526 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006247/0.3904, allocations: 255.9 kB / 0.5262 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002987/0.3934, allocations: 2.545 MB / 0.5287 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003705/0.3971, allocations: 3.164 MB / 0.5318 GB, free: 6.504 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.3982, allocations: 0.6781 MB / 0.5324 GB, free: 6.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003255/0.4014, allocations: 3.288 MB / 0.5356 GB, free: 4.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002105/0.4016, allocations: 70.81 kB / 0.5357 GB, free: 4.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000442/0.4021, allocations: 168.8 kB / 0.5359 GB, free: 4.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001363/0.4035, allocations: 2.856 MB / 0.5387 GB, free: 3.367 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001586/0.4051, allocations: 3.161 MB / 0.5417 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00645/0.4115, allocations: 8.184 MB / 0.5497 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4116, allocations: 4 kB / 0.5497 GB, free: 11.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.4116, allocations: 0 / 0.5497 GB, free: 11.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004551/0.412, allocations: 3.938 kB / 0.5497 GB, free: 11.33 MB / 398.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.009757/0.4218, allocations: 7.476 MB / 0.557 GB, free: 3.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.4219, allocations: 8.031 kB / 0.5571 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000778/0.4226, allocations: 0.62 MB / 0.5577 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.4237, allocations: 0.9752 MB / 0.5586 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004086/0.4278, allocations: 3.726 MB / 0.5623 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.062e-05/0.4279, allocations: 138 kB / 0.5624 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/0.4281, allocations: 163 kB / 0.5625 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006956/0.4351, allocations: 6.604 MB / 0.569 GB, free: 7.527 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.447e-05/0.4351, allocations: 7.938 kB / 0.569 GB, free: 7.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/0.4352, allocations: 77.03 kB / 0.5691 GB, free: 7.461 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001569/0.4368, allocations: 1.559 MB / 0.5706 GB, free: 5.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00577/0.4426, allocations: 4.135 MB / 0.5746 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03777/0.4804, allocations: 20.4 MB / 0.5946 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002592/0.483, allocations: 338.2 kB / 0.5949 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.4832, allocations: 56.83 kB / 0.5949 GB, free: 12.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007031/0.4903, allocations: 3.265 MB / 0.5981 GB, free: 9.207 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.201e-05/0.4903, allocations: 109.8 kB / 0.5982 GB, free: 9.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.274e-06/0.4904, allocations: 0 / 0.5982 GB, free: 9.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.001726/0.4921, allocations: 0.8423 MB / 0.599 GB, free: 8.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/0.4922, allocations: 130.7 kB / 0.5992 GB, free: 8.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0234/0.5156, allocations: 10.55 MB / 0.6095 GB, free: 13.59 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.5156, allocations: 25.7 kB / 0.6095 GB, free: 13.56 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.008235/0.5239, allocations: 5.833 MB / 0.6152 GB, free: 7.723 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/0.5242, allocations: 99.89 kB / 0.6153 GB, free: 7.625 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000851/0.525, allocations: 346.8 kB / 0.6156 GB, free: 7.277 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.5252, allocations: 305.1 kB / 0.6159 GB, free: 6.977 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001874/0.5271, allocations: 0.7577 MB / 0.6167 GB, free: 6.211 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004659/0.5318, allocations: 4.003 MB / 0.6206 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007512/0.5393, allocations: 5.197 MB / 0.6256 GB, free: 9.668 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001006/0.5394, allocations: 32 kB / 0.6257 GB, free: 9.637 MB / 478.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01209/0.5516, allocations: 4.92 MB / 0.6305 GB, free: 4.703 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001227/0.5517, allocations: 56 kB / 0.6305 GB, free: 4.648 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001832/0.5519, allocations: 123.9 kB / 0.6306 GB, free: 4.527 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002162/0.5521, allocations: 148 kB / 0.6308 GB, free: 4.383 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004039/0.5562, allocations: 0.9902 MB / 0.6318 GB, free: 3.391 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002646/0.5565, allocations: 227.1 kB / 0.632 GB, free: 3.168 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006584/0.5631, allocations: 0.6029 MB / 0.6326 GB, free: 2.562 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005547/0.5636, allocations: 288 kB / 0.6328 GB, free: 2.281 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007978/0.5716, allocations: 3.401 MB / 0.6362 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001732/0.5734, allocations: 0.9082 MB / 0.637 GB, free: 13.94 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002541/0.5759, allocations: 1.031 MB / 0.638 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.481e-05/0.576, allocations: 176.3 kB / 0.6382 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.236e-05/0.5761, allocations: 184.2 kB / 0.6384 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.016e-05/0.5762, allocations: 180.3 kB / 0.6386 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/0.5883, allocations: 5.131 MB / 0.6436 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.896e-05/0.5884, allocations: 113 kB / 0.6437 GB, free: 7.035 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.107e-05/0.5885, allocations: 105 kB / 0.6438 GB, free: 6.926 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.168e-05/0.5885, allocations: 180.2 kB / 0.644 GB, free: 6.742 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.964e-05/0.5886, allocations: 188.1 kB / 0.6441 GB, free: 6.551 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.762e-05/0.5887, allocations: 184.2 kB / 0.6443 GB, free: 6.363 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.258e-05/0.5888, allocations: 176.3 kB / 0.6445 GB, free: 6.184 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.5903, allocations: 1.167 MB / 0.6456 GB, free: 4.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002141/0.5925, allocations: 0.8975 MB / 0.6465 GB, free: 4.047 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001196/0.5937, allocations: 187.6 kB / 0.6467 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/0.5955, allocations: 105 kB / 0.6468 GB, free: 3.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.469e-05/0.5956, allocations: 184.2 kB / 0.6469 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.116e-05/0.5957, allocations: 108.9 kB / 0.6471 GB, free: 3.449 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0133/0.609, allocations: 7.142 MB / 0.654 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.1e-07/0.609, allocations: 0 / 0.654 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004185/0.6132, allocations: 1.128 MB / 0.6551 GB, free: 11.23 MB / 0.4981 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.001634/0.6148, allocations: 1.701 MB / 0.6568 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00281/0.6177, allocations: 1.867 MB / 0.6586 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.6177, allocations: 0 / 0.6586 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.888e-06/0.6177, allocations: 8.25 kB / 0.6586 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01238/0.6301, allocations: 3.234 MB / 0.6618 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5835/1.214, allocations: 96.9 MB / 0.7564 GB, free: 126.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004173/1.218, allocations: 5.277 MB / 0.7616 GB, free: 121.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005499/1.223, allocations: 2.099 MB / 0.7636 GB, free: 119.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003164/1.226, allocations: 4.061 MB / 0.7676 GB, free: 115.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/1.226, allocations: 0 / 0.7676 GB, free: 115.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.39/1.616, allocations: 156.6 MB / 0.9205 GB, free: 219.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/1.617, allocations: 195.8 kB / 0.9207 GB, free: 218.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.503/7.12, allocations: 5.25 kB / 0.9207 GB, free: 218.9 MB / 0.5919 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches