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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 167.4 kB / 8.738 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 221.5 MB / 230.7 MB, free: 7.547 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009231/0.0009231, allocations: 102.1 kB / 281.6 MB, free: 5.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1963/0.1963, allocations: 44.15 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.414e-05/1.417e-05, allocations: 224 / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1193, allocations: 61.93 MB / 0.4947 GB, free: 1.242 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3789/0.4983, allocations: 99.46 MB / 0.5918 GB, free: 13.01 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.4986, allocations: 71.97 kB / 0.5919 GB, free: 12.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1739/0.6725, allocations: 78.16 MB / 0.6682 GB, free: 14.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.6725, allocations: 0 / 0.6682 GB, free: 14.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.001119/0.6737, allocations: 140 kB / 0.6683 GB, free: 14.28 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.01533/0.689, allocations: 6.53 MB / 0.6747 GB, free: 7.668 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.6891, allocations: 15.98 kB / 0.6747 GB, free: 7.652 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004068/0.6932, allocations: 1.13 MB / 0.6758 GB, free: 6.508 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00964/0.7028, allocations: 3.903 MB / 0.6796 GB, free: 2.531 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.703, allocations: 80 kB / 0.6797 GB, free: 2.453 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004669/0.7034, allocations: 140 kB / 0.6798 GB, free: 2.316 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006966/0.7104, allocations: 4.499 MB / 0.6842 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007702/0.7181, allocations: 5.991 MB / 0.6901 GB, free: 7.633 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.059e-05/0.7182, allocations: 7.938 kB / 0.6901 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002266/0.7185, allocations: 4 kB / 0.6901 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009961/0.7195, allocations: 1.024 MB / 0.6911 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0275/0.747, allocations: 20.3 MB / 0.7109 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.7471, allocations: 165.1 kB / 0.7111 GB, free: 1.441 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.705e-05/0.7472, allocations: 80.14 kB / 0.7112 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.7472, allocations: 75.28 kB / 0.7112 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.265e-05/0.7473, allocations: 113.8 kB / 0.7113 GB, free: 1.164 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 2.234e-06/0.7473, allocations: 0 / 0.7113 GB, free: 1.164 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 0.001195/0.7485, allocations: 0.8308 MB / 0.7122 GB, free: 324 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.7485, allocations: 51.41 kB / 0.7122 GB, free: 260 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2835/1.032, allocations: 8.622 MB / 0.7206 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.487e-06/1.032, allocations: 28.02 kB / 0.7206 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005833/1.038, allocations: 5.837 MB / 0.7263 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/1.038, allocations: 94.7 kB / 0.7264 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/1.038, allocations: 1.281 kB / 0.7264 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002358/1.039, allocations: 483.8 kB / 0.7269 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/1.04, allocations: 0.6373 MB / 0.7275 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002923/1.043, allocations: 3.836 MB / 0.7313 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0023/1.045, allocations: 1.511 MB / 0.7327 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.221e-05/1.045, allocations: 33.03 kB / 0.7328 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008283/1.053, allocations: 4.161 MB / 0.7368 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000104/1.053, allocations: 56.61 kB / 0.7369 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002063/1.054, allocations: 116.9 kB / 0.737 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002592/1.054, allocations: 169.8 kB / 0.7372 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00274/1.057, allocations: 0.9918 MB / 0.7381 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001356/1.057, allocations: 227 kB / 0.7384 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003565/1.06, allocations: 0.514 MB / 0.7389 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003413/1.061, allocations: 289.7 kB / 0.7391 GB, free: 124.1 MB / 0.5105 GB 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 () * 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.0003881/1.061, allocations: 459.4 kB / 0.7396 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007109/1.062, allocations: 0.9053 MB / 0.7405 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002021/1.064, allocations: 1.013 MB / 0.7414 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.754e-05/1.064, allocations: 182.9 kB / 0.7416 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.857e-05/1.064, allocations: 184.7 kB / 0.7418 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.062e-05/1.064, allocations: 183.3 kB / 0.742 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005678/1.07, allocations: 3.929 MB / 0.7458 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.742e-05/1.07, allocations: 117.5 kB / 0.7459 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.38e-05/1.07, allocations: 101 kB / 0.746 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.386e-05/1.07, allocations: 176.3 kB / 0.7462 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/1.07, allocations: 180.2 kB / 0.7464 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.27e-05/1.07, allocations: 182.3 kB / 0.7465 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.498e-05/1.07, allocations: 188.1 kB / 0.7467 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006989/1.071, allocations: 1.15 MB / 0.7478 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009827/1.072, allocations: 0.8933 MB / 0.7487 GB, free: 119 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004584/1.072, allocations: 180.2 kB / 0.7489 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007535/1.073, allocations: 101 kB / 0.749 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/1.073, allocations: 185.5 kB / 0.7491 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/1.073, allocations: 115.4 kB / 0.7493 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009446/1.082, allocations: 6.476 MB / 0.7556 GB, free: 116.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.81e-07/1.082, allocations: 0 / 0.7556 GB, free: 116.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004042/1.086, allocations: 1.059 MB / 0.7566 GB, free: 116.1 MB / 0.5105 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 () * 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.0001231/1.086, allocations: 174.3 kB / 0.7568 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002137/1.089, allocations: 1.601 MB / 0.7583 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.089, allocations: 0 / 0.7583 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/1.089, allocations: 0 / 0.7583 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01247/1.101, allocations: 3.259 MB / 0.7615 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02253/1.124, allocations: 12.63 MB / 0.7739 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005926/1.13, allocations: 5.46 MB / 0.7792 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006319/1.136, allocations: 2.092 MB / 0.7812 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005764/1.137, allocations: 400.6 kB / 0.7816 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.022e-06/1.137, allocations: 0 / 0.7816 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.1283/1.265, allocations: 74.26 MB / 0.8541 GB, free: 48.89 MB / 0.5105 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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches