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.001129/0.001129, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001118/0.001118, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2336/0.2336, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 75.56 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1361, allocations: 62.44 MB / 480 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01135/0.1475, allocations: 10.36 MB / 490.4 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006993/0.1546, allocations: 3.075 MB / 493.4 MB, free: 7.785 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001737/0.1564, allocations: 67.81 kB / 493.5 MB, free: 7.719 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004772/0.1612, allocations: 2.679 MB / 496.2 MB, free: 5.031 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002737/0.1639, allocations: 1.023 MB / 497.2 MB, free: 4.004 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007665/0.1647, allocations: 267.5 kB / 497.5 MB, free: 3.742 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002004/0.1667, allocations: 1.517 MB / 499 MB, free: 2.223 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002508/0.1693, allocations: 2.433 MB / 0.4897 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001231/0.1705, allocations: 0.9459 MB / 0.4906 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004378/0.1749, allocations: 3.316 MB / 0.4938 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004563/0.1754, allocations: 191.9 kB / 0.494 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000781/0.1762, allocations: 275.8 kB / 0.4943 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00228/0.1785, allocations: 2.915 MB / 0.4971 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003103/0.1816, allocations: 3.337 MB / 0.5004 GB, free: 4.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.271/0.4525, allocations: 9.204 MB / 0.5094 GB, free: 21.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.4526, allocations: 1.531 kB / 0.5094 GB, free: 21.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4526, allocations: 0 / 0.5094 GB, free: 21.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003709/0.453, allocations: 1.031 kB / 0.5094 GB, free: 21.26 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.01559/0.4686, allocations: 8.768 MB / 0.5179 GB, free: 16.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.4686, allocations: 9.375 kB / 0.518 GB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/0.4702, allocations: 0.9714 MB / 0.5189 GB, free: 16.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006509/0.4767, allocations: 3.717 MB / 0.5225 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.4769, allocations: 129.2 kB / 0.5227 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002542/0.4771, allocations: 168.1 kB / 0.5228 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01068/0.4878, allocations: 6.604 MB / 0.5293 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.325e-05/0.4879, allocations: 7.312 kB / 0.5293 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.4881, allocations: 80.89 kB / 0.5293 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001768/0.4898, allocations: 1.558 MB / 0.5309 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00637/0.4962, allocations: 4.129 MB / 0.5349 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02926/0.5255, allocations: 20.41 MB / 0.5548 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/0.5272, allocations: 341.8 kB / 0.5552 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.5273, allocations: 60.81 kB / 0.5552 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005974/0.5333, allocations: 3.264 MB / 0.5584 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.5335, allocations: 109.8 kB / 0.5585 GB, free: 4.219 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.783e-06/0.5335, allocations: 0 / 0.5585 GB, free: 4.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.001199/0.5347, allocations: 0.8344 MB / 0.5593 GB, free: 3.371 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/0.5347, allocations: 130.7 kB / 0.5594 GB, free: 3.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02342/0.5582, allocations: 10.54 MB / 0.5697 GB, free: 8.742 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.5583, allocations: 26.25 kB / 0.5698 GB, free: 8.711 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00608/0.5643, allocations: 5.831 MB / 0.5755 GB, free: 2.883 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/0.5645, allocations: 91.89 kB / 0.5755 GB, free: 2.793 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001051/0.5656, allocations: 0.8146 MB / 0.5763 GB, free: 1.965 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.5657, allocations: 305.1 kB / 0.5766 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.5668, allocations: 0.7577 MB / 0.5774 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004006/0.5708, allocations: 4.002 MB / 0.5813 GB, free: 11.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005585/0.5764, allocations: 5.204 MB / 0.5864 GB, free: 4.898 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.924e-05/0.5765, allocations: 33.69 kB / 0.5864 GB, free: 4.867 MB / 430.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008705/0.5852, allocations: 4.919 MB / 0.5912 GB, free: 368 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.713e-05/0.5853, allocations: 56 kB / 0.5913 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.472e-05/0.5854, allocations: 120 kB / 0.5914 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001459/0.5855, allocations: 156 kB / 0.5915 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002292/0.5878, allocations: 0.984 MB / 0.5925 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001557/0.588, allocations: 223.7 kB / 0.5927 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004386/0.5924, allocations: 0.6019 MB / 0.5933 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003199/0.5927, allocations: 291.6 kB / 0.5936 GB, free: 13.95 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.006053/0.5988, allocations: 3.405 MB / 0.5969 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001983/0.6008, allocations: 0.912 MB / 0.5978 GB, free: 9.598 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002479/0.6033, allocations: 1.023 MB / 0.5988 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.024e-05/0.6033, allocations: 176.3 kB / 0.5989 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-05/0.6034, allocations: 188.2 kB / 0.5991 GB, free: 8.199 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.597e-05/0.6035, allocations: 180.3 kB / 0.5993 GB, free: 8.016 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009518/0.613, allocations: 5.134 MB / 0.6043 GB, free: 2.812 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-05/0.6131, allocations: 106.8 kB / 0.6044 GB, free: 2.707 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.224e-05/0.6131, allocations: 105 kB / 0.6045 GB, free: 2.598 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.735e-05/0.6132, allocations: 184.2 kB / 0.6047 GB, free: 2.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.87e-05/0.6133, allocations: 180.3 kB / 0.6049 GB, free: 2.227 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-05/0.6134, allocations: 184.2 kB / 0.605 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-05/0.6134, allocations: 180.3 kB / 0.6052 GB, free: 1.855 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.6152, allocations: 1.155 MB / 0.6063 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00157/0.6168, allocations: 0.898 MB / 0.6072 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005507/0.6174, allocations: 192.8 kB / 0.6074 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008235/0.6182, allocations: 101 kB / 0.6075 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.772e-05/0.6183, allocations: 176.3 kB / 0.6077 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.55e-05/0.6183, allocations: 108.9 kB / 0.6078 GB, free: 15.13 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0132/0.6315, allocations: 7.142 MB / 0.6147 GB, free: 8.043 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6316, allocations: 4 kB / 0.6147 GB, free: 8.039 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007107/0.6387, allocations: 1.122 MB / 0.6158 GB, free: 6.914 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.000265/0.639, allocations: 178.5 kB / 0.616 GB, free: 6.727 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003418/0.6424, allocations: 1.869 MB / 0.6178 GB, free: 4.887 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.6424, allocations: 384 / 0.6178 GB, free: 4.887 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.916e-06/0.6424, allocations: 4 kB / 0.6178 GB, free: 4.883 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01412/0.6566, allocations: 3.451 MB / 0.6212 GB, free: 1.441 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02735/0.6839, allocations: 15.88 MB / 0.6367 GB, free: 1.531 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00895/0.6929, allocations: 5.273 MB / 0.6419 GB, free: 12.22 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.008514/0.7015, allocations: 2.102 MB / 0.6439 GB, free: 10.11 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/0.7026, allocations: 403.4 kB / 0.6443 GB, free: 9.719 MB / 494.1 MB Notification: Performance of SimCode: time 1.313e-06/0.7026, allocations: 0 / 0.6443 GB, free: 9.719 MB / 494.1 MB Notification: Performance of Templates: time 0.438/1.141, allocations: 90.2 MB / 0.7324 GB, free: 137.3 MB / 0.5294 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches