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.001967/0.001967, allocations: 118.1 kB / 17.79 MB, free: 5.254 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.002284/0.002284, allocations: 183 kB / 18.72 MB, free: 4.332 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.486/1.486, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.227/0.227, allocations: 44.19 MB / 336.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 67.83 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3828, allocations: 60.82 MB / 0.5184 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01201/0.3949, allocations: 10.39 MB / 0.5286 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00817/0.4031, allocations: 3.024 MB / 0.5315 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002453/0.4056, allocations: 66.84 kB / 0.5316 GB, free: 9.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006105/0.4118, allocations: 2.671 MB / 0.5342 GB, free: 8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00392/0.4158, allocations: 1.034 MB / 0.5352 GB, free: 7.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.4169, allocations: 274.2 kB / 0.5355 GB, free: 7.078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003579/0.4205, allocations: 1.524 MB / 0.5369 GB, free: 6.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003808/0.4243, allocations: 2.444 MB / 0.5393 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002296/0.4267, allocations: 0.9536 MB / 0.5403 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005411/0.4321, allocations: 3.311 MB / 0.5435 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008766/0.4331, allocations: 188 kB / 0.5437 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/0.4343, allocations: 271.8 kB / 0.5439 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003142/0.4375, allocations: 2.919 MB / 0.5468 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005/0.4425, allocations: 3.337 MB / 0.55 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01342/0.456, allocations: 9.808 MB / 0.5596 GB, free: 1.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.129e-05/0.4561, allocations: 4 kB / 0.5596 GB, free: 1.727 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4561, allocations: 4 kB / 0.5596 GB, free: 1.723 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003494/0.4564, allocations: 0 / 0.5596 GB, free: 1.723 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.01897/0.4754, allocations: 9.121 MB / 0.5685 GB, free: 8.488 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.4755, allocations: 8.031 kB / 0.5685 GB, free: 8.48 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001595/0.4771, allocations: 0.6195 MB / 0.5692 GB, free: 7.852 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002336/0.4794, allocations: 1.028 MB / 0.5702 GB, free: 6.816 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008598/0.4881, allocations: 3.823 MB / 0.5739 GB, free: 2.922 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/0.4883, allocations: 143.2 kB / 0.574 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004538/0.4887, allocations: 163.9 kB / 0.5742 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01085/0.4996, allocations: 6.608 MB / 0.5806 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.52e-05/0.4997, allocations: 7.938 kB / 0.5806 GB, free: 11.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003715/0.5001, allocations: 75.94 kB / 0.5807 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00197/0.5021, allocations: 1.564 MB / 0.5822 GB, free: 10.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00856/0.5107, allocations: 4.129 MB / 0.5863 GB, free: 6.059 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03624/0.547, allocations: 20.32 MB / 0.6061 GB, free: 1.477 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.5488, allocations: 338.2 kB / 0.6064 GB, free: 1.137 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.5491, allocations: 64.81 kB / 0.6065 GB, free: 1.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009256/0.5584, allocations: 3.269 MB / 0.6097 GB, free: 13.44 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.367e-05/0.5585, allocations: 105.8 kB / 0.6098 GB, free: 13.32 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 3.276e-06/0.5585, allocations: 0 / 0.6098 GB, free: 13.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.002674/0.5612, allocations: 0.8786 MB / 0.6107 GB, free: 12.43 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.5614, allocations: 130.7 kB / 0.6108 GB, free: 12.29 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03559/0.597, allocations: 10.56 MB / 0.6211 GB, free: 1.789 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.5971, allocations: 29.7 kB / 0.6211 GB, free: 1.754 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.01202/0.6091, allocations: 5.965 MB / 0.6269 GB, free: 11.76 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/0.6095, allocations: 91.91 kB / 0.627 GB, free: 11.67 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002055/0.6115, allocations: 0.826 MB / 0.6278 GB, free: 10.83 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.6118, allocations: 309.1 kB / 0.6281 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002298/0.6141, allocations: 0.7577 MB / 0.6289 GB, free: 9.758 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006669/0.6208, allocations: 3.999 MB / 0.6328 GB, free: 4.074 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01086/0.6317, allocations: 5.204 MB / 0.6379 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001289/0.6319, allocations: 36 kB / 0.6379 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01726/0.6492, allocations: 4.964 MB / 0.6427 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001532/0.6494, allocations: 56 kB / 0.6428 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002284/0.6497, allocations: 116 kB / 0.6429 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000269/0.65, allocations: 152 kB / 0.6431 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005339/0.6553, allocations: 0.9824 MB / 0.644 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003439/0.6557, allocations: 231.1 kB / 0.6442 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00698/0.6627, allocations: 0.6248 MB / 0.6448 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008645/0.6636, allocations: 288 kB / 0.6451 GB, free: 5.77 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.00846/0.6721, allocations: 3.409 MB / 0.6484 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002231/0.6744, allocations: 0.956 MB / 0.6494 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0034/0.6778, allocations: 1.019 MB / 0.6504 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001322/0.678, allocations: 180.3 kB / 0.6505 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001447/0.6782, allocations: 184.2 kB / 0.6507 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001136/0.6783, allocations: 180.3 kB / 0.6509 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01657/0.6949, allocations: 5.142 MB / 0.6559 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-05/0.6951, allocations: 101 kB / 0.656 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.358e-05/0.6952, allocations: 105 kB / 0.6561 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001097/0.6953, allocations: 184.2 kB / 0.6563 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.6954, allocations: 176.3 kB / 0.6565 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001018/0.6955, allocations: 188.2 kB / 0.6566 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001049/0.6956, allocations: 184.3 kB / 0.6568 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002437/0.6981, allocations: 1.199 MB / 0.658 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00323/0.7013, allocations: 0.9492 MB / 0.6589 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001771/0.7032, allocations: 184.2 kB / 0.6591 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002489/0.7057, allocations: 105 kB / 0.6592 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.7059, allocations: 176.3 kB / 0.6594 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.999e-05/0.706, allocations: 108.9 kB / 0.6595 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.02578/0.7318, allocations: 7.142 MB / 0.6664 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.92e-07/0.7319, allocations: 0 / 0.6664 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007556/0.7394, allocations: 1.145 MB / 0.6675 GB, free: 14.58 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.002748/0.7422, allocations: 1.744 MB / 0.6693 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004718/0.747, allocations: 1.874 MB / 0.6711 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/0.7471, allocations: 0 / 0.6711 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.859e-06/0.7471, allocations: 3.938 kB / 0.6711 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01548/0.7626, allocations: 3.436 MB / 0.6744 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6492/1.412, allocations: 62.48 MB / 0.7355 GB, free: 165.5 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008949/1.421, allocations: 5.28 MB / 0.7406 GB, free: 164.6 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006669/1.427, allocations: 2.099 MB / 0.7427 GB, free: 164.4 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005204/1.433, allocations: 4.063 MB / 0.7466 GB, free: 161 MB / 0.5763 GB Notification: Performance of SimCode: time 1.312e-06/1.433, allocations: 0 / 0.7466 GB, free: 161 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2167/1.65, allocations: 154.5 MB / 0.8975 GB, free: 16.21 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 39.15/40.8, allocations: 6.875 kB / 0.8975 GB, free: 16.21 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