Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001501/0.001501, allocations: 121.8 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001987/0.001987, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2346/0.2346, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 75.88 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3496, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.0113/0.3609, allocations: 10.37 MB / 0.5406 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008477/0.3695, allocations: 3.067 MB / 0.5436 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002389/0.3719, allocations: 67 kB / 0.5437 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00632/0.3783, allocations: 2.679 MB / 0.5463 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003643/0.382, allocations: 1.065 MB / 0.5473 GB, free: 308 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009942/0.383, allocations: 269.7 kB / 0.5476 GB, free: 124 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002862/0.3859, allocations: 1.518 MB / 0.5491 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003347/0.3893, allocations: 2.445 MB / 0.5515 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001768/0.3911, allocations: 0.9108 MB / 0.5524 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004805/0.3959, allocations: 3.329 MB / 0.5556 GB, free: 7.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007784/0.3968, allocations: 184 kB / 0.5558 GB, free: 7.801 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.398, allocations: 275.8 kB / 0.5561 GB, free: 7.531 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002777/0.4008, allocations: 2.977 MB / 0.559 GB, free: 4.547 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00404/0.4048, allocations: 3.333 MB / 0.5622 GB, free: 1.188 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01148/0.4164, allocations: 9.816 MB / 0.5718 GB, free: 7.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.4164, allocations: 0 / 0.5718 GB, free: 7.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4164, allocations: 0 / 0.5718 GB, free: 7.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003835/0.4168, allocations: 4 kB / 0.5718 GB, free: 7.316 MB / 430.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.01786/0.4347, allocations: 9.106 MB / 0.5807 GB, free: 14.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.553e-05/0.4348, allocations: 12.03 kB / 0.5807 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001777/0.4366, allocations: 0.6196 MB / 0.5813 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00202/0.4386, allocations: 1.024 MB / 0.5823 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007284/0.4459, allocations: 3.823 MB / 0.586 GB, free: 8.531 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/0.4461, allocations: 135.3 kB / 0.5862 GB, free: 8.398 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005666/0.4467, allocations: 163.9 kB / 0.5863 GB, free: 8.238 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01033/0.457, allocations: 6.601 MB / 0.5928 GB, free: 1.457 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-05/0.4572, allocations: 11.88 kB / 0.5928 GB, free: 1.445 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003749/0.4575, allocations: 87.86 kB / 0.5929 GB, free: 1.359 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001658/0.4592, allocations: 1.561 MB / 0.5944 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008186/0.4674, allocations: 4.129 MB / 0.5984 GB, free: 11.67 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03155/0.499, allocations: 20.31 MB / 0.6183 GB, free: 7.094 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.5007, allocations: 344.2 kB / 0.6186 GB, free: 6.75 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.5008, allocations: 56.83 kB / 0.6186 GB, free: 6.691 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005433/0.5063, allocations: 3.269 MB / 0.6218 GB, free: 3.059 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.047e-05/0.5064, allocations: 105.8 kB / 0.6219 GB, free: 2.945 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 3.076e-06/0.5064, allocations: 0 / 0.6219 GB, free: 2.945 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.001562/0.508, allocations: 0.8903 MB / 0.6228 GB, free: 2.043 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.508, allocations: 126.7 kB / 0.6229 GB, free: 1.906 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02131/0.5294, allocations: 10.55 MB / 0.6332 GB, free: 7.402 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.5294, allocations: 25.7 kB / 0.6333 GB, free: 7.371 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00686/0.5363, allocations: 5.958 MB / 0.6391 GB, free: 1.387 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/0.5366, allocations: 91.91 kB / 0.6392 GB, free: 1.297 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001422/0.538, allocations: 0.8261 MB / 0.64 GB, free: 468 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.5381, allocations: 309.1 kB / 0.6403 GB, free: 156 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/0.5394, allocations: 0.7577 MB / 0.641 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003547/0.543, allocations: 4.003 MB / 0.6449 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005952/0.549, allocations: 5.204 MB / 0.65 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001256/0.5491, allocations: 32 kB / 0.65 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.009989/0.5591, allocations: 4.96 MB / 0.6549 GB, free: 13.84 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001563/0.5593, allocations: 56 kB / 0.6549 GB, free: 13.78 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002071/0.5596, allocations: 119.9 kB / 0.655 GB, free: 13.66 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001904/0.5598, allocations: 152 kB / 0.6552 GB, free: 13.52 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002849/0.5626, allocations: 0.9863 MB / 0.6562 GB, free: 12.53 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002324/0.5629, allocations: 227.1 kB / 0.6564 GB, free: 12.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004299/0.5672, allocations: 0.6208 MB / 0.657 GB, free: 11.68 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005849/0.5678, allocations: 288 kB / 0.6572 GB, free: 11.4 MB / 0.5138 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.005512/0.5734, allocations: 3.413 MB / 0.6606 GB, free: 7.973 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001481/0.5748, allocations: 0.96 MB / 0.6615 GB, free: 7 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002103/0.577, allocations: 1.027 MB / 0.6625 GB, free: 5.965 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.491e-05/0.5771, allocations: 176.3 kB / 0.6627 GB, free: 5.785 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.472e-05/0.5771, allocations: 180.2 kB / 0.6629 GB, free: 5.602 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-05/0.5772, allocations: 184.3 kB / 0.663 GB, free: 5.414 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/0.5882, allocations: 5.135 MB / 0.6681 GB, free: 216 kB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.2e-05/0.5883, allocations: 108.9 kB / 0.6682 GB, free: 100 kB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.534e-05/0.5883, allocations: 101 kB / 0.6683 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.112e-05/0.5884, allocations: 180.2 kB / 0.6684 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.922e-05/0.5885, allocations: 180.3 kB / 0.6686 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.034e-05/0.5886, allocations: 188.2 kB / 0.6688 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.479e-05/0.5886, allocations: 180.3 kB / 0.6689 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.5903, allocations: 1.195 MB / 0.6701 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002071/0.5924, allocations: 0.9454 MB / 0.671 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001364/0.5938, allocations: 192.1 kB / 0.6712 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001786/0.5956, allocations: 105 kB / 0.6713 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.16e-05/0.5957, allocations: 176.3 kB / 0.6715 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.067e-05/0.5958, allocations: 104.9 kB / 0.6716 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01501/0.6108, allocations: 7.146 MB / 0.6786 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.91e-07/0.6109, allocations: 0 / 0.6786 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005677/0.6166, allocations: 1.145 MB / 0.6797 GB, free: 4.211 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.002567/0.6192, allocations: 1.74 MB / 0.6814 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003563/0.6228, allocations: 1.871 MB / 0.6832 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.6228, allocations: 0 / 0.6832 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.687e-06/0.6228, allocations: 0 / 0.6832 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01548/0.6383, allocations: 3.458 MB / 0.6866 GB, free: 13.12 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6219/1.26, allocations: 62.44 MB / 0.7476 GB, free: 157.9 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008303/1.269, allocations: 5.282 MB / 0.7527 GB, free: 155.2 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006411/1.275, allocations: 2.097 MB / 0.7548 GB, free: 154.5 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005125/1.28, allocations: 4.059 MB / 0.7587 GB, free: 150.8 MB / 0.5763 GB Notification: Performance of SimCode: time 8.52e-07/1.28, allocations: 0 / 0.7587 GB, free: 150.8 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2034/1.484, allocations: 154.3 MB / 0.9094 GB, free: 0.6953 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 40.39/41.87, allocations: 6.391 kB / 0.9094 GB, free: 0.6914 MB / 0.5763 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches