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: translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001593/0.001593, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001988/0.001989, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2175/0.2175, allocations: 46.11 MB / 344.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.001441, allocations: 72.67 kB / 418.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1105, allocations: 62.45 MB / 480.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01125/0.1218, allocations: 10.35 MB / 491 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006479/0.1283, allocations: 3.075 MB / 494.1 MB, free: 7.781 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001542/0.1299, allocations: 63.81 kB / 494.2 MB, free: 7.719 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00502/0.1349, allocations: 2.687 MB / 496.9 MB, free: 5.023 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00261/0.1376, allocations: 1.023 MB / 497.9 MB, free: 3.996 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008059/0.1384, allocations: 271.5 kB / 498.2 MB, free: 3.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002112/0.1406, allocations: 1.514 MB / 499.7 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003064/0.1436, allocations: 2.441 MB / 0.4903 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001491/0.1452, allocations: 0.9421 MB / 0.4913 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00403/0.1492, allocations: 3.324 MB / 0.4945 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006905/0.1499, allocations: 188 kB / 0.4947 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00096/0.1509, allocations: 271.8 kB / 0.495 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002326/0.1533, allocations: 2.915 MB / 0.4978 GB, free: 8.086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003637/0.1569, allocations: 3.341 MB / 0.5011 GB, free: 4.719 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2087/0.3656, allocations: 9.204 MB / 0.51 GB, free: 21.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.3657, allocations: 0 / 0.51 GB, free: 21.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.3657, allocations: 1.188 kB / 0.51 GB, free: 21.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003993/0.3661, allocations: 0 / 0.51 GB, free: 21.3 MB / 382.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.01759/0.3837, allocations: 8.766 MB / 0.5186 GB, free: 16.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.3837, allocations: 10.47 kB / 0.5186 GB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001878/0.3856, allocations: 0.9697 MB / 0.5196 GB, free: 16.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006628/0.3923, allocations: 3.721 MB / 0.5232 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.3924, allocations: 126.6 kB / 0.5233 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003734/0.3928, allocations: 168.5 kB / 0.5235 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009304/0.4021, allocations: 6.604 MB / 0.5299 GB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.753e-05/0.4022, allocations: 8.688 kB / 0.5299 GB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001787/0.4024, allocations: 79.41 kB / 0.53 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001568/0.404, allocations: 1.558 MB / 0.5315 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006982/0.411, allocations: 4.135 MB / 0.5356 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02954/0.4405, allocations: 20.4 MB / 0.5555 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.4423, allocations: 339 kB / 0.5558 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.4424, allocations: 56.83 kB / 0.5559 GB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005439/0.4478, allocations: 3.268 MB / 0.5591 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.421e-05/0.4479, allocations: 105.8 kB / 0.5592 GB, free: 4.195 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.693e-06/0.4479, allocations: 0 / 0.5592 GB, free: 4.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.001422/0.4494, allocations: 0.8347 MB / 0.56 GB, free: 3.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.4494, allocations: 126.7 kB / 0.5601 GB, free: 3.207 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02058/0.47, allocations: 10.55 MB / 0.5704 GB, free: 8.715 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.4701, allocations: 27.23 kB / 0.5704 GB, free: 8.684 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006982/0.4771, allocations: 5.834 MB / 0.5761 GB, free: 2.859 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.4773, allocations: 91.91 kB / 0.5762 GB, free: 2.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009645/0.4782, allocations: 0.8174 MB / 0.577 GB, free: 1.938 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.445e-05/0.4783, allocations: 308.6 kB / 0.5773 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.4794, allocations: 0.7616 MB / 0.5781 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002797/0.4822, allocations: 3.999 MB / 0.582 GB, free: 11.24 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004771/0.487, allocations: 5.203 MB / 0.587 GB, free: 4.871 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.3e-05/0.4871, allocations: 33.09 kB / 0.5871 GB, free: 4.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008867/0.4959, allocations: 4.92 MB / 0.5919 GB, free: 340 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.494e-05/0.496, allocations: 58.66 kB / 0.5919 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001105/0.4962, allocations: 116 kB / 0.592 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000122/0.4963, allocations: 152 kB / 0.5922 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002538/0.4988, allocations: 0.9864 MB / 0.5931 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001574/0.499, allocations: 227.7 kB / 0.5934 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004596/0.5036, allocations: 0.5978 MB / 0.5939 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006353/0.5043, allocations: 292 kB / 0.5942 GB, free: 13.92 MB / 446.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.006023/0.5103, allocations: 3.41 MB / 0.5976 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002019/0.5124, allocations: 0.9081 MB / 0.5984 GB, free: 9.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002888/0.5153, allocations: 1.023 MB / 0.5994 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.142e-05/0.5153, allocations: 176.3 kB / 0.5996 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.782e-05/0.5154, allocations: 177.7 kB / 0.5998 GB, free: 8.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.558e-05/0.5155, allocations: 192.2 kB / 0.6 GB, free: 7.984 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01251/0.528, allocations: 5.131 MB / 0.605 GB, free: 2.785 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.994e-05/0.5281, allocations: 104.9 kB / 0.6051 GB, free: 2.676 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.282e-05/0.5281, allocations: 101.5 kB / 0.6052 GB, free: 2.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-05/0.5282, allocations: 176.3 kB / 0.6053 GB, free: 2.391 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.406e-05/0.5282, allocations: 192.2 kB / 0.6055 GB, free: 2.195 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-05/0.5283, allocations: 184.3 kB / 0.6057 GB, free: 2.008 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.118e-05/0.5284, allocations: 180.2 kB / 0.6059 GB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002034/0.5304, allocations: 1.152 MB / 0.607 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001954/0.5324, allocations: 0.9054 MB / 0.6079 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001227/0.5336, allocations: 190.7 kB / 0.6081 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009892/0.5346, allocations: 104.9 kB / 0.6082 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.832e-05/0.5347, allocations: 176.3 kB / 0.6083 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.5347, allocations: 106.5 kB / 0.6084 GB, free: 15.11 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.01488/0.5496, allocations: 7.142 MB / 0.6154 GB, free: 8.016 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5497, allocations: 0 / 0.6154 GB, free: 8.016 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005756/0.5554, allocations: 1.129 MB / 0.6165 GB, free: 6.883 MB / 462.1 MB 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.0002335/0.5557, allocations: 178.5 kB / 0.6167 GB, free: 6.695 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003104/0.5588, allocations: 1.867 MB / 0.6185 GB, free: 4.855 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.5588, allocations: 448 / 0.6185 GB, free: 4.855 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.386e-06/0.5588, allocations: 4 kB / 0.6185 GB, free: 4.852 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01526/0.5741, allocations: 3.446 MB / 0.6219 GB, free: 1.414 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02998/0.6041, allocations: 16.63 MB / 0.6381 GB, free: 0.75 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009027/0.6132, allocations: 5.273 MB / 0.6433 GB, free: 11.44 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/0.6142, allocations: 435.4 kB / 0.6437 GB, free: 11.02 MB / 494.1 MB Notification: Performance of SimCode: time 2.465e-06/0.6143, allocations: 4 kB / 0.6437 GB, free: 11.01 MB / 494.1 MB Notification: Performance of Templates: time 0.4142/1.028, allocations: 126.7 MB / 0.7674 GB, free: 153.3 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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