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.001057/0.001057, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.193/1.193, allocations: 221.3 MB / 236 MB, free: 2.973 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.0008119/0.0008119, allocations: 91.81 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1758/0.1758, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.501e-05/2.505e-05, allocations: 4.219 kB / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1111, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3686/0.4797, allocations: 100.1 MB / 0.5995 GB, free: 5.16 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002069/0.48, allocations: 75.95 kB / 0.5995 GB, free: 5.086 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1691/0.6491, allocations: 80.11 MB / 0.6778 GB, free: 4.672 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.6491, allocations: 4 kB / 0.6778 GB, free: 4.668 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0009027/0.65, allocations: 147.9 kB / 0.6779 GB, free: 4.523 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.01286/0.6629, allocations: 6.522 MB / 0.6843 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.663, allocations: 8.031 kB / 0.6843 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003456/0.6664, allocations: 1.13 MB / 0.6854 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008648/0.6751, allocations: 3.903 MB / 0.6892 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001658/0.6753, allocations: 185 kB / 0.6894 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008704/0.6762, allocations: 244 kB / 0.6896 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01248/0.6887, allocations: 6.367 MB / 0.6958 GB, free: 1.789 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.192e-05/0.6888, allocations: 7.938 kB / 0.6959 GB, free: 1.781 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004965/0.6893, allocations: 115.9 kB / 0.696 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001024/0.6903, allocations: 1.012 MB / 0.697 GB, free: 0.6562 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007134/0.6975, allocations: 3.91 MB / 0.7008 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2829/0.9804, allocations: 20.04 MB / 0.7203 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.9819, allocations: 340.8 kB / 0.7207 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.982, allocations: 57.16 kB / 0.7207 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005233/0.9873, allocations: 3.256 MB / 0.7239 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.9873, allocations: 110.9 kB / 0.724 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.813e-06/0.9873, allocations: 1.062 kB / 0.724 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 0.000783/0.9881, allocations: 0.8409 MB / 0.7248 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.9882, allocations: 132.2 kB / 0.725 GB, free: 115 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0168/1.005, allocations: 9.168 MB / 0.7339 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/1.005, allocations: 26.8 kB / 0.7339 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00551/1.011, allocations: 5.835 MB / 0.7396 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000168/1.011, allocations: 94.83 kB / 0.7397 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/1.011, allocations: 86.16 kB / 0.7398 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001893/1.011, allocations: 477.3 kB / 0.7403 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009443/1.012, allocations: 0.7211 MB / 0.741 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001797/1.014, allocations: 3.943 MB / 0.7448 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/1.015, allocations: 1.63 MB / 0.7464 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.462e-05/1.016, allocations: 34.75 kB / 0.7464 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.006126/1.022, allocations: 4.841 MB / 0.7512 GB, free: 107 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.689e-05/1.022, allocations: 55.69 kB / 0.7512 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.419e-05/1.022, allocations: 117.5 kB / 0.7513 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001194/1.022, allocations: 166.7 kB / 0.7515 GB, free: 107 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001926/1.024, allocations: 0.9848 MB / 0.7525 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001136/1.024, allocations: 227.8 kB / 0.7527 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003547/1.028, allocations: 0.6037 MB / 0.7533 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002276/1.028, allocations: 282.5 kB / 0.7535 GB, free: 106.6 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.0003363/1.028, allocations: 0.531 MB / 0.754 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007655/1.029, allocations: 0.9164 MB / 0.7549 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001965/1.031, allocations: 1.023 MB / 0.7559 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.924e-05/1.031, allocations: 183.8 kB / 0.7561 GB, free: 105 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-05/1.031, allocations: 180.2 kB / 0.7563 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-05/1.031, allocations: 180.2 kB / 0.7565 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/1.042, allocations: 5.133 MB / 0.7615 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.882e-05/1.042, allocations: 101 kB / 0.7616 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.969e-05/1.042, allocations: 114.6 kB / 0.7617 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.361e-05/1.042, allocations: 184.2 kB / 0.7619 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/1.042, allocations: 176.3 kB / 0.762 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-05/1.042, allocations: 188.7 kB / 0.7622 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.637e-05/1.042, allocations: 176.3 kB / 0.7624 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/1.043, allocations: 1.164 MB / 0.7635 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001576/1.045, allocations: 0.8985 MB / 0.7644 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004527/1.045, allocations: 183.5 kB / 0.7646 GB, free: 100 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007407/1.046, allocations: 108.3 kB / 0.7647 GB, free: 99.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/1.046, allocations: 177.5 kB / 0.7648 GB, free: 99.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/1.046, allocations: 111.4 kB / 0.7649 GB, free: 99.63 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01099/1.057, allocations: 7.018 MB / 0.7718 GB, free: 97.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.91e-07/1.057, allocations: 0 / 0.7718 GB, free: 97.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00456/1.062, allocations: 1.129 MB / 0.7729 GB, free: 97.17 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.0001391/1.062, allocations: 171.6 kB / 0.7731 GB, free: 97.01 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002405/1.064, allocations: 1.829 MB / 0.7748 GB, free: 96.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.064, allocations: 2.469 kB / 0.7748 GB, free: 96.43 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.214e-06/1.064, allocations: 0 / 0.7748 GB, free: 96.43 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0118/1.076, allocations: 3.29 MB / 0.7781 GB, free: 95.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02263/1.099, allocations: 12.66 MB / 0.7904 GB, free: 91.19 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008946/1.108, allocations: 5.451 MB / 0.7958 GB, free: 89.39 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007146/1.115, allocations: 2.109 MB / 0.7978 GB, free: 87.96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006625/1.115, allocations: 403.4 kB / 0.7982 GB, free: 87.57 MB / 0.5105 GB Notification: Performance of SimCode: time 1.122e-06/1.115, allocations: 0 / 0.7982 GB, free: 87.57 MB / 0.5105 GB Notification: Performance of Templates: time 0.1365/1.252, allocations: 84.63 MB / 0.8808 GB, free: 13.38 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