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.0008005/0.0008005, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008964/0.0008965, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2362/0.2362, allocations: 46.18 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002966/0.0002967, allocations: 8 kB / 419.5 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1245, allocations: 63.57 MB / 483.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.3012/0.4257, allocations: 54.07 MB / 0.5246 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02486/0.4506, allocations: 10.21 MB / 0.5345 GB, free: 6.609 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0128/0.4635, allocations: 242.2 kB / 0.5348 GB, free: 6.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.4647, allocations: 263.4 kB / 0.535 GB, free: 6.449 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003124/0.4679, allocations: 0.9623 MB / 0.536 GB, free: 6.117 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006915/0.4686, allocations: 248.7 kB / 0.5362 GB, free: 6.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003608/0.4722, allocations: 2.531 MB / 0.5387 GB, free: 5.305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004085/0.4763, allocations: 3.195 MB / 0.5418 GB, free: 4.016 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.4775, allocations: 0.6721 MB / 0.5424 GB, free: 3.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00325/0.4807, allocations: 3.274 MB / 0.5456 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000207/0.481, allocations: 69.69 kB / 0.5457 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004794/0.4814, allocations: 172.8 kB / 0.5459 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001795/0.4832, allocations: 2.853 MB / 0.5487 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002488/0.4857, allocations: 3.151 MB / 0.5517 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007346/0.4931, allocations: 8.185 MB / 0.5597 GB, free: 6.727 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4931, allocations: 0 / 0.5597 GB, free: 6.727 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.4931, allocations: 0 / 0.5597 GB, free: 6.727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002104/0.4934, allocations: 0 / 0.5597 GB, free: 6.727 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.01044/0.5038, allocations: 7.477 MB / 0.567 GB, free: 15.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.5039, allocations: 12.88 kB / 0.567 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.505, allocations: 0.9666 MB / 0.568 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00469/0.5097, allocations: 3.723 MB / 0.5716 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-05/0.5098, allocations: 130.6 kB / 0.5717 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002194/0.51, allocations: 167.5 kB / 0.5719 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007978/0.518, allocations: 6.601 MB / 0.5784 GB, free: 3.559 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.816e-05/0.5181, allocations: 11.88 kB / 0.5784 GB, free: 3.547 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/0.5183, allocations: 78.14 kB / 0.5784 GB, free: 3.484 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001588/0.5198, allocations: 1.56 MB / 0.58 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006804/0.5267, allocations: 4.129 MB / 0.584 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02723/0.5539, allocations: 20.39 MB / 0.6039 GB, free: 9.258 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.5555, allocations: 344.4 kB / 0.6042 GB, free: 8.914 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.5557, allocations: 60.83 kB / 0.6043 GB, free: 8.852 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004062/0.5597, allocations: 3.265 MB / 0.6075 GB, free: 5.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.946e-05/0.5598, allocations: 109.8 kB / 0.6076 GB, free: 5.113 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.703e-06/0.5598, allocations: 3.938 kB / 0.6076 GB, free: 5.109 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0007694/0.5606, allocations: 0.8346 MB / 0.6084 GB, free: 4.258 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.5606, allocations: 130.6 kB / 0.6085 GB, free: 4.117 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01505/0.5757, allocations: 10.54 MB / 0.6188 GB, free: 9.625 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.5758, allocations: 29.69 kB / 0.6189 GB, free: 9.59 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0049/0.5807, allocations: 5.827 MB / 0.6245 GB, free: 3.758 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.5808, allocations: 91.91 kB / 0.6246 GB, free: 3.668 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003724/0.5812, allocations: 358.8 kB / 0.625 GB, free: 3.309 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.888e-05/0.5813, allocations: 301.1 kB / 0.6253 GB, free: 3.012 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.5823, allocations: 0.7577 MB / 0.626 GB, free: 2.246 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003111/0.5855, allocations: 3.999 MB / 0.6299 GB, free: 12.56 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00523/0.5907, allocations: 5.201 MB / 0.635 GB, free: 5.707 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.827e-05/0.5908, allocations: 36 kB / 0.635 GB, free: 5.672 MB / 478.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.009918/0.6007, allocations: 4.916 MB / 0.6398 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.476e-05/0.6008, allocations: 60.06 kB / 0.6399 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001122/0.6009, allocations: 116 kB / 0.64 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001512/0.6011, allocations: 155.9 kB / 0.6401 GB, free: 428 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002356/0.6035, allocations: 0.9863 MB / 0.6411 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001679/0.6036, allocations: 227.1 kB / 0.6413 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00446/0.6081, allocations: 0.603 MB / 0.6419 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000332/0.6085, allocations: 288 kB / 0.6422 GB, free: 14.32 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.005224/0.6137, allocations: 3.405 MB / 0.6455 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001239/0.6149, allocations: 0.9043 MB / 0.6464 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/0.6165, allocations: 1.035 MB / 0.6474 GB, free: 8.934 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.269e-05/0.6165, allocations: 176.3 kB / 0.6476 GB, free: 8.754 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.482e-05/0.6166, allocations: 180.2 kB / 0.6477 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-05/0.6167, allocations: 176.3 kB / 0.6479 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006783/0.6235, allocations: 5.131 MB / 0.6529 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.415e-05/0.6235, allocations: 108.9 kB / 0.653 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.045e-05/0.6236, allocations: 105 kB / 0.6531 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.436e-05/0.6237, allocations: 180.2 kB / 0.6533 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.49e-05/0.6237, allocations: 184.2 kB / 0.6535 GB, free: 2.598 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.375e-05/0.6238, allocations: 180.3 kB / 0.6536 GB, free: 2.414 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.439e-05/0.6239, allocations: 188.2 kB / 0.6538 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.625, allocations: 1.159 MB / 0.655 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/0.6263, allocations: 0.9053 MB / 0.6558 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000493/0.6268, allocations: 181.6 kB / 0.656 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007742/0.6275, allocations: 108.9 kB / 0.6561 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.6277, allocations: 176.3 kB / 0.6563 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.282e-05/0.6277, allocations: 108.9 kB / 0.6564 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.01095/0.6387, allocations: 7.142 MB / 0.6634 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.12e-07/0.6387, allocations: 0 / 0.6634 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004149/0.6428, allocations: 1.132 MB / 0.6645 GB, free: 7.27 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.000186/0.643, allocations: 170.5 kB / 0.6646 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002689/0.6457, allocations: 1.866 MB / 0.6665 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6458, allocations: 0 / 0.6665 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.807e-06/0.6458, allocations: 4 kB / 0.6665 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01267/0.6584, allocations: 3.24 MB / 0.6696 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03088/0.6894, allocations: 18.85 MB / 0.688 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007347/0.6968, allocations: 5.278 MB / 0.6932 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006828/0.7036, allocations: 2.098 MB / 0.6952 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006476/0.7043, allocations: 403.4 kB / 0.6956 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of SimCode: time 1.072e-06/0.7043, allocations: 0 / 0.6956 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of Templates: time 0.6096/1.314, allocations: 86.67 MB / 0.7803 GB, free: 144 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","/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