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.001367/0.001347, allocations: 104.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001399/0.0014, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2427/0.2427, allocations: 46.1 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001496, allocations: 77.09 kB / 416.8 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1406, allocations: 62.44 MB / 479.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.326/0.4666, allocations: 55.49 MB / 0.5222 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03602/0.5027, allocations: 10.26 MB / 0.5323 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01541/0.5181, allocations: 244 kB / 0.5325 GB, free: 6.246 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00798/0.5262, allocations: 2.685 MB / 0.5351 GB, free: 5.426 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004972/0.5313, allocations: 0.9592 MB / 0.536 GB, free: 5.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.5326, allocations: 250.6 kB / 0.5363 GB, free: 5.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004031/0.5366, allocations: 2.537 MB / 0.5388 GB, free: 4.277 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004344/0.541, allocations: 2.492 MB / 0.5412 GB, free: 3.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001829/0.5429, allocations: 0.8836 MB / 0.5421 GB, free: 2.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006139/0.549, allocations: 3.548 MB / 0.5455 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008284/0.5499, allocations: 162.1 kB / 0.5457 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.5511, allocations: 269.3 kB / 0.5459 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002051/0.5532, allocations: 2.988 MB / 0.5489 GB, free: 15.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00397/0.5572, allocations: 3.294 MB / 0.5521 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009303/0.5665, allocations: 8.391 MB / 0.5603 GB, free: 3.969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.5665, allocations: 0 / 0.5603 GB, free: 3.969 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.5665, allocations: 0 / 0.5603 GB, free: 3.969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003799/0.5669, allocations: 0 / 0.5603 GB, free: 3.969 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.01616/0.5831, allocations: 8.777 MB / 0.5688 GB, free: 11.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.5832, allocations: 12.88 kB / 0.5688 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.5846, allocations: 0.9666 MB / 0.5698 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005432/0.5901, allocations: 3.718 MB / 0.5734 GB, free: 6.516 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.5902, allocations: 134.3 kB / 0.5735 GB, free: 6.402 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003285/0.5905, allocations: 160.7 kB / 0.5737 GB, free: 6.258 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009282/0.5998, allocations: 6.609 MB / 0.5802 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.343e-05/0.5999, allocations: 11.88 kB / 0.5802 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002001/0.6001, allocations: 75.86 kB / 0.5802 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001585/0.6017, allocations: 1.56 MB / 0.5818 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007588/0.6093, allocations: 4.133 MB / 0.5858 GB, free: 9.762 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03119/0.6405, allocations: 20.41 MB / 0.6057 GB, free: 5.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.6422, allocations: 338.2 kB / 0.6061 GB, free: 4.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.6423, allocations: 67.47 kB / 0.6061 GB, free: 4.754 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004893/0.6472, allocations: 3.249 MB / 0.6093 GB, free: 1.141 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.395e-05/0.6473, allocations: 109.8 kB / 0.6094 GB, free: 1.023 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.904e-06/0.6473, allocations: 0 / 0.6094 GB, free: 1.023 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.001265/0.6486, allocations: 0.8424 MB / 0.6102 GB, free: 168 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.449e-05/0.6487, allocations: 130.7 kB / 0.6103 GB, free: 24 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01963/0.6683, allocations: 10.55 MB / 0.6206 GB, free: 5.523 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.6684, allocations: 25.7 kB / 0.6207 GB, free: 5.492 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006136/0.6745, allocations: 5.827 MB / 0.6264 GB, free: 15.62 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.6747, allocations: 95.89 kB / 0.6264 GB, free: 15.52 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001132/0.6758, allocations: 0.8135 MB / 0.6272 GB, free: 14.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.676, allocations: 309.1 kB / 0.6275 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.6771, allocations: 0.7577 MB / 0.6283 GB, free: 13.62 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003303/0.6804, allocations: 3.999 MB / 0.6322 GB, free: 7.941 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005097/0.6855, allocations: 5.197 MB / 0.6373 GB, free: 1.09 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.295e-05/0.6856, allocations: 32 kB / 0.6373 GB, free: 1.059 MB / 478.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008748/0.6944, allocations: 4.923 MB / 0.6421 GB, free: 12.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.229e-05/0.6945, allocations: 56 kB / 0.6421 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001549/0.6947, allocations: 120.9 kB / 0.6423 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001412/0.6948, allocations: 151.9 kB / 0.6424 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00245/0.6973, allocations: 0.994 MB / 0.6434 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001757/0.6975, allocations: 223.2 kB / 0.6436 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003499/0.701, allocations: 0.5991 MB / 0.6442 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000326/0.7013, allocations: 288 kB / 0.6445 GB, free: 9.703 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.004624/0.7059, allocations: 3.405 MB / 0.6478 GB, free: 6.289 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001262/0.7072, allocations: 0.912 MB / 0.6487 GB, free: 5.359 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002669/0.7099, allocations: 1.019 MB / 0.6497 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.468e-05/0.71, allocations: 184.2 kB / 0.6498 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.046e-05/0.7101, allocations: 184.2 kB / 0.65 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.462e-05/0.7102, allocations: 188.3 kB / 0.6502 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01165/0.7218, allocations: 5.123 MB / 0.6552 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.162e-05/0.7219, allocations: 108.9 kB / 0.6553 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.95e-05/0.722, allocations: 101 kB / 0.6554 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.148e-05/0.7221, allocations: 184.2 kB / 0.6556 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-05/0.7222, allocations: 184.2 kB / 0.6557 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.378e-05/0.7222, allocations: 184.2 kB / 0.6559 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.571e-05/0.7223, allocations: 184.2 kB / 0.6561 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.7238, allocations: 1.147 MB / 0.6572 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0018/0.7256, allocations: 0.9053 MB / 0.6581 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001229/0.7269, allocations: 180.3 kB / 0.6583 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001785/0.7287, allocations: 108.9 kB / 0.6584 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.971e-05/0.7288, allocations: 180.2 kB / 0.6586 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.293e-05/0.7288, allocations: 104.9 kB / 0.6587 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.01413/0.743, allocations: 7.142 MB / 0.6656 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.81e-07/0.743, allocations: 4 kB / 0.6656 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004786/0.7478, allocations: 1.132 MB / 0.6667 GB, free: 2.66 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.0002103/0.748, allocations: 170.5 kB / 0.6669 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003379/0.7514, allocations: 1.875 MB / 0.6687 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.7514, allocations: 0 / 0.6687 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.669e-06/0.7514, allocations: 0 / 0.6687 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01292/0.7644, allocations: 3.231 MB / 0.6719 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03406/0.7985, allocations: 18.83 MB / 0.6903 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01002/0.8085, allocations: 5.278 MB / 0.6954 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00805/0.8166, allocations: 2.09 MB / 0.6975 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009499/0.8176, allocations: 411.4 kB / 0.6979 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of SimCode: time 8.12e-07/0.8176, allocations: 0 / 0.6979 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of Templates: time 0.5936/1.411, allocations: 86.8 MB / 0.7826 GB, free: 141.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","/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