Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001085/0.001085, allocations: 194.5 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.263/1.263, allocations: 226.5 MB / 244.1 MB, free: 6.387 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007437/0.0007434, allocations: 102.9 kB / 296.1 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.279/0.279, allocations: 44.82 MB / 393 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002769/0.000277, allocations: 8 kB / 465.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2686, allocations: 62.97 MB / 0.5165 GB, free: 37.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1116/0.3802, allocations: 101.2 MB / 0.6153 GB, free: 4.184 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.3804, allocations: 75.97 kB / 0.6154 GB, free: 4.109 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3668/0.7473, allocations: 79.6 MB / 0.6931 GB, free: 89.15 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.7473, allocations: 0 / 0.6931 GB, free: 89.15 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006771/0.748, allocations: 135.4 kB / 0.6932 GB, free: 89.15 MB / 490.7 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.0131/0.7611, allocations: 7.97 MB / 0.701 GB, free: 84.76 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.7612, allocations: 8.562 kB / 0.701 GB, free: 84.76 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00306/0.7642, allocations: 1.134 MB / 0.7021 GB, free: 84.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007573/0.7718, allocations: 4.352 MB / 0.7064 GB, free: 82.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.772, allocations: 192.4 kB / 0.7066 GB, free: 82.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000498/0.7725, allocations: 243.8 kB / 0.7068 GB, free: 82.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009596/0.7821, allocations: 6.372 MB / 0.713 GB, free: 81.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.562e-05/0.7822, allocations: 16.09 kB / 0.713 GB, free: 81.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002733/0.7825, allocations: 109.3 kB / 0.7131 GB, free: 81.87 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00101/0.7835, allocations: 1.015 MB / 0.7141 GB, free: 81.87 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008127/0.7916, allocations: 3.954 MB / 0.718 GB, free: 81.81 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02685/0.8185, allocations: 20.05 MB / 0.7376 GB, free: 71.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.8201, allocations: 342.2 kB / 0.7379 GB, free: 71.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.8202, allocations: 63.47 kB / 0.7379 GB, free: 71.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005587/0.8258, allocations: 3.268 MB / 0.7411 GB, free: 68.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.8259, allocations: 108.9 kB / 0.7412 GB, free: 68.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 2.785e-06/0.8259, allocations: 96 / 0.7412 GB, free: 68.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 0.0009336/0.8268, allocations: 0.8449 MB / 0.7421 GB, free: 68.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.8269, allocations: 130.7 kB / 0.7422 GB, free: 68.11 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01486/0.8417, allocations: 10.52 MB / 0.7525 GB, free: 64.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.8418, allocations: 25.7 kB / 0.7525 GB, free: 64.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004462/0.8463, allocations: 5.833 MB / 0.7582 GB, free: 60.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.8464, allocations: 94.39 kB / 0.7583 GB, free: 60.33 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.8466, allocations: 86.06 kB / 0.7584 GB, free: 60.26 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.8467, allocations: 482.5 kB / 0.7588 GB, free: 59.89 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008338/0.8476, allocations: 0.7439 MB / 0.7595 GB, free: 59.68 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/0.8494, allocations: 3.98 MB / 0.7634 GB, free: 54.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003188/0.8526, allocations: 5.181 MB / 0.7685 GB, free: 49.48 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.599e-05/0.8527, allocations: 36.12 kB / 0.7685 GB, free: 49.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.006774/0.8594, allocations: 4.89 MB / 0.7733 GB, free: 47.44 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.046e-05/0.8595, allocations: 57.41 kB / 0.7734 GB, free: 47.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-05/0.8596, allocations: 118.7 kB / 0.7735 GB, free: 47.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001146/0.8598, allocations: 150.7 kB / 0.7736 GB, free: 47.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001942/0.8617, allocations: 0.9825 MB / 0.7746 GB, free: 47.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001125/0.8618, allocations: 227.3 kB / 0.7748 GB, free: 47.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00359/0.8654, allocations: 0.607 MB / 0.7754 GB, free: 46.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004519/0.8659, allocations: 284.9 kB / 0.7756 GB, free: 46.83 MB / 490.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006101/0.872, allocations: 3.402 MB / 0.779 GB, free: 45.51 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001301/0.8733, allocations: 0.9159 MB / 0.7799 GB, free: 44.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002256/0.8756, allocations: 1.021 MB / 0.7809 GB, free: 44.12 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.563e-05/0.8756, allocations: 184.2 kB / 0.781 GB, free: 43.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.602e-05/0.8757, allocations: 182.2 kB / 0.7812 GB, free: 43.76 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.339e-05/0.8757, allocations: 176.3 kB / 0.7814 GB, free: 43.58 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00943/0.8851, allocations: 5.142 MB / 0.7864 GB, free: 39.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.599e-05/0.8852, allocations: 107.6 kB / 0.7865 GB, free: 39.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.467e-05/0.8852, allocations: 112.8 kB / 0.7866 GB, free: 39.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-05/0.8852, allocations: 176.3 kB / 0.7868 GB, free: 38.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.8853, allocations: 180.3 kB / 0.787 GB, free: 38.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-05/0.8853, allocations: 180.2 kB / 0.7871 GB, free: 38.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-05/0.8853, allocations: 183.6 kB / 0.7873 GB, free: 38.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.8864, allocations: 1.158 MB / 0.7884 GB, free: 37.24 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/0.8876, allocations: 0.8974 MB / 0.7893 GB, free: 36.33 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005263/0.8882, allocations: 190.8 kB / 0.7895 GB, free: 36.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007648/0.8889, allocations: 101 kB / 0.7896 GB, free: 36.03 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.889, allocations: 180.2 kB / 0.7898 GB, free: 35.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.889, allocations: 105 kB / 0.7899 GB, free: 35.74 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01173/0.9007, allocations: 7.115 MB / 0.7968 GB, free: 29.99 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.333e-06/0.9008, allocations: 0 / 0.7968 GB, free: 29.99 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004478/0.9053, allocations: 1.132 MB / 0.7979 GB, free: 28.85 MB / 490.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001626/0.9054, allocations: 174.3 kB / 0.7981 GB, free: 28.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002695/0.9082, allocations: 1.851 MB / 0.7999 GB, free: 27.05 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.9082, allocations: 0 / 0.7999 GB, free: 27.05 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.699e-06/0.9082, allocations: 0 / 0.7999 GB, free: 27.05 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01302/0.9212, allocations: 3.241 MB / 0.803 GB, free: 24.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02724/0.9485, allocations: 18.71 MB / 0.8213 GB, free: 7.195 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007769/0.9563, allocations: 5.283 MB / 0.8265 GB, free: 3.301 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006623/0.957, allocations: 435.4 kB / 0.8269 GB, free: 2.875 MB / 490.7 MB Notification: Performance of SimCode: time 6.42e-07/0.957, allocations: 0 / 0.8269 GB, free: 2.875 MB / 490.7 MB Notification: Performance of Templates: time 0.422/1.379, allocations: 125.4 MB / 0.9494 GB, free: 77.32 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches