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.0007819/0.0007819, allocations: 95.91 kB / 17.35 MB, free: 6.375 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.0007779/0.000778, allocations: 180.2 kB / 18.26 MB, free: 5.52 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.26/1.26, allocations: 223.2 MB / 242.3 MB, free: 236 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.1849/0.1849, allocations: 44.25 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003044/0.0003045, allocations: 8 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1037, allocations: 61.91 MB / 472.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.2493/0.353, allocations: 54.44 MB / 0.5144 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02501/0.3781, allocations: 10.33 MB / 0.5245 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01192/0.39, allocations: 239.1 kB / 0.5248 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.3912, allocations: 263.2 kB / 0.525 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002408/0.3936, allocations: 0.9642 MB / 0.5259 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006219/0.3942, allocations: 255.5 kB / 0.5262 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0025/0.3967, allocations: 2.539 MB / 0.5287 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003631/0.4004, allocations: 3.168 MB / 0.5318 GB, free: 6.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.4014, allocations: 0.6756 MB / 0.5324 GB, free: 6.266 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003282/0.4047, allocations: 3.285 MB / 0.5356 GB, free: 4.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002181/0.4049, allocations: 73.31 kB / 0.5357 GB, free: 4.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004991/0.4054, allocations: 170.5 kB / 0.5359 GB, free: 4.801 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00178/0.4072, allocations: 2.851 MB / 0.5386 GB, free: 3.398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001677/0.4089, allocations: 3.156 MB / 0.5417 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008405/0.4173, allocations: 8.2 MB / 0.5497 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4174, allocations: 4 kB / 0.5497 GB, free: 11.35 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4174, allocations: 0 / 0.5497 GB, free: 11.35 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000307/0.4177, allocations: 3.938 kB / 0.5497 GB, free: 11.35 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.01287/0.4305, allocations: 7.472 MB / 0.557 GB, free: 3.789 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.4306, allocations: 8.031 kB / 0.557 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001362/0.432, allocations: 0.6189 MB / 0.5577 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.4335, allocations: 0.9704 MB / 0.5586 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00573/0.4392, allocations: 3.719 MB / 0.5622 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.4393, allocations: 130.1 kB / 0.5624 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002051/0.4396, allocations: 161.6 kB / 0.5625 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009607/0.4492, allocations: 6.611 MB / 0.569 GB, free: 7.562 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.086e-05/0.4493, allocations: 3.938 kB / 0.569 GB, free: 7.559 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001664/0.4495, allocations: 81.84 kB / 0.569 GB, free: 7.492 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001796/0.4513, allocations: 1.563 MB / 0.5706 GB, free: 5.938 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007751/0.459, allocations: 4.131 MB / 0.5746 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03152/0.4906, allocations: 20.39 MB / 0.5945 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.4921, allocations: 338.2 kB / 0.5948 GB, free: 12.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.4922, allocations: 64.81 kB / 0.5949 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004634/0.4968, allocations: 3.264 MB / 0.5981 GB, free: 9.234 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.528e-05/0.4969, allocations: 109.8 kB / 0.5982 GB, free: 9.117 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.633e-06/0.4969, allocations: 0 / 0.5982 GB, free: 9.117 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.000854/0.4978, allocations: 0.8424 MB / 0.599 GB, free: 8.258 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.4979, allocations: 130.7 kB / 0.5991 GB, free: 8.117 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01562/0.5135, allocations: 10.55 MB / 0.6095 GB, free: 13.62 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.5135, allocations: 25.7 kB / 0.6095 GB, free: 13.59 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004438/0.518, allocations: 5.836 MB / 0.6152 GB, free: 7.75 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.5181, allocations: 91.91 kB / 0.6153 GB, free: 7.66 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003604/0.5185, allocations: 354.8 kB / 0.6156 GB, free: 7.305 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.5186, allocations: 301.1 kB / 0.6159 GB, free: 7.008 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009706/0.5196, allocations: 0.7654 MB / 0.6166 GB, free: 6.234 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003393/0.523, allocations: 3.995 MB / 0.6205 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004993/0.528, allocations: 5.201 MB / 0.6256 GB, free: 9.699 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.487e-05/0.528, allocations: 32 kB / 0.6256 GB, free: 9.668 MB / 478.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.007184/0.5352, allocations: 4.923 MB / 0.6305 GB, free: 4.73 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.305e-05/0.5353, allocations: 56 kB / 0.6305 GB, free: 4.676 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.365e-05/0.5354, allocations: 127.9 kB / 0.6306 GB, free: 4.555 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001312/0.5355, allocations: 152.8 kB / 0.6308 GB, free: 4.406 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002167/0.5377, allocations: 0.9786 MB / 0.6317 GB, free: 3.426 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001746/0.5379, allocations: 231.1 kB / 0.632 GB, free: 3.199 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00326/0.5412, allocations: 0.603 MB / 0.6325 GB, free: 2.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002422/0.5414, allocations: 284 kB / 0.6328 GB, free: 2.312 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.00492/0.5463, allocations: 3.408 MB / 0.6361 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008945/0.5472, allocations: 0.9082 MB / 0.637 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/0.5487, allocations: 1.023 MB / 0.638 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.336e-05/0.5488, allocations: 188.2 kB / 0.6382 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.657e-05/0.5488, allocations: 176.3 kB / 0.6384 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.303e-05/0.5489, allocations: 184.2 kB / 0.6385 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006642/0.5555, allocations: 5.131 MB / 0.6436 GB, free: 7.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-05/0.5556, allocations: 109 kB / 0.6437 GB, free: 7.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.134e-05/0.5556, allocations: 104.9 kB / 0.6438 GB, free: 6.957 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.721e-05/0.5557, allocations: 176.3 kB / 0.6439 GB, free: 6.777 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-05/0.5557, allocations: 188.1 kB / 0.6441 GB, free: 6.586 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.257e-05/0.5558, allocations: 188.2 kB / 0.6443 GB, free: 6.395 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.056e-05/0.5559, allocations: 180.2 kB / 0.6445 GB, free: 6.211 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008654/0.5567, allocations: 1.156 MB / 0.6456 GB, free: 5.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/0.5578, allocations: 0.9013 MB / 0.6465 GB, free: 4.082 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004187/0.5583, allocations: 192.1 kB / 0.6467 GB, free: 3.887 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007085/0.559, allocations: 108.9 kB / 0.6468 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.559, allocations: 176.3 kB / 0.6469 GB, free: 3.594 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.5591, allocations: 101 kB / 0.647 GB, free: 3.488 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.009771/0.5688, allocations: 7.146 MB / 0.654 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5689, allocations: 0 / 0.654 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00412/0.573, allocations: 1.132 MB / 0.6551 GB, free: 11.26 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.001299/0.5743, allocations: 1.705 MB / 0.6568 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003039/0.5774, allocations: 1.87 MB / 0.6586 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5774, allocations: 0 / 0.6586 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.655e-06/0.5774, allocations: 0 / 0.6586 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01235/0.5897, allocations: 3.238 MB / 0.6618 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6297/1.219, allocations: 96.91 MB / 0.7564 GB, free: 126.6 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007017/1.227, allocations: 5.274 MB / 0.7615 GB, free: 121.3 MB / 0.5451 GB Notification: Performance of simCode: alias equations: time 0.006911/1.233, allocations: 2.1 MB / 0.7636 GB, free: 119.4 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004862/1.238, allocations: 4.068 MB / 0.7676 GB, free: 115.4 MB / 0.5451 GB Notification: Performance of SimCode: time 1.663e-06/1.238, allocations: 0 / 0.7676 GB, free: 115.4 MB / 0.5451 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3994/1.638, allocations: 156.6 MB / 0.9205 GB, free: 219 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/1.638, allocations: 197.1 kB / 0.9207 GB, free: 218.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.617/7.255, allocations: 0 / 0.9207 GB, free: 218.8 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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches