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.001152/0.001152, allocations: 113.4 kB / 17.78 MB, free: 5.289 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.001028/0.001028, allocations: 188.1 kB / 18.71 MB, free: 4.363 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.397/1.397, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2752/0.2752, allocations: 44.18 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 59.91 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3941, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.0108/0.4049, allocations: 10.38 MB / 0.529 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007879/0.4128, allocations: 3.034 MB / 0.532 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001745/0.4146, allocations: 67.12 kB / 0.5321 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005092/0.4197, allocations: 2.671 MB / 0.5347 GB, free: 8.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002644/0.4225, allocations: 1.027 MB / 0.5357 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000694/0.4232, allocations: 267.9 kB / 0.5359 GB, free: 7.289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002089/0.4253, allocations: 1.526 MB / 0.5374 GB, free: 6.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002817/0.4281, allocations: 2.454 MB / 0.5398 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001366/0.4295, allocations: 0.9134 MB / 0.5407 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004414/0.4339, allocations: 3.329 MB / 0.544 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005126/0.4344, allocations: 188 kB / 0.5441 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008497/0.4353, allocations: 271.8 kB / 0.5444 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002455/0.4378, allocations: 2.977 MB / 0.5473 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002874/0.4406, allocations: 3.337 MB / 0.5506 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009775/0.4504, allocations: 9.758 MB / 0.5601 GB, free: 1.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.02e-05/0.4505, allocations: 0 / 0.5601 GB, free: 1.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4505, allocations: 0 / 0.5601 GB, free: 1.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003985/0.4509, allocations: 4 kB / 0.5601 GB, free: 1.746 MB / 414.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.01419/0.4651, allocations: 8.781 MB / 0.5687 GB, free: 8.859 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.4652, allocations: 12.03 kB / 0.5687 GB, free: 8.848 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.4662, allocations: 0.9666 MB / 0.5696 GB, free: 7.867 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004826/0.471, allocations: 3.753 MB / 0.5733 GB, free: 4.035 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.527e-05/0.4711, allocations: 131.3 kB / 0.5734 GB, free: 3.906 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002141/0.4714, allocations: 171.9 kB / 0.5736 GB, free: 3.738 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007705/0.4791, allocations: 6.608 MB / 0.58 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.722e-05/0.4791, allocations: 3.938 kB / 0.58 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.4793, allocations: 75.94 kB / 0.5801 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0015/0.4808, allocations: 1.557 MB / 0.5816 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006319/0.4871, allocations: 4.133 MB / 0.5857 GB, free: 7.184 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0286/0.5157, allocations: 20.23 MB / 0.6054 GB, free: 2.684 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.5173, allocations: 346 kB / 0.6057 GB, free: 2.336 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.5174, allocations: 59.95 kB / 0.6058 GB, free: 2.277 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005947/0.5234, allocations: 3.276 MB / 0.609 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.443e-05/0.5235, allocations: 109.8 kB / 0.6091 GB, free: 14.51 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 3.437e-06/0.5235, allocations: 0 / 0.6091 GB, free: 14.51 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.001685/0.5252, allocations: 0.8385 MB / 0.6099 GB, free: 13.65 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.339e-05/0.5253, allocations: 126.7 kB / 0.61 GB, free: 13.52 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01965/0.545, allocations: 10.55 MB / 0.6204 GB, free: 3.016 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.5451, allocations: 25.7 kB / 0.6204 GB, free: 2.984 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006179/0.5512, allocations: 5.83 MB / 0.6261 GB, free: 13.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.5514, allocations: 95.89 kB / 0.6262 GB, free: 13.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009716/0.5524, allocations: 0.8135 MB / 0.627 GB, free: 12.19 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.5525, allocations: 313 kB / 0.6273 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.5536, allocations: 0.7577 MB / 0.628 GB, free: 11.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003355/0.5569, allocations: 3.995 MB / 0.6319 GB, free: 5.434 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005016/0.562, allocations: 5.201 MB / 0.637 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.618e-05/0.562, allocations: 36 kB / 0.637 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.007624/0.5697, allocations: 4.924 MB / 0.6418 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.542e-05/0.5697, allocations: 59.98 kB / 0.6419 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.733e-05/0.5698, allocations: 120.1 kB / 0.642 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000139/0.57, allocations: 152 kB / 0.6421 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002361/0.5724, allocations: 0.9824 MB / 0.6431 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001762/0.5725, allocations: 227.1 kB / 0.6433 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00386/0.5764, allocations: 0.5991 MB / 0.6439 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004515/0.5769, allocations: 292 kB / 0.6442 GB, free: 7.184 MB / 0.4981 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 () * 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.005463/0.5823, allocations: 3.401 MB / 0.6475 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001476/0.5838, allocations: 0.916 MB / 0.6484 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001909/0.5857, allocations: 1.019 MB / 0.6494 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.974e-05/0.5858, allocations: 184.3 kB / 0.6496 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.07e-05/0.5859, allocations: 184.2 kB / 0.6497 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-05/0.586, allocations: 176.3 kB / 0.6499 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00726/0.5932, allocations: 5.142 MB / 0.6549 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-05/0.5933, allocations: 105 kB / 0.655 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.19e-05/0.5933, allocations: 101 kB / 0.6551 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.674e-05/0.5934, allocations: 184.2 kB / 0.6553 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.83e-05/0.5935, allocations: 180.3 kB / 0.6555 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.715e-05/0.5935, allocations: 180.2 kB / 0.6556 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.789e-05/0.5936, allocations: 184.2 kB / 0.6558 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.5949, allocations: 1.159 MB / 0.6569 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001342/0.5963, allocations: 0.9013 MB / 0.6578 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005497/0.5968, allocations: 184.2 kB / 0.658 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008114/0.5976, allocations: 105 kB / 0.6581 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.095e-05/0.5977, allocations: 180.3 kB / 0.6583 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.22e-05/0.5978, allocations: 104.9 kB / 0.6584 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.01277/0.6105, allocations: 7.154 MB / 0.6654 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.41e-07/0.6106, allocations: 0 / 0.6654 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004964/0.6155, allocations: 1.128 MB / 0.6665 GB, free: 128 kB / 0.5137 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 () * 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.0002295/0.6158, allocations: 174.5 kB / 0.6666 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003126/0.6189, allocations: 1.874 MB / 0.6685 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.619, allocations: 0 / 0.6685 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.358e-06/0.619, allocations: 0 / 0.6685 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01338/0.6324, allocations: 3.448 MB / 0.6718 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02737/0.6598, allocations: 15.66 MB / 0.6871 GB, free: 10.94 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007432/0.6672, allocations: 5.274 MB / 0.6923 GB, free: 5.633 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005968/0.6732, allocations: 2.106 MB / 0.6943 GB, free: 3.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000744/0.674, allocations: 403.4 kB / 0.6947 GB, free: 3.129 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/0.674, allocations: 4 kB / 0.6947 GB, free: 3.125 MB / 0.545 GB Notification: Performance of Templates: time 0.6925/1.367, allocations: 84.61 MB / 0.7774 GB, free: 115.9 MB / 0.5607 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","/var/lib/jenkins/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