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.001623/0.001623, allocations: 115.7 kB / 17.78 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002206/0.002206, allocations: 201.2 kB / 18.73 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2207/0.2207, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 79.88 kB / 481.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3768, allocations: 62.43 MB / 0.531 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.0119/0.3887, allocations: 10.37 MB / 0.5411 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007369/0.3962, allocations: 3.074 MB / 0.5441 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001993/0.3982, allocations: 71.09 kB / 0.5442 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005355/0.4036, allocations: 2.678 MB / 0.5468 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00346/0.4071, allocations: 1.021 MB / 0.5478 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000986/0.4081, allocations: 275.5 kB / 0.548 GB, free: 396 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002696/0.4108, allocations: 1.513 MB / 0.5495 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003617/0.4144, allocations: 2.445 MB / 0.5519 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.4162, allocations: 0.9459 MB / 0.5528 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004283/0.4205, allocations: 3.308 MB / 0.5561 GB, free: 8.125 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000576/0.4211, allocations: 184 kB / 0.5562 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008804/0.422, allocations: 275.8 kB / 0.5565 GB, free: 7.676 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002417/0.4244, allocations: 2.919 MB / 0.5594 GB, free: 4.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004056/0.4285, allocations: 3.341 MB / 0.5626 GB, free: 1.383 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008997/0.4375, allocations: 9.805 MB / 0.5722 GB, free: 7.527 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.4375, allocations: 0 / 0.5722 GB, free: 7.527 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4375, allocations: 0 / 0.5722 GB, free: 7.527 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002194/0.4378, allocations: 0 / 0.5722 GB, free: 7.527 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.01275/0.4505, allocations: 9.11 MB / 0.5811 GB, free: 14.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.4506, allocations: 16.03 kB / 0.5811 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.4518, allocations: 1.024 MB / 0.5821 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005163/0.4569, allocations: 3.823 MB / 0.5858 GB, free: 9.363 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.4571, allocations: 131.3 kB / 0.586 GB, free: 9.234 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002039/0.4573, allocations: 167.9 kB / 0.5861 GB, free: 9.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007925/0.4652, allocations: 6.608 MB / 0.5926 GB, free: 2.281 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.745e-05/0.4653, allocations: 7.938 kB / 0.5926 GB, free: 2.273 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/0.4654, allocations: 75.95 kB / 0.5927 GB, free: 2.199 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001612/0.467, allocations: 1.564 MB / 0.5942 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006909/0.474, allocations: 4.131 MB / 0.5982 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03432/0.5083, allocations: 20.31 MB / 0.6181 GB, free: 7.93 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.51, allocations: 346 kB / 0.6184 GB, free: 7.586 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.5101, allocations: 60.91 kB / 0.6184 GB, free: 7.523 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005268/0.5154, allocations: 3.277 MB / 0.6216 GB, free: 3.883 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.657e-05/0.5155, allocations: 105.8 kB / 0.6217 GB, free: 3.77 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 2.184e-06/0.5155, allocations: 0 / 0.6217 GB, free: 3.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.001453/0.517, allocations: 0.8786 MB / 0.6226 GB, free: 2.879 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.566e-05/0.5171, allocations: 130.7 kB / 0.6227 GB, free: 2.738 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01823/0.5353, allocations: 10.56 MB / 0.633 GB, free: 8.227 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.5353, allocations: 25.7 kB / 0.6331 GB, free: 8.195 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005618/0.541, allocations: 5.946 MB / 0.6389 GB, free: 2.223 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.5411, allocations: 99.83 kB / 0.639 GB, free: 2.125 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001019/0.5422, allocations: 0.8222 MB / 0.6398 GB, free: 1.289 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.5423, allocations: 309 kB / 0.6401 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.5434, allocations: 0.7654 MB / 0.6408 GB, free: 216 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003408/0.5468, allocations: 4.003 MB / 0.6447 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005421/0.5523, allocations: 5.197 MB / 0.6498 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.415e-05/0.5524, allocations: 32 kB / 0.6498 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.007932/0.5603, allocations: 4.964 MB / 0.6547 GB, free: 14.67 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.726e-05/0.5604, allocations: 56 kB / 0.6547 GB, free: 14.61 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001709/0.5606, allocations: 124 kB / 0.6548 GB, free: 14.49 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001553/0.5608, allocations: 152 kB / 0.655 GB, free: 14.34 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002349/0.5631, allocations: 0.9825 MB / 0.6559 GB, free: 13.36 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001675/0.5633, allocations: 227.7 kB / 0.6562 GB, free: 13.14 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0034/0.5667, allocations: 0.6166 MB / 0.6568 GB, free: 12.52 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002886/0.567, allocations: 288 kB / 0.657 GB, free: 12.23 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.004617/0.5716, allocations: 3.413 MB / 0.6604 GB, free: 8.805 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/0.5727, allocations: 0.9561 MB / 0.6613 GB, free: 7.836 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/0.5742, allocations: 1.027 MB / 0.6623 GB, free: 6.801 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.806e-05/0.5742, allocations: 176.3 kB / 0.6625 GB, free: 6.621 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.986e-05/0.5743, allocations: 180.2 kB / 0.6627 GB, free: 6.438 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-05/0.5744, allocations: 192.2 kB / 0.6628 GB, free: 6.242 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006947/0.5813, allocations: 5.127 MB / 0.6678 GB, free: 1.047 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.591e-05/0.5814, allocations: 112.9 kB / 0.6679 GB, free: 0.9297 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.795e-05/0.5814, allocations: 101 kB / 0.668 GB, free: 0.8242 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-05/0.5815, allocations: 176.3 kB / 0.6682 GB, free: 0.6445 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.78e-05/0.5815, allocations: 184.2 kB / 0.6684 GB, free: 468 kB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.423e-05/0.5816, allocations: 184.3 kB / 0.6686 GB, free: 276 kB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.291e-05/0.5817, allocations: 180.2 kB / 0.6687 GB, free: 88 kB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.583, allocations: 1.195 MB / 0.6699 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/0.5841, allocations: 0.9492 MB / 0.6708 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004709/0.5846, allocations: 180.3 kB / 0.671 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007777/0.5854, allocations: 108.9 kB / 0.6711 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.116e-05/0.5854, allocations: 184.2 kB / 0.6713 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4e-05/0.5855, allocations: 101 kB / 0.6714 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01003/0.5955, allocations: 7.146 MB / 0.6784 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.643e-06/0.5956, allocations: 0 / 0.6784 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003955/0.5995, allocations: 1.149 MB / 0.6795 GB, free: 5.043 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.0001624/0.5997, allocations: 174.5 kB / 0.6796 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002775/0.6025, allocations: 1.871 MB / 0.6815 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6025, allocations: 0 / 0.6815 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.398e-06/0.6025, allocations: 4.25 kB / 0.6815 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01321/0.6157, allocations: 3.446 MB / 0.6848 GB, free: 15.55 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02918/0.6449, allocations: 15.94 MB / 0.7004 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006728/0.6517, allocations: 5.277 MB / 0.7056 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005353/0.6571, allocations: 2.098 MB / 0.7076 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005722/0.6576, allocations: 403.4 kB / 0.708 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of SimCode: time 6.92e-07/0.6577, allocations: 0 / 0.708 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of Templates: time 0.6328/1.29, allocations: 83.18 MB / 0.7892 GB, free: 95.65 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/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_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches