Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 242.2 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2043/0.2043, allocations: 44.19 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 56.16 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1165, allocations: 60.83 MB / 469.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01129/0.1278, allocations: 10.38 MB / 479.6 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006596/0.1345, allocations: 3.04 MB / 482.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001709/0.1362, allocations: 67.81 kB / 482.7 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004798/0.1411, allocations: 2.667 MB / 485.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002698/0.1438, allocations: 1.039 MB / 486.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006023/0.1444, allocations: 255.6 kB / 486.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001775/0.1462, allocations: 1.525 MB / 488.2 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002488/0.1487, allocations: 2.445 MB / 490.7 MB, free: 8.844 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.1499, allocations: 0.9499 MB / 491.6 MB, free: 7.891 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003954/0.1539, allocations: 3.312 MB / 494.9 MB, free: 4.574 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00042/0.1543, allocations: 188 kB / 495.1 MB, free: 4.391 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006869/0.155, allocations: 267.8 kB / 495.4 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001939/0.157, allocations: 2.923 MB / 498.3 MB, free: 1.199 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002895/0.1599, allocations: 3.333 MB / 0.4899 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007784/0.1677, allocations: 9.222 MB / 0.4989 GB, free: 4.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.1677, allocations: 0 / 0.4989 GB, free: 4.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1678, allocations: 0 / 0.4989 GB, free: 4.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002841/0.168, allocations: 4 kB / 0.4989 GB, free: 4.578 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.3967/0.5647, allocations: 8.768 MB / 0.5074 GB, free: 41.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.5648, allocations: 9.875 kB / 0.5074 GB, free: 41.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.5665, allocations: 0.9676 MB / 0.5084 GB, free: 41.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005728/0.5723, allocations: 3.719 MB / 0.512 GB, free: 39.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.5724, allocations: 133 kB / 0.5122 GB, free: 39.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002319/0.5726, allocations: 166.8 kB / 0.5123 GB, free: 39.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01221/0.5849, allocations: 6.604 MB / 0.5188 GB, free: 36.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.929e-05/0.5849, allocations: 6.469 kB / 0.5188 GB, free: 36.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/0.5851, allocations: 84.41 kB / 0.5188 GB, free: 36.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001833/0.587, allocations: 1.563 MB / 0.5204 GB, free: 36.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007835/0.5948, allocations: 4.134 MB / 0.5244 GB, free: 34.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02844/0.6233, allocations: 20.4 MB / 0.5443 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.6248, allocations: 338.2 kB / 0.5447 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.664e-05/0.6249, allocations: 63.98 kB / 0.5447 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004386/0.6293, allocations: 3.257 MB / 0.5479 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.6293, allocations: 113.8 kB / 0.548 GB, free: 9.652 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 2.384e-06/0.6294, allocations: 0 / 0.548 GB, free: 9.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0008705/0.6302, allocations: 0.8385 MB / 0.5488 GB, free: 8.797 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.6303, allocations: 126.7 kB / 0.5489 GB, free: 8.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01371/0.644, allocations: 10.55 MB / 0.5593 GB, free: 14.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.644, allocations: 29.64 kB / 0.5593 GB, free: 14.12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005764/0.6498, allocations: 5.834 MB / 0.565 GB, free: 8.246 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.65, allocations: 91.89 kB / 0.5651 GB, free: 8.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001019/0.651, allocations: 0.8243 MB / 0.5659 GB, free: 7.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.6511, allocations: 305.1 kB / 0.5662 GB, free: 7.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.6522, allocations: 0.7538 MB / 0.5669 GB, free: 6.258 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003889/0.6561, allocations: 4.003 MB / 0.5708 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005798/0.6619, allocations: 5.197 MB / 0.5759 GB, free: 9.723 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.626e-05/0.662, allocations: 32 kB / 0.5759 GB, free: 9.691 MB / 414.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008798/0.6708, allocations: 4.924 MB / 0.5807 GB, free: 4.754 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.618e-05/0.6709, allocations: 63.33 kB / 0.5808 GB, free: 4.695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001207/0.6711, allocations: 120 kB / 0.5809 GB, free: 4.578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/0.6712, allocations: 152 kB / 0.581 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00234/0.6735, allocations: 0.9825 MB / 0.582 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001739/0.6737, allocations: 227.9 kB / 0.5822 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004808/0.6785, allocations: 0.6001 MB / 0.5828 GB, free: 2.617 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004142/0.679, allocations: 288 kB / 0.5831 GB, free: 2.336 MB / 414.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.006031/0.685, allocations: 3.401 MB / 0.5864 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002364/0.6874, allocations: 0.9159 MB / 0.5873 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002756/0.6902, allocations: 1.031 MB / 0.5883 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.748e-05/0.6902, allocations: 176.3 kB / 0.5885 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.189e-05/0.6903, allocations: 180.2 kB / 0.5886 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-05/0.6904, allocations: 184.2 kB / 0.5888 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0115/0.7019, allocations: 5.135 MB / 0.5938 GB, free: 7.191 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.995e-05/0.702, allocations: 111.7 kB / 0.5939 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.866e-05/0.702, allocations: 105 kB / 0.594 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-05/0.7021, allocations: 176.3 kB / 0.5942 GB, free: 6.789 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.586e-05/0.7021, allocations: 188.2 kB / 0.5944 GB, free: 6.598 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.797e-05/0.7022, allocations: 176.3 kB / 0.5946 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.296e-05/0.7023, allocations: 184.2 kB / 0.5947 GB, free: 6.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/0.7042, allocations: 1.159 MB / 0.5959 GB, free: 5.035 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002403/0.7066, allocations: 0.8975 MB / 0.5967 GB, free: 4.102 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001691/0.7083, allocations: 176.3 kB / 0.5969 GB, free: 3.922 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00189/0.7102, allocations: 112.9 kB / 0.597 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.013e-05/0.7103, allocations: 176.3 kB / 0.5972 GB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/0.7103, allocations: 108.9 kB / 0.5973 GB, free: 3.512 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.01661/0.727, allocations: 7.15 MB / 0.6043 GB, free: 12.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.625e-06/0.727, allocations: 0 / 0.6043 GB, free: 12.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00626/0.7333, allocations: 1.132 MB / 0.6054 GB, free: 11.28 MB / 446.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.0001997/0.7335, allocations: 170.5 kB / 0.6055 GB, free: 11.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003504/0.737, allocations: 1.87 MB / 0.6074 GB, free: 9.258 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.7371, allocations: 0 / 0.6074 GB, free: 9.258 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.482e-06/0.7371, allocations: 4 kB / 0.6074 GB, free: 9.254 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01731/0.7544, allocations: 3.457 MB / 0.6107 GB, free: 5.801 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02942/0.7838, allocations: 15.9 MB / 0.6263 GB, free: 5.875 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0071/0.791, allocations: 5.266 MB / 0.6314 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006618/0.7976, allocations: 2.098 MB / 0.6335 GB, free: 14.46 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006901/0.7984, allocations: 403.4 kB / 0.6338 GB, free: 14.07 MB / 478.1 MB Notification: Performance of SimCode: time 7.71e-07/0.7984, allocations: 0 / 0.6338 GB, free: 14.07 MB / 478.1 MB Notification: Performance of Templates: time 0.4036/1.202, allocations: 90.25 MB / 0.722 GB, free: 120.7 MB / 0.5138 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches