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.001696/0.001696, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001783/0.001783, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.343/1.343, allocations: 222.9 MB / 243 MB, free: 15.18 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.2025/0.2025, allocations: 44.19 MB / 337.4 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 64.14 kB / 409.9 MB, free: 26.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1269, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01129/0.1382, allocations: 10.39 MB / 481.1 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006061/0.1443, allocations: 3.036 MB / 484.1 MB, free: 188 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.1456, allocations: 67.81 kB / 484.2 MB, free: 120 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004642/0.1503, allocations: 2.667 MB / 486.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002383/0.1527, allocations: 1.035 MB / 487.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006447/0.1533, allocations: 267.5 kB / 488.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002186/0.1555, allocations: 1.517 MB / 489.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00254/0.1581, allocations: 2.441 MB / 492.1 MB, free: 8.137 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.1593, allocations: 0.9459 MB / 493.1 MB, free: 7.188 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004378/0.1637, allocations: 3.32 MB / 496.4 MB, free: 3.863 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000475/0.1642, allocations: 184 kB / 496.6 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007144/0.1649, allocations: 271.8 kB / 496.8 MB, free: 3.418 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002081/0.167, allocations: 2.927 MB / 499.7 MB, free: 496 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002582/0.1696, allocations: 3.333 MB / 0.4913 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007634/0.1772, allocations: 9.536 MB / 0.5006 GB, free: 3.551 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.1773, allocations: 0 / 0.5006 GB, free: 3.551 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1773, allocations: 0 / 0.5006 GB, free: 3.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002772/0.1776, allocations: 0 / 0.5006 GB, free: 3.551 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.4023/0.5798, allocations: 8.764 MB / 0.5092 GB, free: 42.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.5799, allocations: 10.16 kB / 0.5092 GB, free: 42.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/0.5812, allocations: 0.972 MB / 0.5101 GB, free: 41.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005311/0.5866, allocations: 3.749 MB / 0.5138 GB, free: 39.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.5867, allocations: 134.9 kB / 0.5139 GB, free: 39.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002373/0.5869, allocations: 166.6 kB / 0.5141 GB, free: 39.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00977/0.5967, allocations: 6.61 MB / 0.5205 GB, free: 36.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.345e-05/0.5968, allocations: 8.125 kB / 0.5205 GB, free: 36.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/0.597, allocations: 74.95 kB / 0.5206 GB, free: 36.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001548/0.5985, allocations: 1.561 MB / 0.5221 GB, free: 36.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005722/0.6042, allocations: 4.138 MB / 0.5262 GB, free: 34.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0214/0.6257, allocations: 20.23 MB / 0.5459 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.6271, allocations: 342.2 kB / 0.5462 GB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.885e-05/0.6272, allocations: 59.97 kB / 0.5463 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003845/0.631, allocations: 3.269 MB / 0.5495 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.6311, allocations: 105.8 kB / 0.5496 GB, free: 9.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.833e-06/0.6311, allocations: 5.5 kB / 0.5496 GB, free: 9.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0006265/0.6317, allocations: 0.8385 MB / 0.5504 GB, free: 8.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.6317, allocations: 126.7 kB / 0.5505 GB, free: 8.574 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01009/0.6418, allocations: 10.55 MB / 0.5608 GB, free: 14.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.6419, allocations: 29.7 kB / 0.5609 GB, free: 14.04 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004428/0.6463, allocations: 5.83 MB / 0.5666 GB, free: 8.164 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.621e-05/0.6464, allocations: 95.89 kB / 0.5667 GB, free: 8.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007632/0.6472, allocations: 0.8174 MB / 0.5675 GB, free: 7.238 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.391e-05/0.6473, allocations: 301.1 kB / 0.5677 GB, free: 6.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009514/0.6482, allocations: 0.7643 MB / 0.5685 GB, free: 6.172 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002818/0.6511, allocations: 3.995 MB / 0.5724 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00462/0.6557, allocations: 5.201 MB / 0.5775 GB, free: 9.641 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.156e-05/0.6557, allocations: 32 kB / 0.5775 GB, free: 9.609 MB / 414.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.007803/0.6635, allocations: 4.928 MB / 0.5823 GB, free: 4.668 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.212e-05/0.6636, allocations: 56 kB / 0.5824 GB, free: 4.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000104/0.6637, allocations: 120 kB / 0.5825 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001332/0.6639, allocations: 152 kB / 0.5826 GB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002105/0.666, allocations: 0.9824 MB / 0.5836 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001464/0.6661, allocations: 223.1 kB / 0.5838 GB, free: 3.145 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003548/0.6697, allocations: 0.6112 MB / 0.5844 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002497/0.6699, allocations: 284 kB / 0.5847 GB, free: 2.25 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.004198/0.6742, allocations: 3.4 MB / 0.588 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001123/0.6753, allocations: 0.9197 MB / 0.5889 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.6765, allocations: 1.015 MB / 0.5899 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.576e-05/0.6766, allocations: 188.2 kB / 0.5901 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.44e-05/0.6767, allocations: 180.2 kB / 0.5902 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.054e-05/0.6767, allocations: 176.3 kB / 0.5904 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005394/0.6821, allocations: 5.142 MB / 0.5954 GB, free: 7.109 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.67e-05/0.6822, allocations: 113 kB / 0.5955 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.041e-05/0.6822, allocations: 101 kB / 0.5956 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.313e-05/0.6823, allocations: 181.1 kB / 0.5958 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.434e-05/0.6823, allocations: 176.3 kB / 0.596 GB, free: 6.523 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.517e-05/0.6824, allocations: 192.2 kB / 0.5961 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.655e-05/0.6825, allocations: 176.3 kB / 0.5963 GB, free: 6.148 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008281/0.6833, allocations: 1.155 MB / 0.5974 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/0.6848, allocations: 0.8975 MB / 0.5983 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004952/0.6853, allocations: 180.2 kB / 0.5985 GB, free: 3.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007608/0.686, allocations: 113.7 kB / 0.5986 GB, free: 3.723 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/0.6861, allocations: 180.3 kB / 0.5988 GB, free: 3.539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/0.6861, allocations: 106.5 kB / 0.5989 GB, free: 3.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.009027/0.6952, allocations: 7.146 MB / 0.6059 GB, free: 12.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.473e-06/0.6952, allocations: 0 / 0.6059 GB, free: 12.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004086/0.6993, allocations: 1.128 MB / 0.607 GB, free: 11.2 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.0001559/0.6995, allocations: 182.5 kB / 0.6071 GB, free: 11.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002498/0.702, allocations: 1.858 MB / 0.6089 GB, free: 9.184 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.702, allocations: 0.9375 kB / 0.6089 GB, free: 9.184 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.74e-06/0.702, allocations: 4 kB / 0.6089 GB, free: 9.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01232/0.7143, allocations: 3.461 MB / 0.6123 GB, free: 5.723 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02897/0.7433, allocations: 15.66 MB / 0.6276 GB, free: 6.035 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007847/0.7512, allocations: 5.278 MB / 0.6328 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005222/0.7565, allocations: 2.098 MB / 0.6348 GB, free: 14.62 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006765/0.7572, allocations: 407.4 kB / 0.6352 GB, free: 14.22 MB / 478.1 MB Notification: Performance of SimCode: time 9.91e-07/0.7572, allocations: 0 / 0.6352 GB, free: 14.22 MB / 478.1 MB Notification: Performance of Templates: time 0.5652/1.322, allocations: 81.94 MB / 0.7152 GB, free: 163.6 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins1/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