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.001238/0.001238, allocations: 102.2 kB / 16.99 MB, free: 5.941 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.001771/0.001771, allocations: 183.1 kB / 17.87 MB, free: 5.609 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.405/1.405, allocations: 223.2 MB / 241.8 MB, free: 14.63 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.2149/0.2149, allocations: 44.22 MB / 337.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003931, allocations: 12 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1396, allocations: 61.92 MB / 471.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.3531/0.4927, allocations: 47.9 MB / 0.5072 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02744/0.5202, allocations: 10.4 MB / 0.5173 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01261/0.5329, allocations: 240.9 kB / 0.5176 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009824/0.5427, allocations: 2.424 MB / 0.5199 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02431/0.5671, allocations: 7.036 MB / 0.5268 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002153/0.5692, allocations: 286.3 kB / 0.5271 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002265/0.5715, allocations: 0.9088 MB / 0.528 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003646/0.5752, allocations: 2.838 MB / 0.5307 GB, free: 6.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008159/0.576, allocations: 0.544 MB / 0.5313 GB, free: 6.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002833/0.5789, allocations: 2.121 MB / 0.5333 GB, free: 6.074 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005114/0.5794, allocations: 71.97 kB / 0.5334 GB, free: 6.074 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.5805, allocations: 314.4 kB / 0.5337 GB, free: 6.004 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002253/0.5827, allocations: 2.902 MB / 0.5365 GB, free: 5.008 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001401/0.5842, allocations: 1.391 MB / 0.5379 GB, free: 4.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005857/0.59, allocations: 6.879 MB / 0.5446 GB, free: 1.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5901, allocations: 0 / 0.5446 GB, free: 1.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.5901, allocations: 0 / 0.5446 GB, free: 1.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003588/0.5904, allocations: 2.469 kB / 0.5446 GB, free: 1.02 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.01325/0.6037, allocations: 7.996 MB / 0.5524 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.6037, allocations: 8.031 kB / 0.5524 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001953/0.6057, allocations: 0.9764 MB / 0.5534 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006687/0.6124, allocations: 3.701 MB / 0.557 GB, free: 6.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.136e-05/0.6125, allocations: 128.3 kB / 0.5571 GB, free: 6.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002145/0.6127, allocations: 166.8 kB / 0.5573 GB, free: 6.355 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008937/0.6217, allocations: 6.626 MB / 0.5638 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.154e-05/0.6218, allocations: 12.86 kB / 0.5638 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/0.6219, allocations: 80.2 kB / 0.5638 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001644/0.6236, allocations: 1.564 MB / 0.5654 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007634/0.6312, allocations: 4.143 MB / 0.5694 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03264/0.6639, allocations: 20.78 MB / 0.5897 GB, free: 7.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.6654, allocations: 342.2 kB / 0.59 GB, free: 7.176 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00523/0.6706, allocations: 3.583 MB / 0.5935 GB, free: 3.238 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.674e-05/0.6707, allocations: 105.8 kB / 0.5936 GB, free: 3.125 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.6707, allocations: 4 kB / 0.5936 GB, free: 3.121 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0009363/0.6717, allocations: 0.8385 MB / 0.5945 GB, free: 2.266 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.6717, allocations: 126.7 kB / 0.5946 GB, free: 2.129 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01631/0.6881, allocations: 10.59 MB / 0.6049 GB, free: 7.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.6881, allocations: 25.7 kB / 0.605 GB, free: 7.559 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005134/0.6932, allocations: 5.834 MB / 0.6106 GB, free: 1.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.6934, allocations: 95.89 kB / 0.6107 GB, free: 1.637 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.6936, allocations: 89.36 kB / 0.6108 GB, free: 1.551 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002355/0.6938, allocations: 483 kB / 0.6113 GB, free: 1.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/0.6951, allocations: 0.7381 MB / 0.612 GB, free: 332 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00424/0.6994, allocations: 3.972 MB / 0.6159 GB, free: 10.66 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00249/0.7019, allocations: 1.615 MB / 0.6175 GB, free: 9.047 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.647e-05/0.702, allocations: 43.95 kB / 0.6175 GB, free: 9.004 MB / 462.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01089/0.7129, allocations: 4.885 MB / 0.6223 GB, free: 4.105 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.796e-05/0.713, allocations: 56 kB / 0.6223 GB, free: 4.051 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001345/0.7132, allocations: 120 kB / 0.6224 GB, free: 3.934 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001648/0.7133, allocations: 168 kB / 0.6226 GB, free: 3.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003009/0.7163, allocations: 0.9824 MB / 0.6236 GB, free: 2.785 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000164/0.7165, allocations: 231.1 kB / 0.6238 GB, free: 2.559 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00457/0.7211, allocations: 0.6729 MB / 0.6244 GB, free: 1.887 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004505/0.7216, allocations: 287.9 kB / 0.6247 GB, free: 1.609 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005175/0.7268, allocations: 3.402 MB / 0.628 GB, free: 14.19 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001355/0.7281, allocations: 0.9121 MB / 0.6289 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.7297, allocations: 1.023 MB / 0.6299 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-05/0.7298, allocations: 184.2 kB / 0.6301 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.84e-05/0.7298, allocations: 176.3 kB / 0.6303 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.068e-05/0.7299, allocations: 180.3 kB / 0.6304 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007492/0.7374, allocations: 5.14 MB / 0.6355 GB, free: 6.473 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.142e-05/0.7375, allocations: 109 kB / 0.6356 GB, free: 6.359 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.964e-05/0.7375, allocations: 108.9 kB / 0.6357 GB, free: 6.246 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.399e-05/0.7376, allocations: 176.3 kB / 0.6358 GB, free: 6.066 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.518e-05/0.7376, allocations: 188.2 kB / 0.636 GB, free: 5.875 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.504e-05/0.7377, allocations: 176.3 kB / 0.6362 GB, free: 5.695 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-05/0.7378, allocations: 176.3 kB / 0.6364 GB, free: 5.516 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.7391, allocations: 1.163 MB / 0.6375 GB, free: 4.316 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002289/0.7414, allocations: 1.22 MB / 0.6387 GB, free: 3.062 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009377/0.7424, allocations: 188.2 kB / 0.6389 GB, free: 2.871 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.7436, allocations: 173 kB / 0.639 GB, free: 2.695 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.7437, allocations: 184.2 kB / 0.6392 GB, free: 2.508 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/0.7437, allocations: 105 kB / 0.6393 GB, free: 2.398 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.01285/0.7566, allocations: 7.19 MB / 0.6463 GB, free: 11.26 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.112e-06/0.7566, allocations: 0 / 0.6463 GB, free: 11.26 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004704/0.7613, allocations: 1.148 MB / 0.6474 GB, free: 10.11 MB / 494.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 (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.0002666/0.7616, allocations: 190.5 kB / 0.6476 GB, free: 9.914 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003061/0.7647, allocations: 1.855 MB / 0.6494 GB, free: 8.086 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.7647, allocations: 1.422 kB / 0.6494 GB, free: 8.086 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.146e-06/0.7647, allocations: 0 / 0.6494 GB, free: 8.086 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01383/0.7785, allocations: 3.293 MB / 0.6527 GB, free: 4.781 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03102/0.8096, allocations: 18.19 MB / 0.6704 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008476/0.8181, allocations: 5.457 MB / 0.6757 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006929/0.8251, allocations: 2.246 MB / 0.6779 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/0.8261, allocations: 0.4915 MB / 0.6784 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of SimCode: time 8.22e-07/0.8261, allocations: 0 / 0.6784 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of Templates: time 0.4544/1.28, allocations: 86.16 MB / 0.7626 GB, free: 104 MB / 0.5294 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