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.001343/0.001343, allocations: 99.84 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00163/0.00163, allocations: 197.4 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.2 MB / 245.9 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2248/0.2248, allocations: 45.91 MB / 344 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002662/0.0002663, allocations: 7.984 kB / 417.9 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1327, allocations: 63.46 MB / 481.4 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.3037/0.4364, allocations: 47.92 MB / 0.5169 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02446/0.461, allocations: 10.46 MB / 0.5271 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01284/0.4739, allocations: 242.9 kB / 0.5273 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008398/0.4823, allocations: 2.424 MB / 0.5297 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02575/0.5081, allocations: 7.031 MB / 0.5366 GB, free: 6.723 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003971/0.5121, allocations: 291.2 kB / 0.5369 GB, free: 6.652 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002452/0.5145, allocations: 0.9014 MB / 0.5377 GB, free: 6.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00386/0.5184, allocations: 2.854 MB / 0.5405 GB, free: 5.387 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008718/0.5193, allocations: 0.547 MB / 0.5411 GB, free: 5.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002517/0.5218, allocations: 2.123 MB / 0.5431 GB, free: 4.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002349/0.5221, allocations: 71.72 kB / 0.5432 GB, free: 4.348 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007205/0.5228, allocations: 307.9 kB / 0.5435 GB, free: 4.242 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001632/0.5245, allocations: 2.903 MB / 0.5463 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009603/0.5254, allocations: 1.391 MB / 0.5477 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006739/0.5322, allocations: 6.885 MB / 0.5544 GB, free: 12.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5322, allocations: 7.938 kB / 0.5544 GB, free: 12.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5322, allocations: 0 / 0.5544 GB, free: 12.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003981/0.5326, allocations: 0 / 0.5544 GB, free: 12.42 MB / 398.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.01378/0.5464, allocations: 7.991 MB / 0.5622 GB, free: 4.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.5465, allocations: 12.03 kB / 0.5622 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001828/0.5483, allocations: 0.9666 MB / 0.5632 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006663/0.555, allocations: 3.706 MB / 0.5668 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.5551, allocations: 124.7 kB / 0.5669 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002239/0.5553, allocations: 171.6 kB / 0.5671 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008781/0.5641, allocations: 6.636 MB / 0.5736 GB, free: 8.703 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-05/0.5642, allocations: 3.938 kB / 0.5736 GB, free: 8.699 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001426/0.5644, allocations: 75.94 kB / 0.5736 GB, free: 8.625 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001618/0.566, allocations: 1.561 MB / 0.5752 GB, free: 7.062 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008002/0.574, allocations: 4.148 MB / 0.5792 GB, free: 2.914 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03219/0.6062, allocations: 20.78 MB / 0.5995 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.6078, allocations: 330.2 kB / 0.5998 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005348/0.6131, allocations: 3.584 MB / 0.6033 GB, free: 9.578 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.392e-05/0.6132, allocations: 105.8 kB / 0.6034 GB, free: 9.465 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.984e-06/0.6132, allocations: 0 / 0.6034 GB, free: 9.465 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0009985/0.6142, allocations: 0.8385 MB / 0.6042 GB, free: 8.609 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.6143, allocations: 126.7 kB / 0.6044 GB, free: 8.473 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01687/0.6312, allocations: 10.6 MB / 0.6147 GB, free: 13.92 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.6312, allocations: 25.7 kB / 0.6147 GB, free: 13.89 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006714/0.6379, allocations: 5.838 MB / 0.6204 GB, free: 8.008 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.6382, allocations: 91.92 kB / 0.6205 GB, free: 7.918 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002585/0.6385, allocations: 84 kB / 0.6206 GB, free: 7.836 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002701/0.6387, allocations: 483 kB / 0.6211 GB, free: 7.355 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.6398, allocations: 0.742 MB / 0.6218 GB, free: 6.605 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00334/0.6431, allocations: 3.972 MB / 0.6257 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002397/0.6455, allocations: 1.615 MB / 0.6272 GB, free: 15.33 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.639e-05/0.6456, allocations: 35.94 kB / 0.6273 GB, free: 15.29 MB / 478.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008881/0.6545, allocations: 4.897 MB / 0.6321 GB, free: 10.38 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.055e-05/0.6546, allocations: 56 kB / 0.6321 GB, free: 10.33 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001222/0.6547, allocations: 116 kB / 0.6322 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001616/0.6549, allocations: 172 kB / 0.6324 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002678/0.6576, allocations: 0.9825 MB / 0.6333 GB, free: 9.062 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001814/0.6578, allocations: 228 kB / 0.6336 GB, free: 8.84 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004696/0.6625, allocations: 0.6734 MB / 0.6342 GB, free: 8.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004387/0.663, allocations: 284 kB / 0.6345 GB, free: 7.883 MB / 478.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.006915/0.6699, allocations: 3.405 MB / 0.6378 GB, free: 4.461 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001514/0.6714, allocations: 0.9082 MB / 0.6387 GB, free: 3.535 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001967/0.6734, allocations: 1.027 MB / 0.6397 GB, free: 2.496 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.46e-05/0.6735, allocations: 184.2 kB / 0.6399 GB, free: 2.309 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.001e-05/0.6736, allocations: 180.3 kB / 0.6401 GB, free: 2.125 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.177e-05/0.6736, allocations: 188.1 kB / 0.6402 GB, free: 1.934 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00807/0.6817, allocations: 5.135 MB / 0.6452 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.855e-05/0.6818, allocations: 108.9 kB / 0.6454 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.204e-05/0.6818, allocations: 105 kB / 0.6455 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.593e-05/0.6819, allocations: 184.2 kB / 0.6456 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.486e-05/0.682, allocations: 180.2 kB / 0.6458 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.419e-05/0.682, allocations: 176.3 kB / 0.646 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.997e-05/0.6821, allocations: 180.2 kB / 0.6461 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.6834, allocations: 1.163 MB / 0.6473 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002015/0.6855, allocations: 1.221 MB / 0.6485 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006515/0.6861, allocations: 176.3 kB / 0.6486 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.6873, allocations: 180.9 kB / 0.6488 GB, free: 8.953 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.551e-05/0.6874, allocations: 184.2 kB / 0.649 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.673e-05/0.6874, allocations: 105 kB / 0.6491 GB, free: 8.656 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.01512/0.7026, allocations: 7.189 MB / 0.6561 GB, free: 1.52 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.62e-07/0.7026, allocations: 0 / 0.6561 GB, free: 1.52 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006653/0.7093, allocations: 1.147 MB / 0.6572 GB, free: 376 kB / 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.0003841/0.7097, allocations: 195 kB / 0.6574 GB, free: 172 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003495/0.7132, allocations: 1.85 MB / 0.6592 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.7132, allocations: 0 / 0.6592 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.677e-06/0.7132, allocations: 1.75 kB / 0.6592 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01289/0.7261, allocations: 3.292 MB / 0.6624 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.029/0.7552, allocations: 18.21 MB / 0.6802 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008869/0.7641, allocations: 5.457 MB / 0.6855 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.008959/0.7731, allocations: 2.246 MB / 0.6877 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001657/0.7748, allocations: 499.3 kB / 0.6882 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of SimCode: time 1.432e-06/0.7748, allocations: 0 / 0.6882 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of Templates: time 0.5705/1.345, allocations: 86.14 MB / 0.7723 GB, free: 157.9 MB / 0.545 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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches