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.0009538/0.0009537, allocations: 93.78 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001194/0.001194, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1884/0.1884, allocations: 46.18 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002765/0.0002765, allocations: 8 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1211, allocations: 63.56 MB / 483.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.2815/0.4027, allocations: 54.08 MB / 0.5247 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02527/0.428, allocations: 10.21 MB / 0.5346 GB, free: 6.477 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01053/0.4386, allocations: 238.3 kB / 0.5349 GB, free: 6.441 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.4397, allocations: 266.7 kB / 0.5351 GB, free: 6.316 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003248/0.4429, allocations: 0.9583 MB / 0.536 GB, free: 5.988 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007729/0.4437, allocations: 259.6 kB / 0.5363 GB, free: 5.895 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003132/0.4469, allocations: 2.533 MB / 0.5388 GB, free: 5.164 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003648/0.4505, allocations: 3.184 MB / 0.5419 GB, free: 3.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.4516, allocations: 0.6697 MB / 0.5425 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003132/0.4547, allocations: 3.275 MB / 0.5457 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002997/0.455, allocations: 72.06 kB / 0.5458 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000552/0.4556, allocations: 172.6 kB / 0.546 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00151/0.4571, allocations: 2.856 MB / 0.5488 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002103/0.4592, allocations: 3.158 MB / 0.5518 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0068/0.466, allocations: 8.184 MB / 0.5598 GB, free: 6.645 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.4661, allocations: 3.938 kB / 0.5598 GB, free: 6.641 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.107e-06/0.4661, allocations: 0 / 0.5598 GB, free: 6.641 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000293/0.4664, allocations: 0 / 0.5598 GB, free: 6.641 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.01062/0.477, allocations: 7.469 MB / 0.5671 GB, free: 15.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.4771, allocations: 16.81 kB / 0.5671 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001053/0.4781, allocations: 0.6188 MB / 0.5677 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.4793, allocations: 0.9704 MB / 0.5687 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004451/0.4838, allocations: 3.717 MB / 0.5723 GB, free: 9.855 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.461e-05/0.4839, allocations: 134.3 kB / 0.5724 GB, free: 9.738 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/0.4841, allocations: 162.8 kB / 0.5726 GB, free: 9.594 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007554/0.4916, allocations: 6.6 MB / 0.5791 GB, free: 2.863 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.675e-05/0.4917, allocations: 3.938 kB / 0.5791 GB, free: 2.859 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001809/0.4919, allocations: 85.34 kB / 0.5791 GB, free: 2.793 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001503/0.4934, allocations: 1.559 MB / 0.5807 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006641/0.5, allocations: 4.136 MB / 0.5847 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02681/0.5269, allocations: 20.39 MB / 0.6046 GB, free: 8.559 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.5285, allocations: 342.1 kB / 0.6049 GB, free: 8.215 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.5286, allocations: 56.83 kB / 0.605 GB, free: 8.156 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004548/0.5332, allocations: 3.257 MB / 0.6082 GB, free: 4.543 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.284e-05/0.5332, allocations: 113.9 kB / 0.6083 GB, free: 4.422 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.114e-06/0.5332, allocations: 0 / 0.6083 GB, free: 4.422 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.001064/0.5343, allocations: 0.8385 MB / 0.6091 GB, free: 3.566 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/0.5344, allocations: 130.7 kB / 0.6092 GB, free: 3.426 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01353/0.5479, allocations: 10.55 MB / 0.6195 GB, free: 8.926 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.548, allocations: 25.7 kB / 0.6196 GB, free: 8.895 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004626/0.5526, allocations: 5.826 MB / 0.6252 GB, free: 3.062 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.754e-05/0.5527, allocations: 95.91 kB / 0.6253 GB, free: 2.969 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003548/0.5531, allocations: 346.8 kB / 0.6257 GB, free: 2.621 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.5532, allocations: 305.1 kB / 0.626 GB, free: 2.32 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/0.5543, allocations: 0.7616 MB / 0.6267 GB, free: 1.551 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003226/0.5575, allocations: 3.995 MB / 0.6306 GB, free: 11.87 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005066/0.5626, allocations: 5.197 MB / 0.6357 GB, free: 5.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.376e-05/0.5627, allocations: 36 kB / 0.6357 GB, free: 4.984 MB / 478.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.007395/0.5701, allocations: 4.923 MB / 0.6405 GB, free: 52 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.417e-05/0.5702, allocations: 59.98 kB / 0.6406 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001073/0.5703, allocations: 119.9 kB / 0.6407 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001366/0.5704, allocations: 152 kB / 0.6408 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002217/0.5726, allocations: 0.9824 MB / 0.6418 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001531/0.5728, allocations: 227.1 kB / 0.642 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00301/0.5758, allocations: 0.607 MB / 0.6426 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002612/0.5761, allocations: 288 kB / 0.6429 GB, free: 13.62 MB / 494.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.004336/0.5804, allocations: 3.401 MB / 0.6462 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001246/0.5817, allocations: 0.9082 MB / 0.6471 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001677/0.5834, allocations: 1.023 MB / 0.6481 GB, free: 8.254 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.26e-05/0.5835, allocations: 184.2 kB / 0.6483 GB, free: 8.066 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.726e-05/0.5835, allocations: 184.2 kB / 0.6484 GB, free: 7.879 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.718e-05/0.5836, allocations: 180.3 kB / 0.6486 GB, free: 7.695 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006385/0.59, allocations: 5.131 MB / 0.6536 GB, free: 2.496 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.308e-05/0.59, allocations: 109 kB / 0.6537 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.3e-05/0.5901, allocations: 104.9 kB / 0.6538 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.346e-05/0.5902, allocations: 176.3 kB / 0.654 GB, free: 2.094 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.822e-05/0.5903, allocations: 192.1 kB / 0.6542 GB, free: 1.898 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-05/0.5903, allocations: 176.3 kB / 0.6543 GB, free: 1.719 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-05/0.5904, allocations: 176.3 kB / 0.6545 GB, free: 1.539 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008473/0.5912, allocations: 1.163 MB / 0.6556 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/0.5923, allocations: 0.9013 MB / 0.6565 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004169/0.5927, allocations: 184.2 kB / 0.6567 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007663/0.5935, allocations: 109 kB / 0.6568 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.339e-05/0.5936, allocations: 188.1 kB / 0.657 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/0.5936, allocations: 105 kB / 0.6571 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.01023/0.6039, allocations: 7.138 MB / 0.6641 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.81e-07/0.6039, allocations: 0 / 0.6641 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003602/0.6075, allocations: 1.124 MB / 0.6652 GB, free: 6.586 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.001198/0.6087, allocations: 1.714 MB / 0.6668 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00276/0.6115, allocations: 1.863 MB / 0.6686 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6115, allocations: 64 / 0.6686 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.6115, allocations: 4 kB / 0.6687 GB, free: 3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0115/0.623, allocations: 3.248 MB / 0.6718 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6172/1.24, allocations: 96.8 MB / 0.7664 GB, free: 118.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00462/1.245, allocations: 5.269 MB / 0.7715 GB, free: 113.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005691/1.251, allocations: 2.101 MB / 0.7736 GB, free: 112 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003386/1.254, allocations: 4.057 MB / 0.7775 GB, free: 108 MB / 0.545 GB Notification: Performance of SimCode: time 1.222e-06/1.254, allocations: 2.953 kB / 0.7775 GB, free: 108 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4354/1.69, allocations: 156.5 MB / 0.9304 GB, free: 209.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/1.69, allocations: 199.4 kB / 0.9305 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.947/7.637, allocations: 4.859 kB / 0.9306 GB, free: 209.5 MB / 0.5919 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches