Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001191/0.001191, allocations: 113.8 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001286/0.001287, allocations: 217.9 kB / 19.41 MB, free: 3.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.252/1.252, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1924/0.1924, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 75.88 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2658, allocations: 62.43 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.009861/0.2757, allocations: 10.37 MB / 0.5418 GB, free: 5.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005855/0.2816, allocations: 3.075 MB / 0.5448 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/0.2828, allocations: 66.44 kB / 0.5448 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004347/0.2872, allocations: 2.683 MB / 0.5475 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002202/0.2895, allocations: 1.063 MB / 0.5485 GB, free: 452 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006535/0.2901, allocations: 263.5 kB / 0.5488 GB, free: 188 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002118/0.2923, allocations: 1.52 MB / 0.5502 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002559/0.2948, allocations: 2.449 MB / 0.5526 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.2961, allocations: 0.9108 MB / 0.5535 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004019/0.3002, allocations: 3.324 MB / 0.5568 GB, free: 7.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006607/0.3009, allocations: 184 kB / 0.5569 GB, free: 7.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009578/0.3018, allocations: 279.8 kB / 0.5572 GB, free: 7.477 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002444/0.3043, allocations: 2.977 MB / 0.5601 GB, free: 4.492 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003547/0.3079, allocations: 3.329 MB / 0.5634 GB, free: 1.137 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008466/0.3164, allocations: 9.75 MB / 0.5729 GB, free: 7.348 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3164, allocations: 3.938 kB / 0.5729 GB, free: 7.344 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3164, allocations: 0 / 0.5729 GB, free: 7.344 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002006/0.3166, allocations: 0 / 0.5729 GB, free: 7.344 MB / 430.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.012/0.3286, allocations: 8.777 MB / 0.5815 GB, free: 14.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.3287, allocations: 12.03 kB / 0.5815 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.33, allocations: 0.9666 MB / 0.5824 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005569/0.3356, allocations: 3.749 MB / 0.5861 GB, free: 9.637 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.3357, allocations: 123.4 kB / 0.5862 GB, free: 9.516 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003784/0.3361, allocations: 175.9 kB / 0.5864 GB, free: 9.344 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007926/0.3441, allocations: 6.597 MB / 0.5928 GB, free: 2.566 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.606e-05/0.3441, allocations: 7.938 kB / 0.5928 GB, free: 2.559 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001874/0.3443, allocations: 87.88 kB / 0.5929 GB, free: 2.473 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001378/0.3457, allocations: 1.557 MB / 0.5944 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006488/0.3522, allocations: 4.14 MB / 0.5985 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02561/0.3778, allocations: 20.23 MB / 0.6182 GB, free: 8.273 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.3793, allocations: 342.1 kB / 0.6185 GB, free: 7.93 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.3794, allocations: 60.81 kB / 0.6186 GB, free: 7.867 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003878/0.3833, allocations: 3.264 MB / 0.6218 GB, free: 4.238 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.3834, allocations: 113.8 kB / 0.6219 GB, free: 4.117 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/0.3834, allocations: 0 / 0.6219 GB, free: 4.117 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.0009338/0.3843, allocations: 0.8308 MB / 0.6227 GB, free: 3.27 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.3844, allocations: 134.6 kB / 0.6228 GB, free: 3.125 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01507/0.3995, allocations: 10.54 MB / 0.6331 GB, free: 8.633 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.3995, allocations: 25.7 kB / 0.6332 GB, free: 8.602 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005135/0.4047, allocations: 5.826 MB / 0.6388 GB, free: 2.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.4048, allocations: 91.91 kB / 0.6389 GB, free: 2.641 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009308/0.4058, allocations: 0.8174 MB / 0.6397 GB, free: 1.809 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.035e-05/0.4059, allocations: 309.1 kB / 0.64 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009677/0.4068, allocations: 0.7616 MB / 0.6408 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002652/0.4095, allocations: 4.003 MB / 0.6447 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004165/0.4137, allocations: 5.197 MB / 0.6498 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.174e-05/0.4137, allocations: 32 kB / 0.6498 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.006841/0.4206, allocations: 4.92 MB / 0.6546 GB, free: 15.23 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 7.889e-05/0.4207, allocations: 60.06 kB / 0.6546 GB, free: 15.17 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001185/0.4208, allocations: 116 kB / 0.6548 GB, free: 15.06 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001275/0.421, allocations: 152 kB / 0.6549 GB, free: 14.91 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002162/0.4231, allocations: 0.9864 MB / 0.6559 GB, free: 13.92 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001426/0.4233, allocations: 227.1 kB / 0.6561 GB, free: 13.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003055/0.4263, allocations: 0.6069 MB / 0.6567 GB, free: 13.09 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003147/0.4267, allocations: 288 kB / 0.6569 GB, free: 12.8 MB / 0.5138 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.004188/0.4309, allocations: 3.409 MB / 0.6603 GB, free: 9.379 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001028/0.4319, allocations: 0.9083 MB / 0.6612 GB, free: 8.453 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/0.4334, allocations: 1.027 MB / 0.6622 GB, free: 7.418 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.898e-05/0.4335, allocations: 180.3 kB / 0.6623 GB, free: 7.234 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.507e-05/0.4335, allocations: 180.2 kB / 0.6625 GB, free: 7.051 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.647e-05/0.4336, allocations: 184.2 kB / 0.6627 GB, free: 6.863 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007931/0.4415, allocations: 5.131 MB / 0.6677 GB, free: 1.664 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.766e-05/0.4416, allocations: 108.9 kB / 0.6678 GB, free: 1.551 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.736e-05/0.4416, allocations: 105 kB / 0.6679 GB, free: 1.441 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.333e-05/0.4417, allocations: 184.2 kB / 0.6681 GB, free: 1.254 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.324e-05/0.4417, allocations: 180.3 kB / 0.6682 GB, free: 1.07 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.565e-05/0.4418, allocations: 176.3 kB / 0.6684 GB, free: 0.8906 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.818e-05/0.4418, allocations: 180.2 kB / 0.6686 GB, free: 0.707 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.4429, allocations: 1.163 MB / 0.6697 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00129/0.4442, allocations: 0.8975 MB / 0.6706 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006813/0.4449, allocations: 184.2 kB / 0.6708 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009047/0.4458, allocations: 108.9 kB / 0.6709 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.4459, allocations: 180.2 kB / 0.6711 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.4459, allocations: 108.9 kB / 0.6712 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.009847/0.4558, allocations: 7.142 MB / 0.6781 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.51e-07/0.4558, allocations: 3.938 kB / 0.6781 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003674/0.4595, allocations: 1.128 MB / 0.6792 GB, free: 5.746 MB / 0.5294 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.0001415/0.4596, allocations: 174.5 kB / 0.6794 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002558/0.4622, allocations: 1.87 MB / 0.6812 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4622, allocations: 0 / 0.6812 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.826e-06/0.4622, allocations: 0 / 0.6812 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01055/0.4727, allocations: 3.449 MB / 0.6846 GB, free: 264 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02364/0.4964, allocations: 16.39 MB / 0.7006 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007449/0.5039, allocations: 5.277 MB / 0.7058 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007935/0.5047, allocations: 439.4 kB / 0.7062 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of SimCode: time 8.91e-07/0.5047, allocations: 0 / 0.7062 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of Templates: time 0.5554/1.06, allocations: 127.6 MB / 0.8308 GB, free: 52.05 MB / 0.5607 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches