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.001128/0.001128, allocations: 113.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001226/0.001226, allocations: 216.5 kB / 18.74 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2292/0.2292, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 79.88 kB / 481.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3738, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01217/0.386, allocations: 10.36 MB / 0.5411 GB, free: 5.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007836/0.3939, allocations: 3.071 MB / 0.5441 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001907/0.3959, allocations: 66.72 kB / 0.5442 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004915/0.4008, allocations: 2.686 MB / 0.5468 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002957/0.4038, allocations: 1.057 MB / 0.5478 GB, free: 436 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006834/0.4045, allocations: 271.6 kB / 0.5481 GB, free: 164 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001898/0.4064, allocations: 1.513 MB / 0.5496 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00247/0.4089, allocations: 2.453 MB / 0.552 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009334/0.4098, allocations: 0.9031 MB / 0.5528 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003933/0.4138, allocations: 3.328 MB / 0.5561 GB, free: 7.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003072/0.4141, allocations: 188 kB / 0.5563 GB, free: 7.727 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000557/0.4147, allocations: 267.8 kB / 0.5565 GB, free: 7.465 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001911/0.4166, allocations: 2.977 MB / 0.5594 GB, free: 4.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002427/0.419, allocations: 3.337 MB / 0.5627 GB, free: 1.117 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009796/0.4288, allocations: 9.758 MB / 0.5722 GB, free: 7.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.4289, allocations: 3.938 kB / 0.5722 GB, free: 7.316 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4289, allocations: 0 / 0.5722 GB, free: 7.316 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002724/0.4292, allocations: 0 / 0.5722 GB, free: 7.316 MB / 430.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.0166/0.4458, allocations: 8.773 MB / 0.5808 GB, free: 14.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.066e-05/0.4459, allocations: 12.03 kB / 0.5808 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/0.4478, allocations: 0.9704 MB / 0.5817 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007255/0.4551, allocations: 3.745 MB / 0.5854 GB, free: 9.617 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.4553, allocations: 131.3 kB / 0.5855 GB, free: 9.488 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003095/0.4556, allocations: 163.9 kB / 0.5857 GB, free: 9.328 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01117/0.4668, allocations: 6.608 MB / 0.5921 GB, free: 2.539 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.242e-05/0.4669, allocations: 3.938 kB / 0.5921 GB, free: 2.535 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001916/0.4671, allocations: 75.95 kB / 0.5922 GB, free: 2.461 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001868/0.4689, allocations: 1.564 MB / 0.5937 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00876/0.4777, allocations: 4.139 MB / 0.5978 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03482/0.5126, allocations: 20.23 MB / 0.6175 GB, free: 8.246 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/0.5142, allocations: 342.1 kB / 0.6179 GB, free: 7.902 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.5144, allocations: 56.83 kB / 0.6179 GB, free: 7.844 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006119/0.5205, allocations: 3.264 MB / 0.6211 GB, free: 4.215 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.277e-05/0.5206, allocations: 109.8 kB / 0.6212 GB, free: 4.098 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 2.014e-06/0.5206, allocations: 0 / 0.6212 GB, free: 4.098 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.001909/0.5225, allocations: 0.8386 MB / 0.622 GB, free: 3.242 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.428e-05/0.5226, allocations: 130.7 kB / 0.6222 GB, free: 3.102 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01972/0.5424, allocations: 10.54 MB / 0.6325 GB, free: 8.605 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.5424, allocations: 25.7 kB / 0.6325 GB, free: 8.574 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006519/0.5489, allocations: 5.83 MB / 0.6382 GB, free: 2.703 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/0.5492, allocations: 87.91 kB / 0.6383 GB, free: 2.617 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001321/0.5506, allocations: 0.8251 MB / 0.6391 GB, free: 1.777 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.5507, allocations: 305.1 kB / 0.6394 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/0.5519, allocations: 0.7616 MB / 0.6401 GB, free: 0.707 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003199/0.5551, allocations: 4.003 MB / 0.644 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004865/0.56, allocations: 5.197 MB / 0.6491 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-05/0.56, allocations: 32 kB / 0.6491 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.007653/0.5677, allocations: 4.916 MB / 0.6539 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.385e-05/0.5678, allocations: 56 kB / 0.654 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001556/0.568, allocations: 120 kB / 0.6541 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001561/0.5681, allocations: 152 kB / 0.6542 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002398/0.5705, allocations: 0.9863 MB / 0.6552 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001692/0.5707, allocations: 227.7 kB / 0.6554 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003464/0.5742, allocations: 0.6069 MB / 0.656 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003406/0.5745, allocations: 288 kB / 0.6563 GB, free: 12.78 MB / 0.5137 GB 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.005092/0.5796, allocations: 3.409 MB / 0.6596 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001475/0.5811, allocations: 0.9121 MB / 0.6605 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002048/0.5832, allocations: 1.023 MB / 0.6615 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-05/0.5833, allocations: 176.3 kB / 0.6617 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-05/0.5833, allocations: 184.2 kB / 0.6618 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.796e-05/0.5834, allocations: 184.3 kB / 0.662 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01267/0.5961, allocations: 5.138 MB / 0.667 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.491e-05/0.5962, allocations: 105 kB / 0.6671 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.057e-05/0.5962, allocations: 104.9 kB / 0.6672 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.536e-05/0.5963, allocations: 180.3 kB / 0.6674 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-05/0.5963, allocations: 176.3 kB / 0.6676 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.462e-05/0.5964, allocations: 192.2 kB / 0.6678 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-05/0.5965, allocations: 180.3 kB / 0.6679 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.5977, allocations: 1.148 MB / 0.669 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001774/0.5995, allocations: 0.9014 MB / 0.6699 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001011/0.6005, allocations: 192.2 kB / 0.6701 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/0.6018, allocations: 105 kB / 0.6702 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.725e-05/0.6018, allocations: 184.1 kB / 0.6704 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/0.6019, allocations: 105 kB / 0.6705 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01259/0.6145, allocations: 7.142 MB / 0.6775 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.31e-07/0.6145, allocations: 0 / 0.6775 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004398/0.6189, allocations: 1.128 MB / 0.6786 GB, free: 5.723 MB / 0.5294 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.0001651/0.6191, allocations: 170.5 kB / 0.6787 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003078/0.6222, allocations: 1.875 MB / 0.6806 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.6222, allocations: 384 / 0.6806 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.615e-06/0.6222, allocations: 4 kB / 0.6806 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01307/0.6353, allocations: 3.446 MB / 0.6839 GB, free: 240 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02914/0.6644, allocations: 15.65 MB / 0.6992 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008363/0.6729, allocations: 5.277 MB / 0.7044 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.006262/0.6791, allocations: 2.098 MB / 0.7064 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008487/0.68, allocations: 403.4 kB / 0.7068 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of SimCode: time 6.82e-07/0.68, allocations: 4 kB / 0.7068 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of Templates: time 0.6445/1.325, allocations: 83.18 MB / 0.788 GB, free: 96.86 MB / 0.5607 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