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.001211/0.001211, allocations: 109.5 kB / 17.78 MB, free: 5.312 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.001185/0.001185, allocations: 188 kB / 18.71 MB, free: 4.387 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.407/1.407, allocations: 222.9 MB / 242.4 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2048/0.2048, allocations: 44.19 MB / 336.8 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.89 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3246, allocations: 60.82 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01028/0.3349, allocations: 10.39 MB / 0.5286 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007043/0.342, allocations: 3.026 MB / 0.5315 GB, free: 9.805 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001988/0.344, allocations: 67.72 kB / 0.5316 GB, free: 9.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005269/0.3493, allocations: 2.675 MB / 0.5342 GB, free: 8.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002999/0.3524, allocations: 1.026 MB / 0.5352 GB, free: 7.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000795/0.3532, allocations: 273.5 kB / 0.5355 GB, free: 7.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002399/0.3556, allocations: 1.525 MB / 0.5369 GB, free: 6.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00287/0.3585, allocations: 2.443 MB / 0.5393 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.36, allocations: 0.9178 MB / 0.5402 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004408/0.3644, allocations: 3.324 MB / 0.5435 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006304/0.3651, allocations: 188 kB / 0.5436 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008222/0.3659, allocations: 275.8 kB / 0.5439 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00227/0.3682, allocations: 2.981 MB / 0.5468 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003288/0.3715, allocations: 3.341 MB / 0.5501 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009132/0.3806, allocations: 9.75 MB / 0.5596 GB, free: 1.797 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3807, allocations: 0 / 0.5596 GB, free: 1.797 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3807, allocations: 4 kB / 0.5596 GB, free: 1.793 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002535/0.381, allocations: 0 / 0.5596 GB, free: 1.793 MB / 414.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.01362/0.3946, allocations: 8.781 MB / 0.5682 GB, free: 8.906 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3946, allocations: 8.031 kB / 0.5682 GB, free: 8.898 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009693/0.3956, allocations: 0.6196 MB / 0.5688 GB, free: 8.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.3969, allocations: 0.9705 MB / 0.5697 GB, free: 7.285 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006224/0.4031, allocations: 3.753 MB / 0.5734 GB, free: 3.453 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.345e-05/0.4033, allocations: 135.3 kB / 0.5735 GB, free: 3.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002934/0.4036, allocations: 164 kB / 0.5737 GB, free: 3.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008634/0.4122, allocations: 6.612 MB / 0.5802 GB, free: 12.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.195e-05/0.4123, allocations: 7.938 kB / 0.5802 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000213/0.4125, allocations: 67.95 kB / 0.5802 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001575/0.4141, allocations: 1.561 MB / 0.5818 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007448/0.4215, allocations: 4.133 MB / 0.5858 GB, free: 6.602 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03219/0.4538, allocations: 20.24 MB / 0.6055 GB, free: 2.09 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.4554, allocations: 342.1 kB / 0.6059 GB, free: 1.746 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.4555, allocations: 56.83 kB / 0.6059 GB, free: 1.688 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005703/0.4612, allocations: 3.268 MB / 0.6091 GB, free: 14.05 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.084e-05/0.4613, allocations: 105.8 kB / 0.6092 GB, free: 13.94 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 2.765e-06/0.4613, allocations: 0 / 0.6092 GB, free: 13.94 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.001396/0.4627, allocations: 0.8347 MB / 0.61 GB, free: 13.09 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.018e-05/0.4628, allocations: 134.7 kB / 0.6102 GB, free: 12.95 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01939/0.4822, allocations: 10.54 MB / 0.6205 GB, free: 2.453 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.4823, allocations: 29.7 kB / 0.6205 GB, free: 2.418 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006224/0.4885, allocations: 5.83 MB / 0.6262 GB, free: 12.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/0.4887, allocations: 95.91 kB / 0.6263 GB, free: 12.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001168/0.4899, allocations: 0.8135 MB / 0.6271 GB, free: 11.62 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.49, allocations: 305.1 kB / 0.6274 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.4911, allocations: 0.7616 MB / 0.6281 GB, free: 10.55 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003478/0.4946, allocations: 3.999 MB / 0.632 GB, free: 4.867 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005866/0.5005, allocations: 5.208 MB / 0.6371 GB, free: 14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001111/0.5007, allocations: 35.94 kB / 0.6371 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.009876/0.5105, allocations: 4.92 MB / 0.6419 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001549/0.5107, allocations: 56 kB / 0.642 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001779/0.5109, allocations: 120 kB / 0.6421 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001981/0.5111, allocations: 152 kB / 0.6422 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002685/0.5138, allocations: 0.9863 MB / 0.6432 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002219/0.5141, allocations: 227.1 kB / 0.6434 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00401/0.5181, allocations: 0.6073 MB / 0.644 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004995/0.5186, allocations: 284 kB / 0.6443 GB, free: 6.613 MB / 0.4981 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.005076/0.5237, allocations: 3.405 MB / 0.6476 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00135/0.5251, allocations: 0.9121 MB / 0.6485 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002022/0.5271, allocations: 1.019 MB / 0.6495 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.847e-05/0.5272, allocations: 184.3 kB / 0.6497 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.651e-05/0.5273, allocations: 180.3 kB / 0.6499 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.608e-05/0.5274, allocations: 176.3 kB / 0.65 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/0.5381, allocations: 5.142 MB / 0.655 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.1e-05/0.5382, allocations: 101 kB / 0.6551 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.305e-05/0.5383, allocations: 108.9 kB / 0.6552 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.323e-05/0.5384, allocations: 180.2 kB / 0.6554 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002027/0.5386, allocations: 176.3 kB / 0.6556 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.019e-05/0.5386, allocations: 184.2 kB / 0.6558 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.528e-05/0.5387, allocations: 188.3 kB / 0.6559 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.5402, allocations: 1.155 MB / 0.6571 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002216/0.5424, allocations: 0.9052 MB / 0.6579 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001123/0.5436, allocations: 180.2 kB / 0.6581 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/0.545, allocations: 109 kB / 0.6582 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.516e-05/0.5451, allocations: 180.2 kB / 0.6584 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-05/0.5451, allocations: 105 kB / 0.6585 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0147/0.5598, allocations: 7.15 MB / 0.6655 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.5599, allocations: 0 / 0.6655 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004807/0.5647, allocations: 1.128 MB / 0.6666 GB, free: 15.55 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.002334/0.567, allocations: 1.7 MB / 0.6682 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003479/0.5705, allocations: 1.875 MB / 0.6701 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5706, allocations: 0 / 0.6701 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.998e-06/0.5706, allocations: 0 / 0.6701 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01499/0.5856, allocations: 3.451 MB / 0.6734 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5756/1.161, allocations: 62.15 MB / 0.7341 GB, free: 166.5 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008432/1.17, allocations: 5.28 MB / 0.7393 GB, free: 165.6 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006388/1.176, allocations: 2.096 MB / 0.7413 GB, free: 165.4 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004531/1.181, allocations: 4.06 MB / 0.7453 GB, free: 162.1 MB / 0.5763 GB Notification: Performance of SimCode: time 7.71e-07/1.181, allocations: 0 / 0.7453 GB, free: 162.1 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1975/1.378, allocations: 157.2 MB / 0.8988 GB, free: 14.81 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 44.03/45.41, allocations: 0 / 0.8988 GB, free: 14.81 MB / 0.5763 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