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.00165/0.00165, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.002071/0.002071, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.4/1.4, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2248/0.2248, allocations: 44.19 MB / 336.8 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002343/0.002343, allocations: 63.89 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3746, allocations: 60.82 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01161/0.3863, allocations: 10.39 MB / 0.5286 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008014/0.3943, allocations: 3.025 MB / 0.5315 GB, free: 9.801 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002707/0.3971, allocations: 67.12 kB / 0.5316 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005572/0.4027, allocations: 2.671 MB / 0.5342 GB, free: 8.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003559/0.4063, allocations: 1.073 MB / 0.5352 GB, free: 7.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.4075, allocations: 265.1 kB / 0.5355 GB, free: 7.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003211/0.4107, allocations: 1.521 MB / 0.537 GB, free: 6.199 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003815/0.4146, allocations: 2.454 MB / 0.5394 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001945/0.4165, allocations: 0.9146 MB / 0.5403 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005167/0.4217, allocations: 3.328 MB / 0.5435 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008199/0.4226, allocations: 188 kB / 0.5437 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.4239, allocations: 271.8 kB / 0.544 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00298/0.4269, allocations: 2.978 MB / 0.5469 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004545/0.4315, allocations: 3.341 MB / 0.5501 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01151/0.443, allocations: 9.812 MB / 0.5597 GB, free: 1.676 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.041e-05/0.4431, allocations: 0 / 0.5597 GB, free: 1.676 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4431, allocations: 4 kB / 0.5597 GB, free: 1.672 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004236/0.4435, allocations: 0 / 0.5597 GB, free: 1.672 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.01649/0.46, allocations: 9.122 MB / 0.5686 GB, free: 8.438 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.4601, allocations: 12.03 kB / 0.5686 GB, free: 8.426 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001249/0.4614, allocations: 0.6157 MB / 0.5692 GB, free: 7.801 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/0.463, allocations: 1.024 MB / 0.5702 GB, free: 6.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00669/0.4697, allocations: 3.827 MB / 0.574 GB, free: 2.871 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.4699, allocations: 135.3 kB / 0.5741 GB, free: 2.738 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004234/0.4703, allocations: 167.9 kB / 0.5743 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009376/0.4797, allocations: 6.604 MB / 0.5807 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.283e-05/0.4798, allocations: 7.938 kB / 0.5807 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001745/0.48, allocations: 75.94 kB / 0.5808 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001596/0.4816, allocations: 1.557 MB / 0.5823 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007505/0.4891, allocations: 4.14 MB / 0.5864 GB, free: 6.012 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02882/0.518, allocations: 20.32 MB / 0.6062 GB, free: 1.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.5196, allocations: 334.2 kB / 0.6065 GB, free: 1.094 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.5197, allocations: 64.83 kB / 0.6066 GB, free: 1.027 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005235/0.5249, allocations: 3.269 MB / 0.6098 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.525, allocations: 113.8 kB / 0.6099 GB, free: 13.27 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 2.474e-06/0.525, allocations: 4 kB / 0.6099 GB, free: 13.27 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.001156/0.5262, allocations: 0.8748 MB / 0.6107 GB, free: 12.38 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/0.5263, allocations: 130.7 kB / 0.6109 GB, free: 12.24 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01741/0.5437, allocations: 10.56 MB / 0.6212 GB, free: 1.738 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.5438, allocations: 25.7 kB / 0.6212 GB, free: 1.707 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00583/0.5496, allocations: 5.965 MB / 0.627 GB, free: 11.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.5498, allocations: 91.91 kB / 0.6271 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008813/0.5507, allocations: 0.8299 MB / 0.6279 GB, free: 10.78 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.5508, allocations: 309.1 kB / 0.6282 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009978/0.5518, allocations: 0.7616 MB / 0.629 GB, free: 9.703 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003042/0.5548, allocations: 3.999 MB / 0.6329 GB, free: 4.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004916/0.5598, allocations: 5.201 MB / 0.6379 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.732e-05/0.5599, allocations: 36 kB / 0.638 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008442/0.5683, allocations: 4.96 MB / 0.6428 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.052e-05/0.5685, allocations: 56.19 kB / 0.6429 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001283/0.5686, allocations: 120 kB / 0.643 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001472/0.5687, allocations: 152 kB / 0.6431 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00249/0.5712, allocations: 0.9863 MB / 0.6441 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001519/0.5714, allocations: 227.1 kB / 0.6443 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003537/0.575, allocations: 0.6243 MB / 0.6449 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003608/0.5753, allocations: 284 kB / 0.6452 GB, free: 5.723 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.004452/0.5798, allocations: 3.409 MB / 0.6485 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001159/0.581, allocations: 0.956 MB / 0.6495 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/0.5826, allocations: 1.019 MB / 0.6504 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.056e-05/0.5827, allocations: 188.3 kB / 0.6506 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.989e-05/0.5827, allocations: 176.3 kB / 0.6508 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.868e-05/0.5828, allocations: 180.3 kB / 0.651 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007853/0.5907, allocations: 5.142 MB / 0.656 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.598e-05/0.5907, allocations: 101 kB / 0.6561 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.995e-05/0.5908, allocations: 104.9 kB / 0.6562 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.579e-05/0.5908, allocations: 188.2 kB / 0.6564 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.619e-05/0.5909, allocations: 176.3 kB / 0.6565 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-05/0.5909, allocations: 180.2 kB / 0.6567 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.192e-05/0.591, allocations: 184.3 kB / 0.6569 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.5922, allocations: 1.203 MB / 0.6581 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001509/0.5937, allocations: 0.9453 MB / 0.659 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005632/0.5943, allocations: 188.2 kB / 0.6592 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007956/0.5951, allocations: 101 kB / 0.6593 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/0.5952, allocations: 180.2 kB / 0.6594 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/0.5952, allocations: 109 kB / 0.6595 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.01107/0.6063, allocations: 7.146 MB / 0.6665 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.91e-07/0.6063, allocations: 3.938 kB / 0.6665 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004293/0.6106, allocations: 1.149 MB / 0.6676 GB, free: 14.52 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.001635/0.6123, allocations: 1.744 MB / 0.6693 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003017/0.6153, allocations: 1.867 MB / 0.6712 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.6154, allocations: 4 kB / 0.6712 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.627e-06/0.6154, allocations: 0.625 kB / 0.6712 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01393/0.6293, allocations: 3.447 MB / 0.6745 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5889/1.218, allocations: 62.47 MB / 0.7355 GB, free: 165.6 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009201/1.228, allocations: 5.275 MB / 0.7407 GB, free: 164.6 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006787/1.234, allocations: 2.101 MB / 0.7427 GB, free: 164.4 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005359/1.24, allocations: 4.063 MB / 0.7467 GB, free: 161 MB / 0.5763 GB Notification: Performance of SimCode: time 1.763e-06/1.24, allocations: 0 / 0.7467 GB, free: 161 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1991/1.439, allocations: 154.5 MB / 0.8976 GB, free: 16.3 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 36.98/38.42, allocations: 4 kB / 0.8976 GB, free: 16.29 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 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.csv","/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