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.001065/0.001065, allocations: 176.9 kB / 17.06 MB, free: 5.098 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.257/1.257, allocations: 223.2 MB / 241 MB, free: 11.86 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 95.97 kB / 292.2 MB, free: 10.87 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.337/0.337, allocations: 44.23 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002876, allocations: 8 kB / 459.9 MB, free: 1.496 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2923, allocations: 61.9 MB / 0.5096 GB, free: 38.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.119/0.4114, allocations: 100.2 MB / 0.6074 GB, free: 10.88 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/0.4116, allocations: 83.95 kB / 0.6075 GB, free: 10.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4419/0.8535, allocations: 80.1 MB / 0.6857 GB, free: 87.87 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.8536, allocations: 0 / 0.6857 GB, free: 87.87 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0008005/0.8544, allocations: 139.2 kB / 0.6858 GB, free: 87.87 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.01672/0.8711, allocations: 7.999 MB / 0.6936 GB, free: 83.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.8712, allocations: 14.38 kB / 0.6937 GB, free: 83.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003703/0.8749, allocations: 1.13 MB / 0.6948 GB, free: 82.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009049/0.884, allocations: 3.945 MB / 0.6986 GB, free: 81.64 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/0.8841, allocations: 185.2 kB / 0.6988 GB, free: 81.63 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005939/0.8847, allocations: 246.8 kB / 0.699 GB, free: 81.63 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008363/0.8931, allocations: 6.404 MB / 0.7053 GB, free: 81 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.594e-05/0.8932, allocations: 8.656 kB / 0.7053 GB, free: 81 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000243/0.8934, allocations: 110.4 kB / 0.7054 GB, free: 80.99 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007824/0.8942, allocations: 1.017 MB / 0.7064 GB, free: 80.99 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006578/0.9008, allocations: 4 MB / 0.7103 GB, free: 80.94 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03216/0.933, allocations: 20.05 MB / 0.7299 GB, free: 71.78 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.9347, allocations: 340 kB / 0.7302 GB, free: 71.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005465/0.9402, allocations: 3.262 MB / 0.7334 GB, free: 69.15 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.9402, allocations: 109 kB / 0.7335 GB, free: 69.04 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 2.274e-06/0.9403, allocations: 0 / 0.7335 GB, free: 69.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 0.0009356/0.9412, allocations: 0.8346 MB / 0.7343 GB, free: 68.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.9412, allocations: 134.3 kB / 0.7344 GB, free: 68.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01321/0.9545, allocations: 9.266 MB / 0.7435 GB, free: 65.64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.9545, allocations: 25.7 kB / 0.7435 GB, free: 65.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004247/0.9588, allocations: 5.834 MB / 0.7492 GB, free: 61.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.9589, allocations: 93.06 kB / 0.7493 GB, free: 61.04 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.959, allocations: 81.5 kB / 0.7494 GB, free: 60.97 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.9592, allocations: 482.3 kB / 0.7498 GB, free: 60.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000798/0.96, allocations: 0.7455 MB / 0.7506 GB, free: 60.39 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002048/0.962, allocations: 3.972 MB / 0.7544 GB, free: 55.69 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/0.9636, allocations: 1.612 MB / 0.756 GB, free: 55.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.622e-05/0.9636, allocations: 34.28 kB / 0.756 GB, free: 55.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.006601/0.9703, allocations: 4.89 MB / 0.7608 GB, free: 53.15 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.631e-05/0.9703, allocations: 57.22 kB / 0.7609 GB, free: 53.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.347e-05/0.9704, allocations: 117.9 kB / 0.761 GB, free: 53.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001171/0.9706, allocations: 170.2 kB / 0.7611 GB, free: 53.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002026/0.9726, allocations: 0.9908 MB / 0.7621 GB, free: 53.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001629/0.9728, allocations: 227 kB / 0.7623 GB, free: 52.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004355/0.9771, allocations: 0.6046 MB / 0.7629 GB, free: 52.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00036/0.9775, allocations: 285.2 kB / 0.7632 GB, free: 52.54 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.00525/0.9828, allocations: 3.398 MB / 0.7665 GB, free: 51.21 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001258/0.984, allocations: 0.9163 MB / 0.7674 GB, free: 50.64 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002018/0.986, allocations: 1.022 MB / 0.7684 GB, free: 50.27 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.553e-05/0.9861, allocations: 180.2 kB / 0.7686 GB, free: 50.08 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.692e-05/0.9861, allocations: 183.5 kB / 0.7688 GB, free: 49.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.732e-05/0.9862, allocations: 178.6 kB / 0.7689 GB, free: 49.72 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009017/0.9952, allocations: 5.129 MB / 0.7739 GB, free: 47.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/0.9952, allocations: 105 kB / 0.774 GB, free: 47.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.638e-05/0.9953, allocations: 115.6 kB / 0.7741 GB, free: 47.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.553e-05/0.9953, allocations: 184.2 kB / 0.7743 GB, free: 47.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.9953, allocations: 178.6 kB / 0.7745 GB, free: 47.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.851e-05/0.9954, allocations: 180.2 kB / 0.7747 GB, free: 47.04 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-05/0.9954, allocations: 178.8 kB / 0.7748 GB, free: 46.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.9965, allocations: 1.161 MB / 0.776 GB, free: 46.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001409/0.9979, allocations: 0.904 MB / 0.7768 GB, free: 45.33 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004518/0.9984, allocations: 186.8 kB / 0.777 GB, free: 45.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007627/0.9992, allocations: 104.2 kB / 0.7771 GB, free: 45.04 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.912e-05/0.9992, allocations: 188.1 kB / 0.7773 GB, free: 44.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.9992, allocations: 105 kB / 0.7774 GB, free: 44.74 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01095/1.01, allocations: 7.11 MB / 0.7843 GB, free: 42.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.91e-07/1.01, allocations: 0 / 0.7843 GB, free: 42.36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005607/1.016, allocations: 1.132 MB / 0.7855 GB, free: 41.23 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.0001629/1.016, allocations: 174.5 kB / 0.7856 GB, free: 41.05 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002824/1.019, allocations: 1.851 MB / 0.7874 GB, free: 39.42 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/1.019, allocations: 0 / 0.7874 GB, free: 39.42 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.747e-06/1.019, allocations: 0 / 0.7874 GB, free: 39.42 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0128/1.032, allocations: 3.281 MB / 0.7906 GB, free: 36.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02209/1.054, allocations: 17.92 MB / 0.8081 GB, free: 20.15 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004432/1.058, allocations: 5.457 MB / 0.8135 GB, free: 16.26 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00578/1.064, allocations: 2.099 MB / 0.8155 GB, free: 14.79 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006008/1.065, allocations: 403.4 kB / 0.8159 GB, free: 14.39 MB / 490.7 MB Notification: Performance of SimCode: time 9.82e-07/1.065, allocations: 0 / 0.8159 GB, free: 14.39 MB / 490.7 MB Notification: Performance of Templates: time 0.6223/1.687, allocations: 84.63 MB / 0.8985 GB, free: 79.72 MB / 0.5262 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