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.0009701/0.00097, 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.001279/0.001279, 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.44/1.44, 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.2243/0.2243, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002534/0.0002537, allocations: 8 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.139, allocations: 63.56 MB / 483.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.3137/0.4528, allocations: 54.07 MB / 0.5246 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02905/0.4819, allocations: 10.22 MB / 0.5345 GB, free: 6.609 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01365/0.4956, allocations: 238.5 kB / 0.5348 GB, free: 6.574 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.4967, allocations: 258.7 kB / 0.535 GB, free: 6.457 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002711/0.4994, allocations: 0.9692 MB / 0.536 GB, free: 6.121 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006329/0.5001, allocations: 244.7 kB / 0.5362 GB, free: 6.039 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002918/0.503, allocations: 2.528 MB / 0.5387 GB, free: 5.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00394/0.507, allocations: 3.19 MB / 0.5418 GB, free: 4.039 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009477/0.5079, allocations: 0.6713 MB / 0.5424 GB, free: 3.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002961/0.5109, allocations: 3.281 MB / 0.5456 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001721/0.5111, allocations: 71.59 kB / 0.5457 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004243/0.5115, allocations: 171.5 kB / 0.5459 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001369/0.5129, allocations: 2.846 MB / 0.5487 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002046/0.515, allocations: 3.156 MB / 0.5517 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007175/0.5221, allocations: 8.189 MB / 0.5597 GB, free: 6.727 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.5222, allocations: 0 / 0.5597 GB, free: 6.727 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.5222, allocations: 0 / 0.5597 GB, free: 6.727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001651/0.5224, 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.009141/0.5315, allocations: 7.471 MB / 0.567 GB, free: 15.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.5316, allocations: 12.88 kB / 0.567 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009615/0.5325, allocations: 0.9666 MB / 0.568 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004129/0.5367, allocations: 3.724 MB / 0.5716 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.671e-05/0.5368, allocations: 130.6 kB / 0.5717 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002337/0.537, allocations: 166 kB / 0.5719 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007925/0.5449, allocations: 6.602 MB / 0.5784 GB, free: 3.562 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.548e-05/0.545, allocations: 11.88 kB / 0.5784 GB, free: 3.551 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.5452, allocations: 79 kB / 0.5784 GB, free: 3.488 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001772/0.5469, allocations: 1.562 MB / 0.58 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006791/0.5537, allocations: 4.13 MB / 0.584 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03308/0.5868, allocations: 20.39 MB / 0.6039 GB, free: 9.262 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002661/0.5895, allocations: 342.1 kB / 0.6042 GB, free: 8.918 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.5897, allocations: 65.69 kB / 0.6043 GB, free: 8.852 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007337/0.5971, allocations: 3.254 MB / 0.6075 GB, free: 5.238 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.583e-05/0.5972, allocations: 113.8 kB / 0.6076 GB, free: 5.117 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.315e-06/0.5972, allocations: 0 / 0.6076 GB, free: 5.117 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.001617/0.5988, allocations: 0.8346 MB / 0.6084 GB, free: 4.266 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.022e-05/0.5989, allocations: 130.6 kB / 0.6085 GB, free: 4.125 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02419/0.6231, allocations: 10.54 MB / 0.6188 GB, free: 9.629 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.6232, allocations: 25.7 kB / 0.6188 GB, free: 9.598 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.007027/0.6302, allocations: 5.83 MB / 0.6245 GB, free: 3.766 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.6304, allocations: 99.89 kB / 0.6246 GB, free: 3.668 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005442/0.631, allocations: 346.8 kB / 0.625 GB, free: 3.32 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.6311, allocations: 301.1 kB / 0.6253 GB, free: 3.023 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001574/0.6327, allocations: 0.7616 MB / 0.626 GB, free: 2.254 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004423/0.6371, allocations: 3.999 MB / 0.6299 GB, free: 12.57 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007552/0.6447, allocations: 5.201 MB / 0.635 GB, free: 5.711 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.388e-05/0.6448, allocations: 36 kB / 0.635 GB, free: 5.676 MB / 478.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01147/0.6563, allocations: 4.92 MB / 0.6398 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.691e-05/0.6564, allocations: 58.03 kB / 0.6399 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001521/0.6566, allocations: 116 kB / 0.64 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002494/0.6569, allocations: 155.9 kB / 0.6401 GB, free: 432 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003199/0.6601, allocations: 0.9863 MB / 0.6411 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002812/0.6604, allocations: 223.2 kB / 0.6413 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006248/0.6666, allocations: 0.6103 MB / 0.6419 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005346/0.6672, allocations: 287.9 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.006817/0.674, allocations: 3.409 MB / 0.6455 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00134/0.6754, allocations: 0.9044 MB / 0.6464 GB, free: 9.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/0.6771, allocations: 1.034 MB / 0.6474 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.557e-05/0.6771, allocations: 176.3 kB / 0.6476 GB, free: 8.758 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-05/0.6772, allocations: 180.2 kB / 0.6477 GB, free: 8.574 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.163e-05/0.6773, allocations: 180.2 kB / 0.6479 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006845/0.6841, allocations: 5.123 MB / 0.6529 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.638e-05/0.6842, allocations: 116.9 kB / 0.653 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.026e-05/0.6842, allocations: 105 kB / 0.6531 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-05/0.6843, allocations: 180.2 kB / 0.6533 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.957e-05/0.6844, allocations: 180.2 kB / 0.6535 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.244e-05/0.6844, allocations: 184.2 kB / 0.6536 GB, free: 2.414 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.044e-05/0.6845, allocations: 180.2 kB / 0.6538 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.6856, allocations: 1.167 MB / 0.655 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001333/0.6869, allocations: 0.8975 MB / 0.6558 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004519/0.6874, allocations: 180.2 kB / 0.656 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007567/0.6881, allocations: 112.9 kB / 0.6561 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.777e-05/0.6882, allocations: 184.2 kB / 0.6563 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-05/0.6883, allocations: 104.9 kB / 0.6564 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.01414/0.7024, allocations: 7.142 MB / 0.6634 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.7025, allocations: 0 / 0.6634 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005429/0.7079, allocations: 1.124 MB / 0.6645 GB, free: 7.277 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.0002055/0.7081, allocations: 166.5 kB / 0.6646 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003752/0.7119, allocations: 1.869 MB / 0.6664 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.7119, allocations: 1.938 kB / 0.6665 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.192e-06/0.7119, allocations: 4 kB / 0.6665 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01492/0.7268, allocations: 3.241 MB / 0.6696 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02949/0.7564, allocations: 18.86 MB / 0.688 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008385/0.7648, allocations: 5.274 MB / 0.6932 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.008279/0.7731, 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.0009153/0.7741, allocations: 403.4 kB / 0.6956 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of SimCode: time 9.81e-07/0.7741, allocations: 0 / 0.6956 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of Templates: time 0.4324/1.206, allocations: 86.66 MB / 0.7802 GB, free: 145.8 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