Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009701/0.00097, allocations: 179.3 kB / 17.41 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 225.7 MB / 243.9 MB, free: 10.21 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007315/0.0007314, allocations: 96.39 kB / 295 MB, free: 9.754 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3022/0.3022, allocations: 44.32 MB / 390.5 MB, free: 38.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003393, allocations: 8 kB / 463.1 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3409, allocations: 61.89 MB / 0.5127 GB, free: 38.06 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.03745/0.3784, allocations: 50.8 MB / 0.5623 GB, free: 2.074 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02316/0.4016, allocations: 12.24 MB / 0.5743 GB, free: 8.801 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009217/0.4108, allocations: 238.7 kB / 0.5745 GB, free: 8.766 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.412, allocations: 272.2 kB / 0.5748 GB, free: 8.633 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00265/0.4146, allocations: 0.9577 MB / 0.5757 GB, free: 8.207 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006083/0.4153, allocations: 255.6 kB / 0.576 GB, free: 8.109 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003123/0.4184, allocations: 2.551 MB / 0.5784 GB, free: 7.273 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004814/0.4232, allocations: 3.678 MB / 0.582 GB, free: 5.121 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.4245, allocations: 0.7201 MB / 0.5827 GB, free: 4.504 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004368/0.4289, allocations: 3.26 MB / 0.5859 GB, free: 2.172 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003234/0.4292, allocations: 72 kB / 0.586 GB, free: 2.102 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005914/0.4298, allocations: 179.5 kB / 0.5862 GB, free: 1.953 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002078/0.4319, allocations: 2.839 MB / 0.5889 GB, free: 15.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002491/0.4344, allocations: 3.163 MB / 0.592 GB, free: 11.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007345/0.4418, allocations: 8.188 MB / 0.6 GB, free: 3.738 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.4418, allocations: 4 kB / 0.6 GB, free: 3.734 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4418, allocations: 0 / 0.6 GB, free: 3.734 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002422/0.4421, allocations: 0 / 0.6 GB, free: 3.734 MB / 410.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.009746/0.4518, allocations: 7.477 MB / 0.6073 GB, free: 12.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.4519, allocations: 8.031 kB / 0.6073 GB, free: 12.15 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.4531, allocations: 0.9743 MB / 0.6083 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004444/0.4575, allocations: 3.721 MB / 0.6119 GB, free: 7.359 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.481e-05/0.4576, allocations: 123.4 kB / 0.612 GB, free: 7.238 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002042/0.4578, allocations: 167.9 kB / 0.6122 GB, free: 7.074 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007685/0.4655, allocations: 6.593 MB / 0.6186 GB, free: 312 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.4656, allocations: 7.938 kB / 0.6186 GB, free: 304 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/0.4657, allocations: 79.94 kB / 0.6187 GB, free: 224 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001493/0.4672, allocations: 1.564 MB / 0.6203 GB, free: 14.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006967/0.4742, allocations: 4.098 MB / 0.6243 GB, free: 10.55 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02806/0.5023, allocations: 20.39 MB / 0.6442 GB, free: 5.887 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.5037, allocations: 338.2 kB / 0.6445 GB, free: 5.547 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.5038, allocations: 60.83 kB / 0.6445 GB, free: 5.484 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004775/0.5086, allocations: 3.274 MB / 0.6477 GB, free: 1.848 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.269e-05/0.5087, allocations: 105.8 kB / 0.6478 GB, free: 1.734 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 1.804e-06/0.5087, allocations: 0 / 0.6478 GB, free: 1.734 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 0.001104/0.5098, allocations: 0.8463 MB / 0.6487 GB, free: 0.8711 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.324e-05/0.5099, allocations: 130.7 kB / 0.6488 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01532/0.5252, allocations: 10.46 MB / 0.659 GB, free: 6.32 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.5253, allocations: 25.7 kB / 0.659 GB, free: 6.289 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005255/0.5305, allocations: 5.827 MB / 0.6647 GB, free: 428 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.5307, allocations: 99.89 kB / 0.6648 GB, free: 328 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.5309, allocations: 84 kB / 0.6649 GB, free: 244 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000254/0.5311, allocations: 479 kB / 0.6654 GB, free: 15.76 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.5322, allocations: 0.746 MB / 0.6661 GB, free: 15.01 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003117/0.5353, allocations: 3.983 MB / 0.67 GB, free: 9.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004755/0.54, allocations: 5.181 MB / 0.675 GB, free: 2.504 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.221e-05/0.5401, allocations: 32 kB / 0.6751 GB, free: 2.473 MB / 490.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.4121/0.9522, allocations: 4.886 MB / 0.6798 GB, free: 122 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.949e-05/0.9523, allocations: 55.59 kB / 0.6799 GB, free: 122 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-05/0.9524, allocations: 124 kB / 0.68 GB, free: 122 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000177/0.9526, allocations: 149.5 kB / 0.6802 GB, free: 122 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002275/0.9549, allocations: 0.9821 MB / 0.6811 GB, free: 122 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002408/0.9552, allocations: 235.3 kB / 0.6813 GB, free: 122 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003659/0.9588, allocations: 0.6009 MB / 0.6819 GB, free: 122 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003147/0.9591, allocations: 290.5 kB / 0.6822 GB, free: 122 MB / 490.8 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.004922/0.9641, allocations: 3.398 MB / 0.6855 GB, free: 121.2 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/0.9651, allocations: 0.9138 MB / 0.6864 GB, free: 120.8 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/0.9665, allocations: 1.023 MB / 0.6874 GB, free: 120.4 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.728e-05/0.9665, allocations: 180.4 kB / 0.6876 GB, free: 120.3 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.879e-05/0.9666, allocations: 179.9 kB / 0.6878 GB, free: 120.1 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.804e-05/0.9666, allocations: 177 kB / 0.6879 GB, free: 119.9 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006297/0.9729, allocations: 5.148 MB / 0.693 GB, free: 118 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.999e-05/0.973, allocations: 101 kB / 0.6931 GB, free: 117.9 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.064e-05/0.973, allocations: 104.9 kB / 0.6932 GB, free: 117.8 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.042e-05/0.973, allocations: 182.5 kB / 0.6933 GB, free: 117.6 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.9731, allocations: 176.3 kB / 0.6935 GB, free: 117.4 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.797e-05/0.9731, allocations: 184.3 kB / 0.6937 GB, free: 117.2 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.857e-05/0.9731, allocations: 183.2 kB / 0.6938 GB, free: 117 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009863/0.9741, allocations: 1.156 MB / 0.695 GB, free: 116.2 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/0.9752, allocations: 0.91 MB / 0.6959 GB, free: 115.5 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000427/0.9756, allocations: 183.1 kB / 0.696 GB, free: 115.3 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007607/0.9764, allocations: 101 kB / 0.6961 GB, free: 115.2 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.9765, allocations: 180.2 kB / 0.6963 GB, free: 115 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.9765, allocations: 107.6 kB / 0.6964 GB, free: 114.9 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01027/0.9868, allocations: 7.052 MB / 0.7033 GB, free: 112.8 MB / 490.8 MB Notification: Performance of sort global known variables: time 3.3e-07/0.9868, allocations: 3.719 kB / 0.7033 GB, free: 112.8 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.004724/0.9915, allocations: 1.13 MB / 0.7044 GB, free: 112.5 MB / 490.8 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.0001593/0.9917, allocations: 182.4 kB / 0.7046 GB, free: 112.4 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.003087/0.9948, allocations: 1.851 MB / 0.7064 GB, free: 111.8 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.9948, allocations: 1.031 kB / 0.7064 GB, free: 111.8 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 3.136e-06/0.9948, allocations: 0 / 0.7064 GB, free: 111.8 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01205/1.007, allocations: 3.256 MB / 0.7096 GB, free: 110.6 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.025/1.032, allocations: 18.85 MB / 0.728 GB, free: 101.4 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007155/1.039, allocations: 5.284 MB / 0.7331 GB, free: 97.81 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.006674/1.046, allocations: 2.099 MB / 0.7352 GB, free: 96.33 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006381/1.047, allocations: 407.4 kB / 0.7356 GB, free: 95.93 MB / 490.8 MB Notification: Performance of SimCode: time 1.283e-06/1.047, allocations: 0 / 0.7356 GB, free: 95.93 MB / 490.8 MB Notification: Performance of Templates: time 0.1414/1.188, allocations: 86.76 MB / 0.8203 GB, free: 11.63 MB / 490.8 MB 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