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.001289/0.001289, allocations: 111.8 kB / 18.45 MB, free: 4.578 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.001328/0.001328, allocations: 182.3 kB / 19.38 MB, free: 3.664 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.29/1.29, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2008/0.2008, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3337, allocations: 60.81 MB / 0.5195 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01097/0.3447, allocations: 10.39 MB / 0.5297 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007621/0.3524, allocations: 3.024 MB / 0.5327 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00266/0.3551, allocations: 66.59 kB / 0.5327 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005079/0.3602, allocations: 2.675 MB / 0.5353 GB, free: 8.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00303/0.3633, allocations: 1.03 MB / 0.5363 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007337/0.364, allocations: 269.4 kB / 0.5366 GB, free: 7.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002401/0.3665, allocations: 1.525 MB / 0.5381 GB, free: 6.414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002904/0.3694, allocations: 2.451 MB / 0.5405 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001629/0.371, allocations: 0.9175 MB / 0.5414 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004754/0.3758, allocations: 3.331 MB / 0.5446 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005857/0.3764, allocations: 184 kB / 0.5448 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008804/0.3773, allocations: 275.8 kB / 0.5451 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002203/0.3795, allocations: 2.977 MB / 0.548 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00286/0.3824, allocations: 3.337 MB / 0.5512 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008378/0.3908, allocations: 9.75 MB / 0.5608 GB, free: 1.715 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3908, allocations: 0 / 0.5608 GB, free: 1.715 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.339e-06/0.3908, allocations: 0 / 0.5608 GB, free: 1.715 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002724/0.3911, allocations: 3.938 kB / 0.5608 GB, free: 1.711 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.01441/0.4055, allocations: 8.785 MB / 0.5693 GB, free: 8.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.4056, allocations: 8.031 kB / 0.5693 GB, free: 8.812 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.4069, allocations: 0.9705 MB / 0.5703 GB, free: 7.828 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00512/0.412, allocations: 3.749 MB / 0.5739 GB, free: 4 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.249e-05/0.4121, allocations: 127.3 kB / 0.5741 GB, free: 3.875 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002256/0.4123, allocations: 175.9 kB / 0.5742 GB, free: 3.703 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008264/0.4206, allocations: 6.604 MB / 0.5807 GB, free: 12.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.667e-05/0.4207, allocations: 11.88 kB / 0.5807 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/0.4208, allocations: 71.95 kB / 0.5808 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001505/0.4224, allocations: 1.564 MB / 0.5823 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007102/0.4295, allocations: 4.133 MB / 0.5863 GB, free: 7.141 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02807/0.4576, allocations: 20.23 MB / 0.6061 GB, free: 2.641 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.4592, allocations: 350 kB / 0.6064 GB, free: 2.289 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.939e-05/0.4594, allocations: 56.83 kB / 0.6065 GB, free: 2.23 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004294/0.4637, allocations: 3.264 MB / 0.6097 GB, free: 14.6 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.29e-05/0.4637, allocations: 105.8 kB / 0.6098 GB, free: 14.49 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 1.873e-06/0.4637, allocations: 0 / 0.6098 GB, free: 14.49 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.000927/0.4647, allocations: 0.8425 MB / 0.6106 GB, free: 13.63 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.4648, allocations: 130.6 kB / 0.6107 GB, free: 13.49 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01591/0.4807, allocations: 10.55 MB / 0.621 GB, free: 2.992 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.4807, allocations: 29.69 kB / 0.621 GB, free: 2.957 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005442/0.4862, allocations: 5.823 MB / 0.6267 GB, free: 13.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.4863, allocations: 95.91 kB / 0.6268 GB, free: 13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000833/0.4872, allocations: 0.8135 MB / 0.6276 GB, free: 12.17 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.383e-05/0.4873, allocations: 313.1 kB / 0.6279 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009549/0.4882, allocations: 0.7616 MB / 0.6287 GB, free: 11.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002863/0.4911, allocations: 3.999 MB / 0.6326 GB, free: 5.406 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005093/0.4962, allocations: 5.204 MB / 0.6376 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.419e-05/0.4963, allocations: 35.94 kB / 0.6377 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008706/0.505, allocations: 4.92 MB / 0.6425 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.749e-05/0.5051, allocations: 56 kB / 0.6425 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001088/0.5053, allocations: 120.1 kB / 0.6426 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001254/0.5054, allocations: 156 kB / 0.6428 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002276/0.5077, allocations: 0.9863 MB / 0.6438 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001616/0.5078, allocations: 219.2 kB / 0.644 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003439/0.5113, allocations: 0.603 MB / 0.6446 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003152/0.5116, allocations: 288 kB / 0.6448 GB, free: 7.16 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.004679/0.5163, allocations: 3.409 MB / 0.6482 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001211/0.5175, allocations: 0.9082 MB / 0.649 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/0.5192, allocations: 1.023 MB / 0.65 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.719e-05/0.5192, allocations: 188.3 kB / 0.6502 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.334e-05/0.5193, allocations: 180.2 kB / 0.6504 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.722e-05/0.5193, allocations: 180.2 kB / 0.6506 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007203/0.5266, allocations: 5.131 MB / 0.6556 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.567e-05/0.5266, allocations: 108.9 kB / 0.6557 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.086e-05/0.5267, allocations: 105 kB / 0.6558 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.427e-05/0.5268, allocations: 184.2 kB / 0.656 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.333e-05/0.5268, allocations: 176.3 kB / 0.6561 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.522e-05/0.5269, allocations: 180.3 kB / 0.6563 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.824e-05/0.527, allocations: 184.2 kB / 0.6565 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.5283, allocations: 1.163 MB / 0.6576 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/0.5296, allocations: 0.9013 MB / 0.6585 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005423/0.5301, allocations: 176.3 kB / 0.6587 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007948/0.5309, allocations: 112.9 kB / 0.6588 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.253e-05/0.531, allocations: 176.3 kB / 0.6589 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.125e-05/0.531, allocations: 108.9 kB / 0.659 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.01197/0.543, allocations: 7.154 MB / 0.666 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.51e-07/0.543, allocations: 0 / 0.666 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004491/0.5475, allocations: 1.124 MB / 0.6671 GB, free: 100 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.000177/0.5477, allocations: 174.5 kB / 0.6673 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002864/0.5506, allocations: 1.87 MB / 0.6691 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/0.5506, allocations: 0 / 0.6691 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.506e-06/0.5506, allocations: 0 / 0.6691 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01264/0.5633, allocations: 3.451 MB / 0.6725 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02549/0.5888, allocations: 16.42 MB / 0.6885 GB, free: 10.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007305/0.5962, allocations: 5.278 MB / 0.6937 GB, free: 4.848 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008323/0.597, allocations: 439.4 kB / 0.6941 GB, free: 4.422 MB / 0.545 GB Notification: Performance of SimCode: time 1.072e-06/0.597, allocations: 0 / 0.6941 GB, free: 4.422 MB / 0.545 GB Notification: Performance of Templates: time 0.6385/1.236, allocations: 127.7 MB / 0.8188 GB, free: 96.78 MB / 0.5763 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/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