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.0009507/0.0009507, allocations: 97.91 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001144/0.001144, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.7 MB / 247.5 MB, free: 9.488 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1956/0.1956, allocations: 46.18 MB / 345.9 MB, free: 11.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002762/0.0002763, allocations: 8 kB / 420.2 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.121, allocations: 63.56 MB / 483.7 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.2796/0.4007, allocations: 54.07 MB / 0.5252 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02525/0.426, allocations: 10.21 MB / 0.5352 GB, free: 6.598 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01175/0.4378, allocations: 243.4 kB / 0.5354 GB, free: 6.559 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.439, allocations: 257.7 kB / 0.5356 GB, free: 6.441 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003121/0.4422, allocations: 0.9634 MB / 0.5366 GB, free: 6.109 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.4433, allocations: 249.9 kB / 0.5368 GB, free: 6.023 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003547/0.4469, allocations: 2.53 MB / 0.5393 GB, free: 5.297 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004728/0.4516, allocations: 3.202 MB / 0.5424 GB, free: 4.016 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/0.4531, allocations: 0.662 MB / 0.5431 GB, free: 3.691 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003699/0.4569, allocations: 3.283 MB / 0.5463 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004384/0.4573, allocations: 69.81 kB / 0.5463 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008013/0.4581, allocations: 174.2 kB / 0.5465 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002003/0.4602, allocations: 2.846 MB / 0.5493 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003444/0.4636, allocations: 3.157 MB / 0.5524 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006253/0.4699, allocations: 6.613 MB / 0.5588 GB, free: 8.305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.4699, allocations: 0 / 0.5588 GB, free: 8.305 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4699, allocations: 0 / 0.5588 GB, free: 8.305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003426/0.4703, allocations: 0 / 0.5588 GB, free: 8.305 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.01139/0.4817, allocations: 7.471 MB / 0.5661 GB, free: 0.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.4817, allocations: 12.88 kB / 0.5661 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/0.4833, allocations: 0.9667 MB / 0.5671 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005636/0.4889, allocations: 3.727 MB / 0.5707 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.4891, allocations: 125.8 kB / 0.5708 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000354/0.4894, allocations: 171 kB / 0.571 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009076/0.4985, allocations: 6.601 MB / 0.5774 GB, free: 5.137 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.643e-05/0.4986, allocations: 7.938 kB / 0.5775 GB, free: 5.129 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002562/0.4988, allocations: 78.77 kB / 0.5775 GB, free: 5.066 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001628/0.5005, allocations: 1.565 MB / 0.5791 GB, free: 3.508 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007377/0.5079, allocations: 4.129 MB / 0.5831 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03076/0.5387, allocations: 20.4 MB / 0.603 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.5404, allocations: 338 kB / 0.6033 GB, free: 10.49 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.5406, allocations: 60.83 kB / 0.6034 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005037/0.5456, allocations: 3.259 MB / 0.6066 GB, free: 6.812 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.977e-05/0.5457, allocations: 113.8 kB / 0.6067 GB, free: 6.691 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.964e-06/0.5457, allocations: 3.938 kB / 0.6067 GB, free: 6.688 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.001242/0.547, allocations: 0.8346 MB / 0.6075 GB, free: 5.836 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.547, allocations: 126.7 kB / 0.6076 GB, free: 5.699 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01893/0.566, allocations: 10.54 MB / 0.6179 GB, free: 11.21 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.566, allocations: 25.7 kB / 0.6179 GB, free: 11.18 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005913/0.572, allocations: 5.841 MB / 0.6236 GB, free: 5.336 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/0.5722, allocations: 95.84 kB / 0.6237 GB, free: 5.242 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005225/0.5727, allocations: 354.8 kB / 0.6241 GB, free: 4.887 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.585e-05/0.5728, allocations: 301.1 kB / 0.6244 GB, free: 4.59 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.574, allocations: 0.7616 MB / 0.6251 GB, free: 3.82 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003245/0.5773, allocations: 3.999 MB / 0.629 GB, free: 14.14 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005342/0.5827, allocations: 5.197 MB / 0.6341 GB, free: 7.285 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.443e-05/0.5828, allocations: 32 kB / 0.6341 GB, free: 7.254 MB / 478.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008273/0.591, allocations: 4.924 MB / 0.6389 GB, free: 2.316 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.5912, allocations: 60.03 kB / 0.639 GB, free: 2.258 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000164/0.5914, allocations: 120 kB / 0.6391 GB, free: 2.141 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001708/0.5915, allocations: 155.9 kB / 0.6392 GB, free: 1.988 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002486/0.594, allocations: 0.9825 MB / 0.6402 GB, free: 1.004 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001875/0.5942, allocations: 231.1 kB / 0.6404 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003769/0.598, allocations: 0.6069 MB / 0.641 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004103/0.5984, allocations: 284 kB / 0.6413 GB, free: 15.88 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005013/0.6035, allocations: 3.401 MB / 0.6446 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001351/0.6048, allocations: 0.9044 MB / 0.6455 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/0.6068, allocations: 1.023 MB / 0.6465 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.498e-05/0.6069, allocations: 188.2 kB / 0.6467 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.233e-05/0.6069, allocations: 176.3 kB / 0.6468 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-05/0.607, allocations: 184.2 kB / 0.647 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009316/0.6163, allocations: 5.131 MB / 0.652 GB, free: 4.762 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.088e-05/0.6163, allocations: 101 kB / 0.6521 GB, free: 4.656 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.478e-05/0.6164, allocations: 108.9 kB / 0.6522 GB, free: 4.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.152e-05/0.6164, allocations: 176.3 kB / 0.6524 GB, free: 4.363 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-05/0.6165, allocations: 184.1 kB / 0.6526 GB, free: 4.176 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.627e-05/0.6166, allocations: 185.3 kB / 0.6527 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-05/0.6166, allocations: 184.2 kB / 0.6529 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.6179, allocations: 1.155 MB / 0.654 GB, free: 2.609 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/0.6194, allocations: 0.9052 MB / 0.6549 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009807/0.6204, allocations: 184.2 kB / 0.6551 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/0.6217, allocations: 105 kB / 0.6552 GB, free: 1.371 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/0.6217, allocations: 184.2 kB / 0.6554 GB, free: 1.184 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.933e-05/0.6218, allocations: 105 kB / 0.6555 GB, free: 1.074 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.01326/0.635, allocations: 7.142 MB / 0.6625 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.91e-07/0.6351, allocations: 0 / 0.6625 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004461/0.6395, allocations: 1.124 MB / 0.6636 GB, free: 8.855 MB / 0.4981 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.0001554/0.6397, allocations: 166.5 kB / 0.6637 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003034/0.6428, allocations: 1.87 MB / 0.6655 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.6428, allocations: 0 / 0.6655 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.968e-06/0.6428, allocations: 11.88 kB / 0.6655 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01443/0.6572, allocations: 3.232 MB / 0.6687 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02902/0.6863, allocations: 19.61 MB / 0.6879 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007272/0.6936, allocations: 5.274 MB / 0.693 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008634/0.6945, allocations: 435.4 kB / 0.6934 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of SimCode: time 8.91e-07/0.6945, allocations: 0 / 0.6934 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of Templates: time 0.4024/1.097, allocations: 125.4 MB / 0.8158 GB, free: 108.6 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/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