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.00132/0.00132, allocations: 106.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001368/0.001368, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.3 MB, free: 9.055 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2063/0.2063, allocations: 46.1 MB / 343.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002316/0.002316, allocations: 81.42 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1324, allocations: 62.44 MB / 479.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.2542/0.3867, allocations: 55.49 MB / 0.5223 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02151/0.4082, allocations: 10.25 MB / 0.5323 GB, free: 6.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01276/0.421, allocations: 243.5 kB / 0.5326 GB, free: 6.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00535/0.4264, allocations: 2.691 MB / 0.5352 GB, free: 5.457 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003303/0.4298, allocations: 0.9681 MB / 0.5361 GB, free: 5.121 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008543/0.4307, allocations: 250.2 kB / 0.5364 GB, free: 5.031 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003708/0.4344, allocations: 2.531 MB / 0.5389 GB, free: 4.301 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004106/0.4385, allocations: 2.484 MB / 0.5413 GB, free: 3.137 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002437/0.441, allocations: 0.8875 MB / 0.5421 GB, free: 2.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005069/0.446, allocations: 3.553 MB / 0.5456 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009173/0.447, allocations: 161.9 kB / 0.5458 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/0.4484, allocations: 263.6 kB / 0.546 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002745/0.4511, allocations: 2.986 MB / 0.5489 GB, free: 15.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004694/0.4558, allocations: 3.296 MB / 0.5522 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007805/0.4637, allocations: 8.399 MB / 0.5604 GB, free: 4.031 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.4637, allocations: 4 kB / 0.5604 GB, free: 4.027 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4637, allocations: 0 / 0.5604 GB, free: 4.027 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002056/0.4639, allocations: 0 / 0.5604 GB, free: 4.027 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.01182/0.4757, allocations: 8.774 MB / 0.5689 GB, free: 11.19 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.327e-05/0.4758, allocations: 12.88 kB / 0.5689 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008718/0.4767, allocations: 0.6134 MB / 0.5695 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.4779, allocations: 0.9705 MB / 0.5705 GB, free: 9.582 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00475/0.4827, allocations: 3.717 MB / 0.5741 GB, free: 5.969 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.866e-05/0.4828, allocations: 129.2 kB / 0.5742 GB, free: 5.855 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002146/0.483, allocations: 171.2 kB / 0.5744 GB, free: 5.703 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008556/0.4916, allocations: 6.601 MB / 0.5808 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.496e-05/0.4916, allocations: 7.938 kB / 0.5809 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/0.4918, allocations: 79.94 kB / 0.5809 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001548/0.4933, allocations: 1.561 MB / 0.5825 GB, free: 13.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006946/0.5003, allocations: 4.129 MB / 0.5865 GB, free: 9.18 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02626/0.5266, allocations: 20.4 MB / 0.6064 GB, free: 4.508 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.5282, allocations: 338.2 kB / 0.6067 GB, free: 4.168 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.5283, allocations: 68.84 kB / 0.6068 GB, free: 4.098 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004084/0.5324, allocations: 3.257 MB / 0.61 GB, free: 488 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/0.5324, allocations: 105.8 kB / 0.6101 GB, free: 372 kB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.362e-06/0.5325, allocations: 0 / 0.6101 GB, free: 372 kB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0008827/0.5333, allocations: 0.8349 MB / 0.6109 GB, free: 15.51 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/0.5334, allocations: 130.7 kB / 0.611 GB, free: 15.37 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01542/0.5488, allocations: 10.55 MB / 0.6213 GB, free: 4.871 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.5489, allocations: 29.64 kB / 0.6214 GB, free: 4.836 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004775/0.5537, allocations: 5.831 MB / 0.627 GB, free: 14.96 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.5539, allocations: 91.89 kB / 0.6271 GB, free: 14.87 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008371/0.5547, allocations: 0.8174 MB / 0.6279 GB, free: 14.04 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.5548, allocations: 301.1 kB / 0.6282 GB, free: 13.74 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.5558, allocations: 0.7655 MB / 0.629 GB, free: 12.96 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003226/0.5591, allocations: 3.995 MB / 0.6329 GB, free: 7.285 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005446/0.5645, allocations: 5.201 MB / 0.6379 GB, free: 440 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.604e-05/0.5646, allocations: 36 kB / 0.638 GB, free: 404 kB / 478.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008109/0.5727, allocations: 4.919 MB / 0.6428 GB, free: 11.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.33e-05/0.5728, allocations: 57 kB / 0.6428 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001731/0.573, allocations: 116 kB / 0.643 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001403/0.5732, allocations: 159.9 kB / 0.6431 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002325/0.5755, allocations: 0.9864 MB / 0.6441 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001962/0.5757, allocations: 227.1 kB / 0.6443 GB, free: 9.922 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003471/0.5792, allocations: 0.5952 MB / 0.6449 GB, free: 9.324 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002921/0.5795, allocations: 288 kB / 0.6451 GB, free: 9.043 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.004435/0.5839, allocations: 3.409 MB / 0.6485 GB, free: 5.621 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001109/0.585, allocations: 0.912 MB / 0.6494 GB, free: 4.691 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/0.5867, allocations: 1.027 MB / 0.6504 GB, free: 3.656 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.135e-05/0.5867, allocations: 176.3 kB / 0.6505 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.373e-05/0.5868, allocations: 184.3 kB / 0.6507 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.472e-05/0.5868, allocations: 188.2 kB / 0.6509 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008065/0.5949, allocations: 5.122 MB / 0.6559 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.155e-05/0.595, allocations: 108.9 kB / 0.656 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.498e-05/0.595, allocations: 109 kB / 0.6561 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.05e-05/0.5951, allocations: 180.3 kB / 0.6563 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.882e-05/0.5951, allocations: 184.1 kB / 0.6564 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.343e-05/0.5952, allocations: 180.3 kB / 0.6566 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.696e-05/0.5953, allocations: 184.1 kB / 0.6568 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.5963, allocations: 1.159 MB / 0.6579 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001405/0.5978, allocations: 0.8975 MB / 0.6588 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007896/0.5986, allocations: 180.2 kB / 0.659 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.5996, allocations: 104.9 kB / 0.6591 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.5997, allocations: 180.3 kB / 0.6592 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/0.5997, allocations: 112.9 kB / 0.6593 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.01208/0.6118, allocations: 7.138 MB / 0.6663 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.21e-07/0.6118, allocations: 0 / 0.6663 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004402/0.6162, allocations: 1.132 MB / 0.6674 GB, free: 1.996 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.001818/0.6181, allocations: 1.693 MB / 0.6691 GB, free: 272 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003151/0.6212, allocations: 1.879 MB / 0.6709 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.6213, allocations: 0 / 0.6709 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.036e-06/0.6213, allocations: 0 / 0.6709 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01336/0.6346, allocations: 3.238 MB / 0.6741 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5847/1.219, allocations: 96.79 MB / 0.7686 GB, free: 113.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006928/1.226, allocations: 5.271 MB / 0.7737 GB, free: 108.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007115/1.233, allocations: 2.1 MB / 0.7758 GB, free: 107 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005058/1.239, allocations: 4.061 MB / 0.7798 GB, free: 103 MB / 0.545 GB Notification: Performance of SimCode: time 1.243e-06/1.239, allocations: 0 / 0.7798 GB, free: 103 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4652/1.704, allocations: 157.1 MB / 0.9332 GB, free: 213.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001415/1.704, allocations: 196.1 kB / 0.9334 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.627/8.331, allocations: 6.812 kB / 0.9334 GB, free: 213.6 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